#include <TotemT2ScintSD.h>
Public Member Functions | |
uint32_t | setDetUnitId (const G4Step *step) override |
void | setNumberingScheme (TotemT2ScintNumberingScheme *scheme) |
TotemT2ScintSD (const std::string &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *) | |
~TotemT2ScintSD () override=default | |
Public Member Functions inherited from CaloSD | |
CaloSD (const std::string &aSDname, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &p, const SimTrackManager *, float timeSlice=1., bool ignoreTkID=false, const std::string &newcolname="") | |
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 |
bool | isItFineCalo (const G4VTouchable *touch) |
void | newCollection (const std::string &name, edm::ParameterSet const &p) |
void | PrintAll () override |
G4bool | ProcessHits (G4Step *step, G4TouchableHistory *) override |
bool | ProcessHits (G4GFlashSpot *aSpot, G4TouchableHistory *) override |
void | reset () override |
~CaloSD () override | |
Public Member Functions inherited from SensitiveCaloDetector | |
SensitiveCaloDetector (const std::string &iname, const SensitiveDetectorCatalog &clg, const std::string &newcollname="") | |
Public Member Functions inherited from SensitiveDetector | |
void | EndOfEvent (G4HCofThisEvent *eventHC) override |
const std::vector< std::string > & | getNames () const |
void | Initialize (G4HCofThisEvent *eventHC) override |
bool | isCaloSD () const |
SensitiveDetector (const std::string &iname, const SensitiveDetectorCatalog &, bool calo, const std::string &newcollname="") | |
~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 | |
double | getEnergyDeposit (const G4Step *) override |
Protected Member Functions inherited from CaloSD | |
bool | checkHit (int k=0) |
CaloG4Hit * | createNewHit (const G4Step *, const G4Track *, int k) |
virtual void | endEvent () |
virtual double | EnergyCorrected (const G4Step &step, const G4Track *) |
virtual bool | filterHit (CaloG4Hit *, double) |
unsigned int | findBoundaryCrossingParent (const G4Track *track, bool markParentAsSaveable=true) |
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 (int k=0) |
double | getResponseWt (const G4Track *, int k=0) |
virtual int | getTrackID (const G4Track *) |
bool | hitExists (const G4Step *, int k) |
void | ignoreRejection () |
virtual void | initEvent (const BeginOfEvent *) |
virtual void | initRun () |
void | printDetectorLevels (const G4VTouchable *) const |
void | processHit (const G4Step *step) |
virtual void | processSecondHit (const G4Step *, const G4Track *) |
void | resetForNewPrimary (const G4Step *) |
void | setNumberCheckedHits (int val, int k=0) |
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) |
std::string | shortreprID (const CaloHitID &ID) |
std::string | shortreprID (const CaloG4Hit *hit) |
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 *, int k) |
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 Member Functions | |
uint32_t | setDetUnitId (const int &zside, const int &lay, const int &phi) |
Private Attributes | |
double | birk1_ |
double | birk2_ |
double | birk3_ |
std::unique_ptr< TotemT2ScintNumberingScheme > | numberingScheme |
bool | useBirk_ |
Additional Inherited Members | |
Protected Types inherited from SensitiveDetector | |
enum | coordinates { WorldCoordinates, LocalCoordinates } |
Static Protected Member Functions inherited from CaloSD | |
static std::string | printableDecayChain (const std::vector< unsigned int > &decayChain) |
Protected Attributes inherited from CaloSD | |
std::string | collName_ [2] |
CaloG4Hit * | currentHit [2] |
CaloHitID | currentID [2] |
std::string | detName_ |
float | edepositEM |
float | edepositHAD |
double | eminHit |
double | energyCut |
G4ThreeVector | entranceLocal |
G4ThreeVector | entrancePoint |
bool | forceSave |
std::vector< std::string > | hcn_ |
float | incidentEnergy |
double | kmaxIon |
double | kmaxNeutron |
double | kmaxProton |
int | nHC_ |
G4ThreeVector | posGlobal |
CaloHitID | previousID [2] |
bool | suppressHeavy |
double | tmaxHit |
std::vector< int > | useResMap_ |
Definition at line 9 of file TotemT2ScintSD.h.
TotemT2ScintSD::TotemT2ScintSD | ( | const std::string & | name, |
const SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
const SimTrackManager * | manager | ||
) |
Definition at line 20 of file TotemT2ScintSD.cc.
References birk1_, birk2_, birk3_, g, edm::ParameterSet::getParameter(), Skims_PA_cff::name, AlCaHLTBitMon_ParallelJobs::p, setNumberingScheme(), and useBirk_.
|
overridedefault |
|
overrideprotectedvirtual |
Reimplemented from CaloSD.
Definition at line 66 of file TotemT2ScintSD.cc.
References birk1_, birk2_, birk3_, CaloSD::getAttenuation(), and useBirk_.
|
overridevirtual |
Implements CaloSD.
Definition at line 48 of file TotemT2ScintSD.cc.
References hcalRecHitTable_cff::iphi, and ecaldqm::zside().
|
private |
Definition at line 76 of file TotemT2ScintSD.cc.
References TauDecayModes::dec, l1ctLayer2EG_cff::id, hcalRecHitTable_cff::iphi, numberingScheme, and ecaldqm::zside().
void TotemT2ScintSD::setNumberingScheme | ( | TotemT2ScintNumberingScheme * | scheme | ) |
Definition at line 59 of file TotemT2ScintSD.cc.
References numberingScheme, and generator_cfi::scheme.
Referenced by TotemT2ScintSD().
|
private |
Definition at line 26 of file TotemT2ScintSD.h.
Referenced by getEnergyDeposit(), and TotemT2ScintSD().
|
private |
Definition at line 26 of file TotemT2ScintSD.h.
Referenced by getEnergyDeposit(), and TotemT2ScintSD().
|
private |
Definition at line 26 of file TotemT2ScintSD.h.
Referenced by getEnergyDeposit(), and TotemT2ScintSD().
|
private |
Definition at line 28 of file TotemT2ScintSD.h.
Referenced by setDetUnitId(), and setNumberingScheme().
|
private |
Definition at line 25 of file TotemT2ScintSD.h.
Referenced by getEnergyDeposit(), and TotemT2ScintSD().