#include <AHCalSD.h>
Public Member Functions | |
AHCalSD (G4String, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *) | |
double | getEnergyDeposit (G4Step *) override |
uint32_t | setDetUnitId (G4Step *step) override |
bool | unpackIndex (const uint32_t &idx, int &row, int &col, int &depth) |
~AHCalSD () override | |
Public Member Functions inherited from CaloSD | |
CaloSD (G4String aSDname, const DDCompactView &cpv, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &p, const SimTrackManager *, float timeSlice=1., bool ignoreTkID=false) | |
void | clear () override |
void | DrawAll () override |
void | EndOfEvent (G4HCofThisEvent *eventHC) override |
void | fillHits (edm::PCaloHitContainer &, std::string n) 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 (std::string &iname, const DDCompactView &cpv, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &p) | |
Public Member Functions inherited from SensitiveDetector | |
virtual void | AssignSD (const std::string &vname) |
Local3DPoint | ConvertToLocal3DPoint (const G4ThreeVector &point) |
void | EndOfEvent (G4HCofThisEvent *eventHC) override |
Local3DPoint | FinalStepPosition (G4Step *s, coordinates) |
virtual std::vector< std::string > | getNames () |
void | Initialize (G4HCofThisEvent *eventHC) override |
Local3DPoint | InitialStepPosition (G4Step *s, coordinates) |
std::string | nameOfSD () |
void | NaNTrap (G4Step *step) |
void | Register () |
SensitiveDetector (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 |
Protected Member Functions inherited from CaloSD | |
G4bool | checkHit () |
void | clearHits () override |
CaloG4Hit * | createNewHit () |
double | getAttenuation (G4Step *aStep, double birk1, double birk2, double birk3) |
virtual uint16_t | getDepth (G4Step *) |
int | getNumberOfHits () |
double | getResponseWt (G4Track *) |
virtual G4bool | getStepInfo (G4Step *aStep) |
virtual int | getTrackID (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 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 | |
Public Types inherited from SensitiveDetector | |
enum | coordinates { WorldCoordinates, LocalCoordinates } |
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 |
AHCalSD::AHCalSD | ( | G4String | 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.
|
override |
Definition at line 41 of file AHCalSD.cc.
|
overrideprotectedvirtual |
Reimplemented from CaloSD.
Definition at line 106 of file AHCalSD.cc.
References eminHit, CaloG4Hit::getEnergyDeposit(), and CaloSD::tmaxHit.
|
overridevirtual |
Reimplemented from CaloSD.
Definition at line 43 of file AHCalSD.cc.
References birk1, birk2, birk3, CaloSD::getAttenuation(), useBirk, and mps_merge::weight.
|
overridevirtual |
Implements CaloSD.
Definition at line 60 of file AHCalSD.cc.
References cuy::col, TauDecayModes::dec, particleFlowClusterECALTimeSelected_cfi::depth, RemoveAddSevLevel::flag, HcalOther, diffTreeTool::index, CaloSD::preStepPoint, DetId::rawId(), and unpackIndex().
bool AHCalSD::unpackIndex | ( | const uint32_t & | idx, |
int & | row, | ||
int & | col, | ||
int & | depth | ||
) |
Definition at line 87 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 30 of file AHCalSD.h.
Referenced by AHCalSD(), and getEnergyDeposit().
|
private |
Definition at line 30 of file AHCalSD.h.
Referenced by AHCalSD(), and getEnergyDeposit().
|
private |
Definition at line 30 of file AHCalSD.h.
Referenced by AHCalSD(), and getEnergyDeposit().
|
private |
Definition at line 31 of file AHCalSD.h.
Referenced by AHCalSD(), and filterHit().
|
private |
Definition at line 29 of file AHCalSD.h.
Referenced by AHCalSD(), and getEnergyDeposit().