#include <CaloSD.h>
Public Member Functions | |
CaloSD (G4String aSDname, const DDCompactView &cpv, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &p, const SimTrackManager *, float timeSlice=1., bool ignoreTkID=false) | |
virtual void | clear () |
virtual void | DrawAll () |
virtual void | EndOfEvent (G4HCofThisEvent *eventHC) |
void | fillHits (edm::PCaloHitContainer &, std::string n) |
virtual double | getEnergyDeposit (G4Step *step) |
virtual void | Initialize (G4HCofThisEvent *HCE) |
virtual void | PrintAll () |
virtual bool | ProcessHits (G4Step *step, G4TouchableHistory *tHistory) |
virtual bool | ProcessHits (G4GFlashSpot *aSpot, G4TouchableHistory *) |
virtual uint32_t | setDetUnitId (G4Step *step)=0 |
virtual | ~CaloSD () |
Public Member Functions inherited from SensitiveCaloDetector | |
SensitiveCaloDetector (std::string &iname, const DDCompactView &cpv, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &p) | |
Public Member Functions inherited from SensitiveDetector | |
virtual void | AssignSD (const 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, const SensitiveDetectorCatalog &, edm::ParameterSet const &p) | |
virtual | ~SensitiveDetector () |
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 () |
Protected Member Functions | |
G4bool | checkHit () |
virtual void | clearHits () |
CaloG4Hit * | createNewHit () |
virtual bool | filterHit (CaloG4Hit *, double) |
double | getAttenuation (G4Step *aStep, double birk1, double birk2, double birk3) |
virtual uint16_t | getDepth (G4Step *) |
int | getNumberOfHits () |
double | getResponseWt (G4Track *) |
virtual G4bool | getStepInfo (G4Step *aStep) |
virtual int | getTrackID (G4Track *) |
G4bool | hitExists () |
virtual void | initRun () |
void | resetForNewPrimary (const G4ThreeVector &, double) |
G4ThreeVector | setToGlobal (const G4ThreeVector &, const G4VTouchable *) |
G4ThreeVector | setToLocal (const G4ThreeVector &, const G4VTouchable *) |
virtual void | update (const BeginOfRun *) |
This routine will be called when the appropriate signal arrives. More... | |
virtual void | update (const BeginOfEvent *) |
This routine will be called when the appropriate signal arrives. More... | |
virtual void | update (const BeginOfTrack *trk) |
This routine will be called when the appropriate signal arrives. More... | |
virtual void | update (const EndOfTrack *trk) |
This routine will be called when the appropriate signal arrives. More... | |
virtual void | update (const ::EndOfEvent *) |
void | updateHit (CaloG4Hit *) |
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... | |
Protected Attributes | |
int | checkHits |
double | correctT |
bool | corrTOFBeam |
CaloG4Hit * | currentHit |
CaloHitID | currentID |
float | edepositEM |
float | edepositHAD |
double | eminHit |
double | eminHitD |
G4int | emPDG |
double | energyCut |
G4ThreeVector | entranceLocal |
G4ThreeVector | entrancePoint |
G4int | epPDG |
bool | forceSave |
G4int | gammaPDG |
float | incidentEnergy |
double | kmaxIon |
double | kmaxNeutron |
double | kmaxProton |
const SimTrackManager * | m_trackManager |
G4ThreeVector | posGlobal |
G4StepPoint * | preStepPoint |
CaloHitID | previousID |
int | primIDSaved |
bool | runInit |
bool | suppressHeavy |
G4Track * | theTrack |
double | tmaxHit |
bool | useMap |
Private Member Functions | |
void | cleanHitCollection () |
bool | saveHit (CaloG4Hit *) |
void | storeHit (CaloG4Hit *) |
void | summarize () |
Private Attributes | |
int | cleanIndex |
int | hcID |
std::map< CaloHitID, CaloG4Hit * > | hitMap |
std::vector< CaloG4Hit * > | hitvec |
bool | ignoreTrackID |
CaloMeanResponse * | meanResponse |
int | primAncestor |
std::vector< CaloG4Hit * > | reusehit |
std::vector< unsigned int > | selIndex |
CaloSlaveSD * | slave |
CaloG4HitCollection * | theHC |
float | timeSlice |
std::map< int, TrackWithHistory * > | tkMap |
int | totalHits |
Additional Inherited Members | |
Public Types inherited from SensitiveDetector | |
enum | coordinates { WorldCoordinates, LocalCoordinates } |
CaloSD::CaloSD | ( | G4String | aSDname, |
const DDCompactView & | cpv, | ||
const SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
const SimTrackManager * | manager, | ||
float | timeSlice = 1. , |
||
bool | ignoreTkID = false |
||
) |
|
protectedvirtual |
Implements SensitiveDetector.
|
virtual |
Reimplemented from SensitiveDetector.
|
virtual |
Implements SensitiveCaloDetector.
|
protectedvirtual |
|
protected |
Definition at line 465 of file CaloSD.cc.
Referenced by EcalTBH4BeamSD::getEnergyDeposit().
|
protectedvirtual |
|
virtual |
Reimplemented in HCalSD, CastorSD, HcalTB02SD, HGCSD, ECalSD, EcalTBH4BeamSD, and HcalTB06BeamSD.
|
protected |
|
protectedvirtual |
|
protectedvirtual |
|
virtual |
Reimplemented from SensitiveDetector.
|
protectedvirtual |
|
virtual |
|
virtual |
|
protected |
|
pure virtual |
Implements SensitiveDetector.
Implemented in HCalSD, CastorSD, HcalTB02SD, ECalSD, HGCSD, EcalTBH4BeamSD, HcalTB06BeamSD, DreamSD, and ZdcSD.
|
protected |
|
protected |
|
protectedvirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfRun * >.
Definition at line 487 of file CaloSD.cc.
Referenced by Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom().
|
protectedvirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 501 of file CaloSD.cc.
Referenced by Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom().
|
protectedvirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfTrack * >.
Definition at line 665 of file CaloSD.cc.
Referenced by Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom().
|
protectedvirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const EndOfTrack * >.
Definition at line 509 of file CaloSD.cc.
Referenced by Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom().
|
protectedvirtual |
Definition at line 535 of file CaloSD.cc.
Referenced by Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom().
|
protected |
|
private |
|
protected |
Definition at line 120 of file CaloSD.h.
Referenced by EcalTBH4BeamSD::getEnergyDeposit().
|
private |
|
private |
|
private |