#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) | |
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 | |
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 21 of file HFWedgeSD.cc.
|
override |
|
override |
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 118 of file HFWedgeSD.cc.
References hitMap, and previousID.
Referenced by Initialize().
|
protected |
Definition at line 87 of file HFWedgeSD.cc.
References currentID, edep, globalPos, hitMap, localPos, MeV, 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 67 of file HFWedgeSD.cc.
|
override |
Definition at line 60 of file HFWedgeSD.cc.
|
overridevirtual |
|
protected |
Definition at line 71 of file HFWedgeSD.cc.
References currentHit, currentID, hitMap, 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 69 of file HFWedgeSD.cc.
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 41 of file HFWedgeSD.cc.
References createNewHit(), currentHit, currentID, edep, globalPos, hitExists(), localPos, momDir, setDetUnitId(), time, and trackID.
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 123 of file HFWedgeSD.cc.
Referenced by ProcessHits().
|
protected |
Definition at line 108 of file HFWedgeSD.cc.
References currentID, edep, MeV, previousID, and HFShowerG4Hit::updateEnergy().
Referenced by createNewHit(), and hitExists().
|
private |
Definition at line 51 of file HFWedgeSD.h.
Referenced by hitExists(), and ProcessHits().
|
private |
Definition at line 48 of file HFWedgeSD.h.
Referenced by createNewHit(), hitExists(), ProcessHits(), and updateHit().
|
private |
Definition at line 49 of file HFWedgeSD.h.
Referenced by createNewHit(), ProcessHits(), and updateHit().
|
private |
Definition at line 50 of file HFWedgeSD.h.
Referenced by createNewHit(), and ProcessHits().
|
private |
Definition at line 44 of file HFWedgeSD.h.
Referenced by Initialize().
|
private |
Definition at line 46 of file HFWedgeSD.h.
Referenced by clearHits(), createNewHit(), and hitExists().
|
private |
Definition at line 50 of file HFWedgeSD.h.
Referenced by createNewHit(), and ProcessHits().
|
private |
Definition at line 50 of file HFWedgeSD.h.
Referenced by createNewHit(), and ProcessHits().
|
private |
Definition at line 48 of file HFWedgeSD.h.
Referenced by clearHits(), createNewHit(), hitExists(), and updateHit().
|
private |
Definition at line 45 of file HFWedgeSD.h.
Referenced by createNewHit(), EndOfEvent(), Initialize(), and ~HFWedgeSD().
|
private |
Definition at line 49 of file HFWedgeSD.h.
Referenced by createNewHit(), and ProcessHits().
|
private |
Definition at line 48 of file HFWedgeSD.h.
Referenced by createNewHit(), and ProcessHits().