#include <HGCalTB16SD01.h>
Public Member Functions | |
double | getEnergyDeposit (G4Step *) override |
HGCalTB16SD01 (const std::string &, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *) | |
uint32_t | setDetUnitId (const G4Step *step) override |
~HGCalTB16SD01 () override | |
Public Member Functions inherited from CaloSD | |
CaloSD (const std::string &aSDname, const DDCompactView &cpv, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &p, const SimTrackManager *, float timeSlice=1., bool ignoreTkID=false) | |
void | clear () override |
void | clearHits () override |
void | DrawAll () override |
void | EndOfEvent (G4HCofThisEvent *eventHC) override |
void | fillHits (edm::PCaloHitContainer &, const std::string &) override |
void | Initialize (G4HCofThisEvent *HCE) override |
void | PrintAll () override |
bool | ProcessHits (G4Step *step, G4TouchableHistory *tHistory) override |
bool | ProcessHits (G4GFlashSpot *aSpot, G4TouchableHistory *) override |
~CaloSD () override | |
Public Member Functions inherited from SensitiveCaloDetector | |
SensitiveCaloDetector (const std::string &iname, const DDCompactView &cpv, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &p) | |
Public Member Functions inherited from SensitiveDetector | |
void | EndOfEvent (G4HCofThisEvent *eventHC) override |
const std::vector< std::string > & | getNames () const |
void | Initialize (G4HCofThisEvent *eventHC) override |
SensitiveDetector (const std::string &iname, const DDCompactView &cpv, const SensitiveDetectorCatalog &, edm::ParameterSet const &p) | |
~SensitiveDetector () override | |
Public Member Functions inherited from Observer< const BeginOfRun * > | |
Observer () | |
void | slotForUpdate (const BeginOfRun * iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const BeginOfEvent * > | |
Observer () | |
void | slotForUpdate (const BeginOfEvent * iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const BeginOfTrack * > | |
Observer () | |
void | slotForUpdate (const BeginOfTrack * iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const EndOfTrack * > | |
Observer () | |
void | slotForUpdate (const EndOfTrack * iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const EndOfEvent * > | |
Observer () | |
void | slotForUpdate (const EndOfEvent * iT) |
virtual | ~Observer () |
Static Public Member Functions | |
static uint32_t | packIndex (int det, int lay, int x, int y) |
static void | unpackIndex (const uint32_t &idx, int &det, int &lay, int &x, int &y) |
Private Member Functions | |
void | initialize (const G4StepPoint *point) |
Private Attributes | |
double | birk1_ |
double | birk2_ |
double | birk3_ |
bool | initialize_ |
std::string | matName_ |
G4Material * | matScin_ |
bool | useBirk_ |
Additional Inherited Members | |
Protected Types inherited from SensitiveDetector | |
enum | coordinates { WorldCoordinates, LocalCoordinates } |
Protected Member Functions inherited from CaloSD | |
G4bool | checkHit () |
CaloG4Hit * | createNewHit () |
virtual bool | filterHit (CaloG4Hit *, double) |
double | getAttenuation (const G4Step *aStep, double birk1, double birk2, double birk3) |
virtual uint16_t | getDepth (const G4Step *) |
int | getNumberOfHits () |
double | getResponseWt (const G4Track *) |
virtual G4bool | getStepInfo (G4Step *aStep) |
virtual int | getTrackID (const G4Track *) |
G4bool | hitExists () |
virtual void | initRun () |
void | resetForNewPrimary (const G4ThreeVector &, double) |
G4ThreeVector | setToGlobal (const G4ThreeVector &, const G4VTouchable *) |
G4ThreeVector | setToLocal (const G4ThreeVector &, const G4VTouchable *) |
void | update (const BeginOfRun *) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const BeginOfEvent *) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const BeginOfTrack *trk) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const EndOfTrack *trk) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const ::EndOfEvent *) override |
void | updateHit (CaloG4Hit *) |
Protected Member Functions inherited from SensitiveDetector | |
Local3DPoint | ConvertToLocal3DPoint (const G4ThreeVector &point) const |
Local3DPoint | FinalStepPosition (const G4Step *step, coordinates) const |
Local3DPoint | InitialStepPosition (const G4Step *step, coordinates) const |
Local3DPoint | LocalPostStepPosition (const G4Step *step) const |
Local3DPoint | LocalPreStepPosition (const G4Step *step) const |
void | NaNTrap (const G4Step *step) const |
void | setNames (const std::vector< std::string > &) |
Protected Member Functions inherited from Observer< const EndOfEvent * > | |
virtual void | update (const EndOfEvent *)=0 |
This routine will be called when the appropriate signal arrives. More... | |
Protected Attributes inherited from CaloSD | |
int | checkHits |
double | correctT |
bool | corrTOFBeam |
CaloG4Hit * | currentHit |
CaloHitID | currentID |
float | edepositEM |
float | edepositHAD |
double | eminHit |
double | eminHitD |
G4int | emPDG |
double | energyCut |
G4ThreeVector | entranceLocal |
G4ThreeVector | entrancePoint |
G4int | epPDG |
bool | forceSave |
G4int | gammaPDG |
float | incidentEnergy |
double | kmaxIon |
double | kmaxNeutron |
double | kmaxProton |
const SimTrackManager * | m_trackManager |
G4ThreeVector | posGlobal |
G4StepPoint * | preStepPoint |
CaloHitID | previousID |
int | primIDSaved |
bool | runInit |
bool | suppressHeavy |
G4Track * | theTrack |
double | tmaxHit |
bool | useMap |
Definition at line 19 of file HGCalTB16SD01.h.
HGCalTB16SD01::HGCalTB16SD01 | ( | const std::string & | name, |
const DDCompactView & | cpv, | ||
const SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
const SimTrackManager * | manager | ||
) |
Definition at line 24 of file HGCalTB16SD01.cc.
References birk1_, birk2_, birk3_, g, edm::ParameterSet::getParameter(), matName_, matScin_, MeV, AlCaHLTBitMon_QueryRunRegistry::string, and useBirk_.
|
override |
Definition at line 45 of file HGCalTB16SD01.cc.
|
overridevirtual |
Reimplemented from CaloSD.
Definition at line 47 of file HGCalTB16SD01.cc.
References birk1_, birk2_, birk3_, gather_cfg::cout, CaloSD::getAttenuation(), initialize(), initialize_, matScin_, point, and useBirk_.
|
private |
Definition at line 109 of file HGCalTB16SD01.cc.
References gather_cfg::cout, initialize_, matName_, and matScin_.
Referenced by getEnergyDeposit().
|
static |
Definition at line 78 of file HGCalTB16SD01.cc.
References gather_cfg::cout, TauDecayModes::dec, training_settings::idx, ixx, iyy, x, and y.
Referenced by setDetUnitId().
|
overridevirtual |
Implements CaloSD.
Definition at line 66 of file HGCalTB16SD01.cc.
References dataset::name, packIndex(), CaloSD::preStepPoint, x, and y.
|
static |
Definition at line 99 of file HGCalTB16SD01.cc.
References training_settings::idx, x, and y.
|
private |
Definition at line 38 of file HGCalTB16SD01.h.
Referenced by getEnergyDeposit(), and HGCalTB16SD01().
|
private |
Definition at line 38 of file HGCalTB16SD01.h.
Referenced by getEnergyDeposit(), and HGCalTB16SD01().
|
private |
Definition at line 38 of file HGCalTB16SD01.h.
Referenced by getEnergyDeposit(), and HGCalTB16SD01().
|
private |
Definition at line 39 of file HGCalTB16SD01.h.
Referenced by getEnergyDeposit(), and initialize().
|
private |
Definition at line 36 of file HGCalTB16SD01.h.
Referenced by HGCalTB16SD01(), and initialize().
|
private |
Definition at line 40 of file HGCalTB16SD01.h.
Referenced by getEnergyDeposit(), HGCalTB16SD01(), and initialize().
|
private |
Definition at line 37 of file HGCalTB16SD01.h.
Referenced by getEnergyDeposit(), and HGCalTB16SD01().