#include <MtdSD.h>
Public Member Functions | |
MtdSD (const std::string &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *) | |
uint32_t | setDetUnitId (const G4Step *) override |
~MtdSD () override | |
Public Member Functions inherited from TimingSD | |
void | clearHits () override |
void | EndOfEvent (G4HCofThisEvent *eventHC) override |
void | fillHits (edm::PSimHitContainer &, const std::string &) override |
void | Initialize (G4HCofThisEvent *HCE) override |
void | PrintAll () override |
bool | ProcessHits (G4Step *, G4TouchableHistory *) override |
TimingSD (const std::string &, const SensitiveDetectorCatalog &, const SimTrackManager *) | |
~TimingSD () override | |
Public Member Functions inherited from SensitiveTkDetector | |
SensitiveTkDetector (const std::string &iname, const SensitiveDetectorCatalog &clg) | |
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 BeginOfEvent *> | |
Observer () | |
void | slotForUpdate (const BeginOfEvent * iT) |
virtual | ~Observer () |
Protected Member Functions | |
int | getTrackID (const G4Track *) override |
Protected Member Functions inherited from TimingSD | |
virtual bool | checkHit (const G4Step *, BscG4Hit *) |
const G4ThreeVector & | getGlobalEntryPoint () const |
const G4ThreeVector & | getLocalEntryPoint () const |
void | setCuts (double eCut, double historyCut) |
void | setTimeFactor (double) |
void | setToLocal (const G4StepPoint *stepPoint, const G4ThreeVector &globalPoint, G4ThreeVector &localPoint) |
void | update (const BeginOfEvent *) override |
This routine will be called when the appropriate signal arrives. More... | |
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 > &) |
Private Member Functions | |
void | getBaseNumber (const G4Step *) |
void | setNumberingScheme (MTDNumberingScheme *) |
Private Attributes | |
double | energyCut |
double | energyHistoryCut |
bool | isBTL |
bool | isETL |
MTDNumberingScheme * | numberingScheme |
MTDBaseNumber | theBaseNumber |
Static Private Attributes | |
static constexpr unsigned int | k_idFromCaloOffset = 3 |
static constexpr unsigned int | k_idloopOffset = 2 |
static constexpr unsigned int | k_idsecOffset = 1 |
Additional Inherited Members | |
Protected Types inherited from SensitiveDetector | |
enum | coordinates { WorldCoordinates, LocalCoordinates } |
MtdSD::MtdSD | ( | const std::string & | name, |
const SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
const SimTrackManager * | manager | ||
) |
Definition at line 20 of file MtdSD.cc.
References energyCut, energyHistoryCut, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), isBTL, isETL, mergeVDriftHistosByStation::name, AlCaHLTBitMon_ParallelJobs::p, generator_cfi::scheme, TimingSD::setCuts(), setNumberingScheme(), and TimingSD::setTimeFactor().
|
private |
Definition at line 80 of file MtdSD.cc.
References MTDBaseNumber::addLevel(), MTDBaseNumber::getCapacity(), cuy::ii, MTDBaseNumber::reset(), MTDBaseNumber::setSize(), and theBaseNumber.
Referenced by setDetUnitId().
|
overrideprotectedvirtual |
Reimplemented from TimingSD.
Definition at line 101 of file MtdSD.cc.
References PSimHit::addTrackIdOffset(), SensitiveDetector::cmsTrackInformation(), Exception, TrackInformation::getIDonCaloSurface(), TrackInformation::isBTLlooper(), TrackInformation::isExtSecondary(), TrackInformation::isInTrkFromBackscattering(), k_idFromCaloOffset, k_idloopOffset, k_idsecOffset, TrackInformation::mcTruthID(), TrackInformation::Print(), and rname.
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 59 of file MtdSD.cc.
References getBaseNumber(), MTDNumberingScheme::getUnitID(), numberingScheme, and theBaseNumber.
|
private |
Definition at line 71 of file MtdSD.cc.
References numberingScheme, and generator_cfi::scheme.
Referenced by MtdSD().
|
private |
|
staticprivate |
Definition at line 33 of file MtdSD.h.
Referenced by getTrackID().
|
staticprivate |
Definition at line 32 of file MtdSD.h.
Referenced by getTrackID().
|
staticprivate |
Definition at line 31 of file MtdSD.h.
Referenced by getTrackID().
|
private |
Definition at line 41 of file MtdSD.h.
Referenced by setDetUnitId(), and setNumberingScheme().
|
private |
Definition at line 42 of file MtdSD.h.
Referenced by getBaseNumber(), and setDetUnitId().