#include <SimG4CMS/HcalTestBeam/interface/HcalTB02SD.h>
Public Member Functions | |
virtual double | getEnergyDeposit (G4Step *) |
HcalTB02SD (G4String, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &, const SimTrackManager *) | |
virtual uint32_t | setDetUnitId (G4Step *step) |
void | setNumberingScheme (HcalTB02NumberingScheme *scheme) |
virtual | ~HcalTB02SD () |
Public Member Functions inherited from CaloSD | |
CaloSD (G4String aSDname, const DDCompactView &cpv, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &p, const SimTrackManager *, int tSlice=1, bool ignoreTkID=false) | |
virtual void | clear () |
virtual void | DrawAll () |
virtual void | EndOfEvent (G4HCofThisEvent *eventHC) |
void | fillHits (edm::PCaloHitContainer &, std::string n) |
virtual void | Initialize (G4HCofThisEvent *HCE) |
virtual void | PrintAll () |
virtual bool | ProcessHits (G4Step *step, G4TouchableHistory *tHistory) |
virtual bool | ProcessHits (G4GFlashSpot *aSpot, G4TouchableHistory *) |
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 () |
Private Member Functions | |
double | crystalLength (G4String) |
double | curve_LY (G4String &, G4StepPoint *) |
void | initMap (G4String, const DDCompactView &) |
Private Attributes | |
double | birk1 |
double | birk2 |
double | birk3 |
std::map< G4String, double > | lengthMap |
HcalTB02NumberingScheme * | numberingScheme |
bool | useBirk |
bool | useWeight |
Additional Inherited Members | |
Public Types inherited from SensitiveDetector | |
enum | coordinates { WorldCoordinates, LocalCoordinates } |
Protected Member Functions inherited from CaloSD | |
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 inherited from CaloSD | |
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 |
Description: Stores hits of Test Beam 2002 calorimeters
Usage: Activation is done using the XML file by choosing HcalTB02SensitiveDetector
Definition at line 29 of file HcalTB02SD.h.
HcalTB02SD::HcalTB02SD | ( | G4String | name, |
const DDCompactView & | cpv, | ||
const SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
const SimTrackManager * | manager | ||
) |
Definition at line 36 of file HcalTB02SD.cc.
References birk1, birk2, birk3, g, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), initMap(), LogDebug, MeV, setNumberingScheme(), useBirk, and useWeight.
|
virtual |
|
private |
|
private |
Definition at line 154 of file HcalTB02SD.cc.
References crystalLength(), LogDebug, CaloSD::setToLocal(), and histoStyle::weight.
Referenced by getEnergyDeposit().
|
virtual |
Reimplemented from CaloSD.
Definition at line 87 of file HcalTB02SD.cc.
References birk1, birk2, birk3, curve_LY(), CaloSD::getAttenuation(), LogDebug, MeV, NULL, CaloSD::preStepPoint, useBirk, useWeight, and histoStyle::weight.
|
private |
Definition at line 120 of file HcalTB02SD.cc.
References DDFilteredView::addFilter(), ddtrap, DDSpecificsFilter::equals, alcazmumu_cfi::filter, DDFilteredView::firstChild(), i, lengthMap, LogDebug, DDFilteredView::logicalPart(), DDName::name(), SensitiveDetector::name, DDBase< N, C >::name(), DDFilteredView::next(), DDSolid::parameters(), DDSpecificsFilter::setCriteria(), DDSolid::shape(), and DDLogicalPart::solid().
Referenced by HcalTB02SD().
|
virtual |
Implements CaloSD.
Definition at line 107 of file HcalTB02SD.cc.
References HcalTB02NumberingScheme::getUnitID(), and numberingScheme.
void HcalTB02SD::setNumberingScheme | ( | HcalTB02NumberingScheme * | scheme | ) |
Definition at line 111 of file HcalTB02SD.cc.
References numberingScheme.
Referenced by HcalTB02SD().
|
private |
Definition at line 50 of file HcalTB02SD.h.
Referenced by getEnergyDeposit(), and HcalTB02SD().
|
private |
Definition at line 50 of file HcalTB02SD.h.
Referenced by getEnergyDeposit(), and HcalTB02SD().
|
private |
Definition at line 50 of file HcalTB02SD.h.
Referenced by getEnergyDeposit(), and HcalTB02SD().
|
private |
Definition at line 51 of file HcalTB02SD.h.
Referenced by crystalLength(), and initMap().
|
private |
Definition at line 47 of file HcalTB02SD.h.
Referenced by setDetUnitId(), setNumberingScheme(), and ~HcalTB02SD().
|
private |
Definition at line 49 of file HcalTB02SD.h.
Referenced by getEnergyDeposit(), and HcalTB02SD().
|
private |
Definition at line 48 of file HcalTB02SD.h.
Referenced by getEnergyDeposit(), and HcalTB02SD().