#include <ECalSD.h>
Public Member Functions | |
ECalSD (G4String, const DDCompactView &, const SensitiveDetectorCatalog &, edm::ParameterSet const &p, const SimTrackManager *) | |
virtual uint16_t | getDepth (G4Step *) |
virtual double | getEnergyDeposit (G4Step *) |
virtual uint16_t | getRadiationLength (G4Step *) |
virtual int | getTrackID (G4Track *) |
virtual uint32_t | setDetUnitId (G4Step *) |
void | setNumberingScheme (EcalNumberingScheme *) |
virtual | ~ECalSD () |
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 (G4LogicalVolume *) |
double | curve_LY (G4Step *) |
void | getBaseNumber (const G4Step *) |
double | getBirkL3 (G4Step *) |
std::vector< double > | getDDDArray (const std::string &, const DDsvalues_type &) |
std::vector< std::string > | getStringArray (const std::string &, const DDsvalues_type &) |
void | initMap (G4String, const DDCompactView &) |
Private Attributes | |
EnergyResolutionVsLumi | ageing |
bool | ageingWithSlopeLY |
double | birk1 |
double | birk2 |
double | birk3 |
double | birkCut |
double | birkSlope |
std::string | crystalMat |
std::string | depth1Name |
std::string | depth2Name |
std::vector< G4LogicalVolume * > | noWeight |
EcalNumberingScheme * | numberingScheme |
double | slopeLY |
bool | storeRL |
bool | storeTrack |
EcalBaseNumber | theBaseNumber |
bool | useBirk |
bool | useBirkL3 |
std::vector< G4LogicalVolume * > | useDepth1 |
std::vector< G4LogicalVolume * > | useDepth2 |
bool | useWeight |
std::map< G4LogicalVolume *, double > | xtalLMap |
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) |
int | getNumberOfHits () |
double | getResponseWt (G4Track *) |
virtual G4bool | getStepInfo (G4Step *aStep) |
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 |
ECalSD::ECalSD | ( | G4String | name, |
const DDCompactView & | cpv, | ||
const SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
const SimTrackManager * | manager | ||
) |
Definition at line 39 of file ECalSD.cc.
References DDFilteredView::addFilter(), ageing, ageingWithSlopeLY, birk1, birk2, birk3, birkCut, birkSlope, crystalMat, depth1Name, depth2Name, DDSpecificsFilter::equals, alcazmumu_cfi::filter, DDFilteredView::firstChild(), g, getDDDArray(), edm::ParameterSet::getParameter(), getStringArray(), edm::ParameterSet::getUntrackedParameter(), initMap(), CaloSD::kmaxIon, CaloSD::kmaxNeutron, CaloSD::kmaxProton, LogDebug, DDFilteredView::mergedSpecifics(), MeV, DDSpecificsFilter::setCriteria(), EnergyResolutionVsLumi::setLumies(), setNumberingScheme(), slopeLY, storeRL, storeTrack, AlCaHLTBitMon_QueryRunRegistry::string, CaloSD::suppressHeavy, useBirk, useBirkL3, and useWeight.
|
virtual |
|
private |
Definition at line 431 of file ECalSD.cc.
References xtalLMap.
Referenced by curve_LY(), and getRadiationLength().
|
private |
Definition at line 390 of file ECalSD.cc.
References ageing, ageingWithSlopeLY, EnergyResolutionVsLumi::calcLightCollectionEfficiencyWeighted(), crystalLength(), CaloSD::currentID, HLT_25ns14e33_v1_cff::depth, LogDebug, CaloSD::setToLocal(), slopeLY, CaloHitID::unitID(), and histoStyle::weight.
Referenced by getEnergyDeposit().
|
private |
Definition at line 439 of file ECalSD.cc.
References EcalBaseNumber::addLevel(), EcalBaseNumber::getCapacity(), cuy::ii, LogDebug, EcalBaseNumber::reset(), EcalBaseNumber::setSize(), and theBaseNumber.
Referenced by setDetUnitId().
|
private |
Definition at line 459 of file ECalSD.cc.
References birk1, birkCut, birkSlope, cmsBatch::log, LogDebug, and histoStyle::weight.
Referenced by getEnergyDeposit().
|
private |
Definition at line 485 of file ECalSD.cc.
References DDfetch(), DDValue::doubles(), LogDebug, and relativeConstraints::value.
Referenced by ECalSD().
|
virtual |
Reimplemented from CaloSD.
Definition at line 226 of file ECalSD.cc.
References any(), getRadiationLength(), LogDebug, run_regression::ret, storeRL, useDepth1, and useDepth2.
|
virtual |
Reimplemented from CaloSD.
Definition at line 138 of file ECalSD.cc.
References any(), birk1, birk2, birk3, curve_LY(), CaloSD::getAttenuation(), getBirkL3(), CaloSD::getResponseWt(), TrackInformation::isPrimary(), ke, CaloSD::kmaxIon, CaloSD::kmaxNeutron, CaloSD::kmaxProton, LogDebug, MeV, noWeight, NULL, CaloSD::preStepPoint, CaloSD::suppressHeavy, CaloSD::theTrack, useBirk, useBirkL3, useWeight, and histoStyle::weight.
|
virtual |
Definition at line 238 of file ECalSD.cc.
References crystalLength(), NULL, CaloSD::setToLocal(), and useWeight.
Referenced by getDepth().
|
private |
Definition at line 504 of file ECalSD.cc.
References DDfetch(), LogDebug, DDValue::strings(), and relativeConstraints::value.
Referenced by ECalSD().
|
virtual |
Reimplemented from CaloSD.
Definition at line 205 of file ECalSD.cc.
References any(), archive::flag, CaloSD::forceSave, CaloSD::getTrackID(), CaloSD::preStepPoint, storeTrack, useDepth1, and useDepth2.
|
private |
Definition at line 276 of file ECalSD.cc.
References DDFilteredView::addFilter(), any(), crystalMat, ddtrap, depth1Name, depth2Name, DDSpecificsFilter::equals, alcazmumu_cfi::filter, DDFilteredView::firstChild(), i, LogDebug, DDFilteredView::logicalPart(), DDLogicalPart::material(), DDName::name(), SensitiveDetector::name, DDBase< N, C >::name(), DDFilteredView::next(), noWeight, DDSolid::parameters(), DDSpecificsFilter::setCriteria(), DDSolid::shape(), DDLogicalPart::solid(), AlCaHLTBitMon_QueryRunRegistry::string, useDepth1, useDepth2, and xtalLMap.
Referenced by ECalSD().
|
virtual |
Implements CaloSD.
Definition at line 257 of file ECalSD.cc.
References getBaseNumber(), EcalNumberingScheme::getUnitID(), numberingScheme, and theBaseNumber.
void ECalSD::setNumberingScheme | ( | EcalNumberingScheme * | scheme | ) |
Definition at line 266 of file ECalSD.cc.
References numberingScheme.
Referenced by ECalSD(), and HcalTB04Analysis::update().
|
private |
Definition at line 61 of file ECalSD.h.
Referenced by curve_LY(), and ECalSD().
|
private |
Definition at line 62 of file ECalSD.h.
Referenced by curve_LY(), and ECalSD().
|
private |
Definition at line 55 of file ECalSD.h.
Referenced by ECalSD(), getBirkL3(), and getEnergyDeposit().
|
private |
Definition at line 55 of file ECalSD.h.
Referenced by ECalSD(), and getEnergyDeposit().
|
private |
Definition at line 55 of file ECalSD.h.
Referenced by ECalSD(), and getEnergyDeposit().
|
private |
Definition at line 55 of file ECalSD.h.
Referenced by ECalSD(), and getBirkL3().
|
private |
Definition at line 55 of file ECalSD.h.
Referenced by ECalSD(), and getBirkL3().
|
private |
|
private |
|
private |
|
private |
Definition at line 59 of file ECalSD.h.
Referenced by getEnergyDeposit(), and initMap().
|
private |
Definition at line 52 of file ECalSD.h.
Referenced by setDetUnitId(), setNumberingScheme(), and ~ECalSD().
|
private |
Definition at line 56 of file ECalSD.h.
Referenced by curve_LY(), and ECalSD().
|
private |
Definition at line 53 of file ECalSD.h.
Referenced by ECalSD(), and getDepth().
|
private |
Definition at line 53 of file ECalSD.h.
Referenced by ECalSD(), and getTrackID().
|
private |
Definition at line 60 of file ECalSD.h.
Referenced by getBaseNumber(), and setDetUnitId().
|
private |
Definition at line 54 of file ECalSD.h.
Referenced by ECalSD(), and getEnergyDeposit().
|
private |
Definition at line 54 of file ECalSD.h.
Referenced by ECalSD(), and getEnergyDeposit().
|
private |
Definition at line 59 of file ECalSD.h.
Referenced by getDepth(), getTrackID(), and initMap().
|
private |
Definition at line 59 of file ECalSD.h.
Referenced by getDepth(), getTrackID(), and initMap().
|
private |
Definition at line 53 of file ECalSD.h.
Referenced by ECalSD(), getEnergyDeposit(), and getRadiationLength().
|
private |
Definition at line 58 of file ECalSD.h.
Referenced by crystalLength(), and initMap().