#include <AHCalSD.h>
Public Member Functions | |
AHCalSD (const std::string &, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *) | |
uint32_t | setDetUnitId (const G4Step *step) override |
bool | unpackIndex (const uint32_t &idx, int &row, int &col, int &depth) |
~AHCalSD () override=default | |
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 |
G4bool | ProcessHits (G4Step *step, G4TouchableHistory *) 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 () |
Protected Member Functions | |
bool | filterHit (CaloG4Hit *, double) override |
double | getEnergyDeposit (const G4Step *) override |
Protected Member Functions inherited from CaloSD | |
bool | checkHit () |
CaloG4Hit * | createNewHit (const G4Step *) |
double | getAttenuation (const G4Step *aStep, double birk1, double birk2, double birk3) const |
virtual uint16_t | getDepth (const G4Step *) |
virtual bool | getFromLibrary (const G4Step *step) |
int | getNumberOfHits () |
double | getResponseWt (const G4Track *) |
virtual int | getTrackID (const G4Track *) |
bool | hitExists (const G4Step *) |
virtual void | initRun () |
void | processHit (const G4Step *step) |
void | resetForNewPrimary (const G4Step *) |
void | setNumberCheckedHits (int val) |
void | setParameterized (bool val) |
G4ThreeVector | setToGlobal (const G4ThreeVector &, const G4VTouchable *) const |
G4ThreeVector | setToLocal (const G4ThreeVector &, const G4VTouchable *) const |
virtual int | setTrackID (const G4Step *) |
void | setUseMap (bool val) |
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 | |
TrackInformation * | cmsTrackInformation (const G4Track *aTrack) |
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... | |
Private Attributes | |
double | betaThr |
double | birk1 |
double | birk2 |
double | birk3 |
double | eminHit |
bool | useBirk |
Additional Inherited Members | |
Protected Types inherited from SensitiveDetector | |
enum | coordinates { WorldCoordinates, LocalCoordinates } |
Protected Attributes inherited from CaloSD | |
CaloG4Hit * | currentHit |
CaloHitID | currentID |
float | edepositEM |
float | edepositHAD |
double | eminHit |
double | energyCut |
G4ThreeVector | entranceLocal |
G4ThreeVector | entrancePoint |
bool | forceSave |
float | incidentEnergy |
double | kmaxIon |
double | kmaxNeutron |
double | kmaxProton |
G4ThreeVector | posGlobal |
CaloHitID | previousID |
bool | suppressHeavy |
double | tmaxHit |
AHCalSD::AHCalSD | ( | const std::string & | name, |
const DDCompactView & | cpv, | ||
const SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
const SimTrackManager * | manager | ||
) |
Definition at line 20 of file AHCalSD.cc.
References birk1, birk2, birk3, eminHit, g, edm::ParameterSet::getParameter(), MeV, and useBirk.
|
overridedefault |
|
overrideprotectedvirtual |
Reimplemented from CaloSD.
Definition at line 104 of file AHCalSD.cc.
References eminHit, CaloG4Hit::getEnergyDeposit(), and CaloSD::tmaxHit.
|
overrideprotectedvirtual |
Reimplemented from CaloSD.
Definition at line 41 of file AHCalSD.cc.
References birk1, birk2, birk3, CaloSD::getAttenuation(), useBirk, and mps_merge::weight.
|
overridevirtual |
Implements CaloSD.
Definition at line 58 of file AHCalSD.cc.
References cuy::col, TauDecayModes::dec, egammaForCoreTracking_cff::depth, RemoveAddSevLevel::flag, HcalOther, DetId::rawId(), and unpackIndex().
bool AHCalSD::unpackIndex | ( | const uint32_t & | idx, |
int & | row, | ||
int & | col, | ||
int & | depth | ||
) |
Definition at line 85 of file AHCalSD.cc.
References TauDecayModes::dec, AHCalDetId::depth(), DetId::det(), relval_steps::gen(), DetId::Hcal, HcalOther, AHCalDetId::icol(), AHCalDetId::irow(), and DetId::subdetId().
Referenced by setDetUnitId().
|
private |
Definition at line 29 of file AHCalSD.h.
Referenced by AHCalSD(), and getEnergyDeposit().
|
private |
Definition at line 29 of file AHCalSD.h.
Referenced by AHCalSD(), and getEnergyDeposit().
|
private |
Definition at line 29 of file AHCalSD.h.
Referenced by AHCalSD(), and getEnergyDeposit().
|
private |
Definition at line 30 of file AHCalSD.h.
Referenced by AHCalSD(), and filterHit().
|
private |
Definition at line 28 of file AHCalSD.h.
Referenced by AHCalSD(), and getEnergyDeposit().