#include <EcalTBH4BeamSD.h>
Public Member Functions | |
EcalTBH4BeamSD (const std::string &, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *) | |
double | getEnergyDeposit (G4Step *) override |
uint32_t | setDetUnitId (const G4Step *step) override |
void | setNumberingScheme (EcalNumberingScheme *scheme) |
~EcalTBH4BeamSD () 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 () |
Private Member Functions | |
void | getBaseNumber (const G4Step *aStep) |
Private Attributes | |
double | birk1 |
double | birk2 |
double | birk3 |
EcalNumberingScheme * | numberingScheme |
EcalBaseNumber | theBaseNumber |
bool | useBirk |
bool | useWeight |
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 20 of file EcalTBH4BeamSD.h.
EcalTBH4BeamSD::EcalTBH4BeamSD | ( | const std::string & | name, |
const DDCompactView & | cpv, | ||
const SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
const SimTrackManager * | manager | ||
) |
Definition at line 22 of file EcalTBH4BeamSD.cc.
References birk1, birk2, birk3, g, edm::ParameterSet::getParameter(), MeV, setNumberingScheme(), and useBirk.
|
override |
|
private |
Definition at line 87 of file EcalTBH4BeamSD.cc.
References EcalBaseNumber::addLevel(), EcalBaseNumber::getCapacity(), cuy::ii, LogDebug, EcalBaseNumber::reset(), EcalBaseNumber::setSize(), and theBaseNumber.
Referenced by setDetUnitId().
|
overridevirtual |
Reimplemented from CaloSD.
Definition at line 53 of file EcalTBH4BeamSD.cc.
References birk1, birk2, birk3, CaloSD::getAttenuation(), LogDebug, MeV, CaloSD::preStepPoint, useBirk, and mps_merge::weight.
|
overridevirtual |
Implements CaloSD.
Definition at line 72 of file EcalTBH4BeamSD.cc.
References getBaseNumber(), EcalNumberingScheme::getUnitID(), numberingScheme, and theBaseNumber.
void EcalTBH4BeamSD::setNumberingScheme | ( | EcalNumberingScheme * | scheme | ) |
Definition at line 77 of file EcalTBH4BeamSD.cc.
References numberingScheme.
Referenced by EcalTBH4BeamSD().
|
private |
Definition at line 37 of file EcalTBH4BeamSD.h.
Referenced by EcalTBH4BeamSD(), and getEnergyDeposit().
|
private |
Definition at line 37 of file EcalTBH4BeamSD.h.
Referenced by EcalTBH4BeamSD(), and getEnergyDeposit().
|
private |
Definition at line 37 of file EcalTBH4BeamSD.h.
Referenced by EcalTBH4BeamSD(), and getEnergyDeposit().
|
private |
Definition at line 34 of file EcalTBH4BeamSD.h.
Referenced by setDetUnitId(), setNumberingScheme(), and ~EcalTBH4BeamSD().
|
private |
Definition at line 38 of file EcalTBH4BeamSD.h.
Referenced by getBaseNumber(), and setDetUnitId().
|
private |
Definition at line 36 of file EcalTBH4BeamSD.h.
Referenced by EcalTBH4BeamSD(), and getEnergyDeposit().
|
private |
Definition at line 35 of file EcalTBH4BeamSD.h.