12 #include <boost/array.hpp>
13 #include <Geant4/G4ThreeVector.hh>
26 SQDigitizer(
const std::string& name =
"SQDigitizer",
const int verbose = 0);
49 void registerEMCal(std::string ecalName,
int ecalID = 100) { detIDByName[ecalName] = ecalID; }
65 std::map<std::string, PHG4HitContainer*> hitContainerByName;
68 std::map<std::string, int> detIDByName;
73 bool digitize_secondaries;
User interface class about the geometry of detector planes.
int getTriggerLv(int detectorID)
int getTriggerLv(int detectorID)
Get the trigger level by detectorID.
int Init(PHCompositeNode *topNode)
int InitRun(PHCompositeNode *topNode)
module initialization
void set_enable_dphodo(const bool en)
SQDigitizer(const std::string &name="SQDigitizer", const int verbose=0)
void digitizePlane(const std::string &detName)
main external call, fill the digi hit vector
int process_event(PHCompositeNode *topNode)
event processing
void digitizeEMCal(const std::string &detName)
digitize the emcal hits
void set_enable_st1dc(const bool en)
enable/disable certain detectors
void registerEMCal(std::string ecalName, int ecalID=100)
Register additional EMCal detector for digitizing.
void set_digitize_secondaries(const bool val)
An SQ interface class to hold a list of SQHit objects.
An SQ interface class to hold one detector hit.