#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 DDCompactView &cpv, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &p, 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 DDCompactView &cpv, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &p) | |
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 DDCompactView &cpv, const SensitiveDetectorCatalog &, edm::ParameterSet const &p, 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 |
const SimTrackManager * | m_trackManager |
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 18 of file HFWedgeSD.h.
|
explicit |
Definition at line 19 of file HFWedgeSD.cc.
|
override |
|
override |
|
overridevirtual |
Implements SensitiveDetector.
Definition at line 123 of file HFWedgeSD.cc.
References hitMap, and previousID.
Referenced by Initialize().
|
protected |
Definition at line 91 of file HFWedgeSD.cc.
References currentID, edep, globalPos, hitMap, localPos, LogDebug, 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 70 of file HFWedgeSD.cc.
|
override |
|
overridevirtual |
|
protected |
Definition at line 74 of file HFWedgeSD.cc.
References currentHit, currentID, hitMap, previousID, and updateHit().
Referenced by ProcessHits().
|
override |
Definition at line 31 of file HFWedgeSD.cc.
References clearHits(), ecaldqm::collectionName, hcID, LogDebug, and theHC.
|
override |
Definition at line 72 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 128 of file HFWedgeSD.cc.
Referenced by ProcessHits().
|
protected |
Definition at line 113 of file HFWedgeSD.cc.
References currentID, edep, LogDebug, MeV, previousID, and HFShowerG4Hit::updateEnergy().
Referenced by createNewHit(), and hitExists().
|
private |
Definition at line 55 of file HFWedgeSD.h.
Referenced by hitExists(), and ProcessHits().
|
private |
Definition at line 52 of file HFWedgeSD.h.
Referenced by createNewHit(), hitExists(), ProcessHits(), and updateHit().
|
private |
Definition at line 53 of file HFWedgeSD.h.
Referenced by createNewHit(), ProcessHits(), and updateHit().
|
private |
Definition at line 54 of file HFWedgeSD.h.
Referenced by createNewHit(), and ProcessHits().
|
private |
Definition at line 48 of file HFWedgeSD.h.
Referenced by Initialize().
|
private |
Definition at line 50 of file HFWedgeSD.h.
Referenced by clearHits(), createNewHit(), and hitExists().
|
private |
Definition at line 54 of file HFWedgeSD.h.
Referenced by createNewHit(), and ProcessHits().
|
private |
Definition at line 46 of file HFWedgeSD.h.
|
private |
Definition at line 54 of file HFWedgeSD.h.
Referenced by createNewHit(), and ProcessHits().
|
private |
Definition at line 52 of file HFWedgeSD.h.
Referenced by clearHits(), createNewHit(), hitExists(), and updateHit().
|
private |
Definition at line 49 of file HFWedgeSD.h.
Referenced by createNewHit(), EndOfEvent(), Initialize(), and ~HFWedgeSD().
|
private |
Definition at line 53 of file HFWedgeSD.h.
Referenced by createNewHit(), and ProcessHits().
|
private |
Definition at line 52 of file HFWedgeSD.h.
Referenced by createNewHit(), and ProcessHits().