#include <HGCSD.h>
Public Member Functions | |
HGCSD (const std::string &, const HGCalDDDConstants *, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *) | |
uint32_t | setDetUnitId (const G4Step *step) override |
~HGCSD () 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) | |
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 | 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) | |
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) | |
~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 () |
Public Member Functions inherited from Observer< const BeginOfJob * > | |
Observer () | |
void | slotForUpdate (const BeginOfJob *iT) |
virtual | ~Observer () |
Protected Member Functions | |
void | endEvent () override |
bool | filterHit (CaloG4Hit *, double) override |
double | getEnergyDeposit (const G4Step *) override |
void | initEvent (const BeginOfEvent *) override |
void | initRun () override |
void | update (const BeginOfJob *) override |
This routine will be called when the appropriate signal arrives. More... | |
Protected Member Functions inherited from CaloSD | |
bool | checkHit () |
CaloG4Hit * | createNewHit (const G4Step *, const G4Track *) |
virtual double | EnergyCorrected (const G4Step &step, const G4Track *) |
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 () |
double | getResponseWt (const G4Track *) |
virtual int | getTrackID (const G4Track *) |
bool | hitExists (const G4Step *) |
void | ignoreRejection () |
void | printDetectorLevels (const G4VTouchable *) const |
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) |
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 *) |
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 | |
bool | isItinFidVolume (const G4ThreeVector &) |
uint32_t | setDetUnitId (ForwardSubdetector &, int, int, int, int, G4ThreeVector &) |
Private Attributes | |
std::vector< double > | angles_ |
double | eminHit_ |
HGCalGeometryMode::GeometryMode | geom_mode_ |
const HGCalDDDConstants * | hgcons_ |
int | levelT_ |
std::unique_ptr< HGCMouseBite > | mouseBite_ |
double | mouseBiteCut_ |
ForwardSubdetector | myFwdSubdet_ |
std::string | nameX_ |
std::unique_ptr < HGCNumberingScheme > | numberingScheme_ |
bool | rejectMB_ |
double | slopeMin_ |
bool | storeAllG4Hits_ |
std::vector< double > | t_Angle_ |
std::vector< double > | t_dEStep1_ |
std::vector< double > | t_dEStep2_ |
uint32_t | t_EventID_ |
std::vector< int > | t_Layer_ |
std::vector< int > | t_Parcode_ |
std::vector< double > | t_TrackE_ |
TTree * | tree_ |
bool | waferRot_ |
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 | |
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 |
HGCSD::HGCSD | ( | const std::string & | name, |
const HGCalDDDConstants * | hgc, | ||
const SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
const SimTrackManager * | manager | ||
) |
Definition at line 32 of file HGCSD.cc.
References angles_, CaloSD::eminHit, eminHit_, ForwardEmpty, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), HGCEE, HGCHEB, HGCHEF, mouseBite_, mouseBiteCut_, myFwdSubdet_, mergeVDriftHistosByStation::name, nameX_, numberingScheme_, rejectMB_, CaloSD::setNumberCheckedHits(), CaloSD::setUseMap(), storeAllG4Hits_, funct::tan(), and waferRot_.
|
overridedefault |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
Reimplemented from CaloSD.
Definition at line 255 of file HGCSD.cc.
References eminHit_, CaloG4Hit::getEnergyDeposit(), and CaloSD::tmaxHit.
|
overrideprotectedvirtual |
Reimplemented from CaloSD.
Definition at line 97 of file HGCSD.cc.
References funct::abs(), angle(), CaloSD::getResponseWt(), phase1PixelTopology::layer, levelT_, alignCSCRings::r, slopeMin_, t_Angle_, t_dEStep1_, t_dEStep2_, t_Layer_, t_Parcode_, t_TrackE_, and z.
|
overrideprotectedvirtual |
Reimplemented from CaloSD.
Definition at line 235 of file HGCSD.cc.
References t_Angle_, t_dEStep1_, t_dEStep2_, t_EventID_, t_Layer_, t_Parcode_, and t_TrackE_.
|
overrideprotectedvirtual |
Reimplemented from CaloSD.
Definition at line 219 of file HGCSD.cc.
References edm::Service< T >::isAvailable(), TFileService::make(), t_Angle_, t_dEStep1_, t_dEStep2_, t_EventID_, t_Layer_, t_Parcode_, t_TrackE_, compare::tfile, and tree_.
|
inlineprivate |
|
overridevirtual |
Implements CaloSD.
Definition at line 141 of file HGCSD.cc.
References TauDecayModes::dec, gpuClustering::id, phase1PixelTopology::layer, levelT_, callgraph::module, mouseBite_, myFwdSubdet_, rejectMB_, HGCalTestNumbering::unpackHexagonIndex(), and z.
|
private |
Definition at line 259 of file HGCSD.cc.
References gpuClustering::id, and numberingScheme_.
|
overrideprotectedvirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfJob * >.
Definition at line 201 of file HGCSD.cc.
References angles_, Exception, geom_mode_, HGCalDDDConstants::geomMode(), hgcons_, levelT_, HGCalDDDConstants::levelTop(), HGCalDDDConstants::minSlope(), mouseBite_, mouseBiteCut_, nameX_, numberingScheme_, rejectMB_, slopeMin_, and waferRot_.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
|
private |
Definition at line 51 of file HGCSD.h.
Referenced by filterHit(), and HGCSD().
|
private |
|
private |
|
private |
Definition at line 54 of file HGCSD.h.
Referenced by getEnergyDeposit(), setDetUnitId(), and update().
|
private |
Definition at line 50 of file HGCSD.h.
Referenced by HGCSD(), setDetUnitId(), and update().
|
private |
|
private |
Definition at line 52 of file HGCSD.h.
Referenced by HGCSD(), and setDetUnitId().
|
private |
|
private |
Definition at line 49 of file HGCSD.h.
Referenced by HGCSD(), setDetUnitId(), and update().
|
private |
Definition at line 55 of file HGCSD.h.
Referenced by HGCSD(), setDetUnitId(), and update().
|
private |
Definition at line 53 of file HGCSD.h.
Referenced by getEnergyDeposit(), and update().
|
private |
Definition at line 63 of file HGCSD.h.
Referenced by getEnergyDeposit(), initEvent(), and initRun().
|
private |
Definition at line 62 of file HGCSD.h.
Referenced by getEnergyDeposit(), initEvent(), and initRun().
|
private |
Definition at line 62 of file HGCSD.h.
Referenced by getEnergyDeposit(), initEvent(), and initRun().
|
private |
Definition at line 60 of file HGCSD.h.
Referenced by initEvent(), and initRun().
|
private |
Definition at line 61 of file HGCSD.h.
Referenced by getEnergyDeposit(), initEvent(), and initRun().
|
private |
Definition at line 61 of file HGCSD.h.
Referenced by getEnergyDeposit(), initEvent(), and initRun().
|
private |
Definition at line 62 of file HGCSD.h.
Referenced by getEnergyDeposit(), initEvent(), and initRun().
|
private |
Definition at line 59 of file HGCSD.h.
Referenced by endEvent(), and initRun().