#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 | getLayerIDForTimeSim (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 *, 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 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 |
bool | isEB |
bool | isEE |
std::vector< G4LogicalVolume * > | noWeight |
EcalNumberingScheme * | numberingScheme |
double | slopeLY |
bool | storeLayerTimeSim |
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 38 of file ECalSD.cc.
References DDFilteredView::addFilter(), ageing, ageingWithSlopeLY, birk1, birk2, birk3, birkCut, birkSlope, crystalMat, depth1Name, depth2Name, equals, ALCARECOTkAlBeamHalo_cff::filter, DDFilteredView::firstChild(), g, getDDDArray(), edm::ParameterSet::getParameter(), getStringArray(), edm::ParameterSet::getUntrackedParameter(), initMap(), isEB, isEE, CaloSD::kmaxIon, CaloSD::kmaxNeutron, CaloSD::kmaxProton, LogDebug, DDFilteredView::mergedSpecifics(), MeV, DDSpecificsFilter::setCriteria(), EnergyResolutionVsLumi::setLumies(), setNumberingScheme(), slopeLY, storeLayerTimeSim, storeRL, storeTrack, AlCaHLTBitMon_QueryRunRegistry::string, CaloSD::suppressHeavy, useBirk, useBirkL3, and useWeight.
|
virtual |
|
private |
Definition at line 473 of file ECalSD.cc.
References xtalLMap.
Referenced by curve_LY(), getLayerIDForTimeSim(), and getRadiationLength().
|
private |
Definition at line 439 of file ECalSD.cc.
References ageing, ageingWithSlopeLY, EnergyResolutionVsLumi::calcLightCollectionEfficiencyWeighted(), crystalLength(), CaloSD::currentID, particleFlowClusterECALTimeSelected_cfi::depth, CaloSD::setToLocal(), slopeLY, CaloHitID::unitID(), and mps_merge::weight.
Referenced by getEnergyDeposit().
|
private |
Definition at line 481 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 501 of file ECalSD.cc.
References birk1, birkCut, birkSlope, ALCARECOTkAlJpsiMuMu_cff::charge, cmsBatch::log, LogDebug, and mps_merge::weight.
Referenced by getEnergyDeposit().
|
private |
Definition at line 527 of file ECalSD.cc.
References DDfetch(), DDValue::doubles(), LogDebug, harvestTrackValidationPlots::str, and relativeConstraints::value.
Referenced by ECalSD().
|
virtual |
Reimplemented from CaloSD.
Definition at line 240 of file ECalSD.cc.
References any(), getLayerIDForTimeSim(), getRadiationLength(), storeLayerTimeSim, storeRL, useDepth1, and useDepth2.
|
virtual |
Reimplemented from CaloSD.
Definition at line 152 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, and useWeight.
|
virtual |
Definition at line 268 of file ECalSD.cc.
References constexpr, crystalLength(), objects.autophobj::float, createfilelist::int, isEB, isEE, SensitiveDetector::name, NULL, truncPyr::refl(), and CaloSD::setToLocal().
Referenced by getDepth().
|
virtual |
Definition at line 249 of file ECalSD.cc.
References crystalLength(), objects.autophobj::float, NULL, CaloSD::setToLocal(), and useWeight.
Referenced by getDepth().
|
private |
Definition at line 546 of file ECalSD.cc.
References DDfetch(), LogDebug, harvestTrackValidationPlots::str, DDValue::strings(), and relativeConstraints::value.
Referenced by ECalSD().
|
virtual |
Reimplemented from CaloSD.
Definition at line 219 of file ECalSD.cc.
References any(), RemoveAddSevLevel::flag, CaloSD::forceSave, CaloSD::getTrackID(), CaloSD::preStepPoint, storeTrack, useDepth1, and useDepth2.
|
private |
Definition at line 325 of file ECalSD.cc.
References DDFilteredView::addFilter(), any(), crystalMat, ddtrap, depth1Name, depth2Name, allConversions_cfi::dz, equals, ALCARECOTkAlBeamHalo_cff::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 306 of file ECalSD.cc.
References getBaseNumber(), EcalNumberingScheme::getUnitID(), numberingScheme, and theBaseNumber.
void ECalSD::setNumberingScheme | ( | EcalNumberingScheme * | scheme | ) |
Definition at line 315 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 50 of file ECalSD.h.
Referenced by Electron.Electron::absIsoWithFSR(), ECalSD(), and getLayerIDForTimeSim().
|
private |
Definition at line 51 of file ECalSD.h.
Referenced by ECalSD(), and getLayerIDForTimeSim().
|
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 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().