#include <HFWedgeSD.h>
Public Member Functions | |
void | clear () override |
void | clearHits () override |
void | DrawAll () override |
void | EndOfEvent (G4HCofThisEvent *eventHC) override |
void | fillHits (edm::PCaloHitContainer &, const std::string &) override |
HFWedgeSD (const std::string &, const SensitiveDetectorCatalog &clg, const SimTrackManager *) | |
void | Initialize (G4HCofThisEvent *HCE) override |
void | PrintAll () override |
bool | ProcessHits (G4Step *step, G4TouchableHistory *tHistory) override |
uint32_t | setDetUnitId (const G4Step *) override |
~HFWedgeSD () override | |
Public Member Functions inherited from SensitiveCaloDetector | |
virtual void | reset () |
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 | |
Protected Member Functions | |
HFShowerG4Hit * | createNewHit () |
G4bool | hitExists () |
void | updateHit (HFShowerG4Hit *) |
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 Attributes | |
HFShowerG4Hit * | currentHit |
int | currentID |
double | edep |
G4ThreeVector | globalPos |
int | hcID |
std::map< int, HFShowerG4Hit * > | hitMap |
G4ThreeVector | localPos |
G4ThreeVector | momDir |
int | previousID |
HFShowerG4HitsCollection * | theHC |
double | time |
int | trackID |
Additional Inherited Members | |
Protected Types inherited from SensitiveDetector | |
enum | coordinates { WorldCoordinates, LocalCoordinates } |
Definition at line 20 of file HFWedgeSD.h.
|
explicit |
Definition at line 23 of file HFWedgeSD.cc.
|
override |
|
override |
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 120 of file HFWedgeSD.cc.
References hitMap, and previousID.
Referenced by Initialize().
|
protected |
Definition at line 88 of file HFWedgeSD.cc.
References currentID, edep, globalPos, hitMap, localPos, momDir, previousID, HFShowerG4Hit::setGlobalPos(), HFShowerG4Hit::setHitId(), HFShowerG4Hit::setLocalPos(), HFShowerG4Hit::setPrimMomDir(), HFShowerG4Hit::setTime(), HFShowerG4Hit::setTrackId(), theHC, time, trackID, and updateHit().
Referenced by ProcessHits().
|
override |
Definition at line 68 of file HFWedgeSD.cc.
|
override |
|
overridevirtual |
|
protected |
Definition at line 72 of file HFWedgeSD.cc.
References currentHit, currentID, hitMap, ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, previousID, and updateHit().
Referenced by ProcessHits().
|
override |
Definition at line 30 of file HFWedgeSD.cc.
References clearHits(), bysipixelclustmulteventfilter_cfi::collectionName, hcID, and theHC.
|
override |
Definition at line 70 of file HFWedgeSD.cc.
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 42 of file HFWedgeSD.cc.
References createNewHit(), currentHit, currentID, edep, globalPos, hitExists(), localPos, momDir, setDetUnitId(), time, and trackID.
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 125 of file HFWedgeSD.cc.
Referenced by ProcessHits().
|
protected |
Definition at line 109 of file HFWedgeSD.cc.
References currentID, edep, previousID, and HFShowerG4Hit::updateEnergy().
Referenced by createNewHit(), and hitExists().
|
private |
Definition at line 49 of file HFWedgeSD.h.
Referenced by hitExists(), and ProcessHits().
|
private |
Definition at line 46 of file HFWedgeSD.h.
Referenced by createNewHit(), hitExists(), ProcessHits(), and updateHit().
|
private |
Definition at line 47 of file HFWedgeSD.h.
Referenced by createNewHit(), ProcessHits(), and updateHit().
|
private |
Definition at line 48 of file HFWedgeSD.h.
Referenced by createNewHit(), and ProcessHits().
|
private |
Definition at line 42 of file HFWedgeSD.h.
Referenced by Initialize().
|
private |
Definition at line 44 of file HFWedgeSD.h.
Referenced by clearHits(), createNewHit(), and hitExists().
|
private |
Definition at line 48 of file HFWedgeSD.h.
Referenced by createNewHit(), and ProcessHits().
|
private |
Definition at line 48 of file HFWedgeSD.h.
Referenced by createNewHit(), and ProcessHits().
|
private |
Definition at line 46 of file HFWedgeSD.h.
Referenced by clearHits(), createNewHit(), hitExists(), and updateHit().
|
private |
Definition at line 43 of file HFWedgeSD.h.
Referenced by createNewHit(), EndOfEvent(), Initialize(), and ~HFWedgeSD().
|
private |
Definition at line 47 of file HFWedgeSD.h.
Referenced by createNewHit(), and ProcessHits().
|
private |
Definition at line 46 of file HFWedgeSD.h.
Referenced by createNewHit(), and ProcessHits().