#include <HFWedgeSD.h>
Public Member Functions | |
virtual void | clear () |
virtual void | DrawAll () |
virtual void | EndOfEvent (G4HCofThisEvent *eventHC) |
HFWedgeSD (std::string name, const DDCompactView &cpv, SensitiveDetectorCatalog &clg, edm::ParameterSet const &p, const SimTrackManager *) | |
virtual void | Initialize (G4HCofThisEvent *HCE) |
virtual void | PrintAll () |
virtual bool | ProcessHits (G4Step *step, G4TouchableHistory *tHistory) |
virtual | ~HFWedgeSD () |
Public Member Functions inherited from SensitiveCaloDetector | |
SensitiveCaloDetector (std::string &iname, const DDCompactView &cpv, SensitiveDetectorCatalog &clg, edm::ParameterSet const &p) | |
Public Member Functions inherited from SensitiveDetector | |
virtual void | AssignSD (std::string &vname) |
Local3DPoint | ConvertToLocal3DPoint (const G4ThreeVector &point) |
Local3DPoint | FinalStepPosition (G4Step *s, coordinates) |
virtual std::vector< std::string > | getNames () |
Local3DPoint | InitialStepPosition (G4Step *s, coordinates) |
std::string | nameOfSD () |
void | NaNTrap (G4Step *step) |
void | Register () |
SensitiveDetector (std::string &iname, const DDCompactView &cpv, SensitiveDetectorCatalog &, edm::ParameterSet const &p) | |
virtual | ~SensitiveDetector () |
Protected Member Functions | |
virtual void | clearHits () |
HFShowerG4Hit * | createNewHit () |
virtual void | fillHits (edm::PCaloHitContainer &, std::string) |
G4bool | hitExists () |
virtual uint32_t | setDetUnitId (G4Step *) |
void | updateHit (HFShowerG4Hit *) |
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 |
std::string | theName |
double | time |
int | trackID |
Additional Inherited Members | |
Public Types inherited from SensitiveDetector | |
enum | coordinates { WorldCoordinates, LocalCoordinates } |
Definition at line 22 of file HFWedgeSD.h.
HFWedgeSD::HFWedgeSD | ( | std::string | name, |
const DDCompactView & | cpv, | ||
SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
const SimTrackManager * | manager | ||
) |
Definition at line 19 of file HFWedgeSD.cc.
References SensitiveDetector::AssignSD(), ecaldqm::collectionName, LogDebug, SensitiveDetectorCatalog::logicalNames(), and SensitiveDetector::Register().
|
virtual |
|
virtual |
|
protectedvirtual |
Implements SensitiveDetector.
Definition at line 143 of file HFWedgeSD.cc.
References hitMap, and previousID.
Referenced by Initialize().
|
protected |
Definition at line 111 of file HFWedgeSD.cc.
References currentID, edep, globalPos, hitMap, localPos, LogDebug, momDir, previousID, HFShowerG4Hit::setGlobalPos(), HFShowerG4Hit::setHitId(), HFShowerG4Hit::setLocalPos(), HFShowerG4Hit::setPrimMomDir(), HFShowerG4Hit::setTime(), HFShowerG4Hit::setTrackId(), theHC, time, trackID, and updateHit().
Referenced by ProcessHits().
|
virtual |
Definition at line 90 of file HFWedgeSD.cc.
|
virtual |
Reimplemented from SensitiveDetector.
Definition at line 82 of file HFWedgeSD.cc.
References clear(), LogDebug, and theHC.
|
protectedvirtual |
|
protected |
Definition at line 94 of file HFWedgeSD.cc.
References currentHit, currentID, hitMap, previousID, and updateHit().
Referenced by ProcessHits().
|
virtual |
Reimplemented from SensitiveDetector.
Definition at line 51 of file HFWedgeSD.cc.
References clearHits(), ecaldqm::collectionName, hcID, LogDebug, and theHC.
|
virtual |
Definition at line 92 of file HFWedgeSD.cc.
|
virtual |
Implements SensitiveDetector.
Definition at line 62 of file HFWedgeSD.cc.
References createNewHit(), currentHit, currentID, edep, globalPos, hitExists(), localPos, momDir, setDetUnitId(), time, and trackID.
|
protectedvirtual |
Implements SensitiveDetector.
Definition at line 148 of file HFWedgeSD.cc.
Referenced by ProcessHits().
|
protected |
Definition at line 133 of file HFWedgeSD.cc.
References currentID, edep, LogDebug, previousID, and HFShowerG4Hit::updateEnergy().
Referenced by createNewHit(), and hitExists().
|
private |
Definition at line 61 of file HFWedgeSD.h.
Referenced by hitExists(), and ProcessHits().
|
private |
Definition at line 58 of file HFWedgeSD.h.
Referenced by createNewHit(), hitExists(), ProcessHits(), and updateHit().
|
private |
Definition at line 59 of file HFWedgeSD.h.
Referenced by createNewHit(), ProcessHits(), and updateHit().
|
private |
Definition at line 60 of file HFWedgeSD.h.
Referenced by createNewHit(), and ProcessHits().
|
private |
Definition at line 54 of file HFWedgeSD.h.
Referenced by Initialize().
|
private |
Definition at line 56 of file HFWedgeSD.h.
Referenced by clearHits(), createNewHit(), and hitExists().
|
private |
Definition at line 60 of file HFWedgeSD.h.
Referenced by createNewHit(), and ProcessHits().
|
private |
Definition at line 52 of file HFWedgeSD.h.
|
private |
Definition at line 60 of file HFWedgeSD.h.
Referenced by createNewHit(), and ProcessHits().
|
private |
Definition at line 58 of file HFWedgeSD.h.
Referenced by clearHits(), createNewHit(), hitExists(), and updateHit().
|
private |
Definition at line 55 of file HFWedgeSD.h.
Referenced by createNewHit(), EndOfEvent(), Initialize(), and ~HFWedgeSD().
|
private |
Definition at line 51 of file HFWedgeSD.h.
|
private |
Definition at line 59 of file HFWedgeSD.h.
Referenced by createNewHit(), and ProcessHits().
|
private |
Definition at line 58 of file HFWedgeSD.h.
Referenced by createNewHit(), and ProcessHits().