#include <CaloTrkProcessing.h>
Classes | |
struct | Detector |
Public Member Functions | |
CaloTrkProcessing (const std::string &aSDname, const edm::EventSetup &es, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &p, const SimTrackManager *) | |
void | clearHits () override |
void | EndOfEvent (G4HCofThisEvent *) override |
void | fillHits (edm::PCaloHitContainer &, const std::string &) override |
void | Initialize (G4HCofThisEvent *) override |
bool | ProcessHits (G4Step *, G4TouchableHistory *) override |
uint32_t | setDetUnitId (const G4Step *step) override |
~CaloTrkProcessing () override | |
Public Member Functions inherited from SensitiveCaloDetector | |
virtual void | reset () |
SensitiveCaloDetector (const std::string &iname, const edm::EventSetup &es, const SensitiveDetectorCatalog &clg, edm::ParameterSet const &p) | |
Public Member Functions inherited from SensitiveDetector | |
void | EndOfEvent (G4HCofThisEvent *eventHC) override |
const std::vector< std::string > & | getNames () const |
void | Initialize (G4HCofThisEvent *eventHC) override |
bool | isCaloSD () const |
SensitiveDetector (const std::string &iname, const edm::EventSetup &es, const SensitiveDetectorCatalog &, edm::ParameterSet const &p, bool calo) | |
~SensitiveDetector () override | |
Public Member Functions inherited from Observer< const BeginOfEvent * > | |
Observer () | |
void | slotForUpdate (const BeginOfEvent * iT) |
virtual | ~Observer () |
Public Member Functions inherited from Observer< const G4Step * > | |
Observer () | |
void | slotForUpdate (const G4Step * iT) |
virtual | ~Observer () |
Private Member Functions | |
void | detectorLevel (const G4VTouchable *, int &, int *, G4String *) const |
int | detLevels (const G4VTouchable *) const |
G4LogicalVolume * | detLV (const G4VTouchable *, int) const |
int | isItCalo (const G4VTouchable *, const std::vector< Detector > &) |
int | isItInside (const G4VTouchable *, int, int) |
void | update (const BeginOfEvent *evt) override |
This routine will be called when the appropriate signal arrives. More... | |
void | update (const G4Step *) override |
This routine will be called when the appropriate signal arrives. More... | |
Private Attributes | |
std::vector< Detector > | detectors_ |
bool | doFineCalo_ |
double | eMin_ |
double | eMinFine_ |
double | eMinFinePhoton_ |
std::vector< Detector > | fineDetectors_ |
int | lastTrackID_ |
bool | putHistory_ |
bool | testBeam_ |
Additional Inherited Members | |
Protected Types inherited from SensitiveDetector | |
enum | coordinates { WorldCoordinates, LocalCoordinates } |
Protected Member Functions inherited from SensitiveDetector | |
TrackInformation * | cmsTrackInformation (const G4Track *aTrack) |
Local3DPoint | ConvertToLocal3DPoint (const G4ThreeVector &point) const |
Local3DPoint | FinalStepPosition (const G4Step *step, coordinates) const |
Local3DPoint | InitialStepPosition (const G4Step *step, coordinates) const |
Local3DPoint | LocalPostStepPosition (const G4Step *step) const |
Local3DPoint | LocalPreStepPosition (const G4Step *step) const |
void | NaNTrap (const G4Step *step) const |
void | setNames (const std::vector< std::string > &) |
Definition at line 22 of file CaloTrkProcessing.h.
CaloTrkProcessing::CaloTrkProcessing | ( | const std::string & | aSDname, |
const edm::EventSetup & | es, | ||
const SensitiveDetectorCatalog & | clg, | ||
edm::ParameterSet const & | p, | ||
const SimTrackManager * | |||
) |
Definition at line 25 of file CaloTrkProcessing.cc.
References CaloSimulationParameters::caloNames_, hgcalTestNeighbor_cfi::detector, detectors_, doFineCalo_, eMin_, eMinFine_, eMinFinePhoton_, Exception, CaloSimulationParameters::fCaloNames_, fineDetectors_, CaloSimulationParameters::fLevels_, edm::EventSetup::get(), get, edm::ParameterSet::getParameter(), mps_fire::i, CaloSimulationParameters::insideLevel_, CaloSimulationParameters::insideNames_, edm::ESHandleBase::isValid(), dqmdumpme::k, CaloSimulationParameters::levels_, MeV, Skims_PA_cff::name, CaloSimulationParameters::neighbours_, AlCaHLTBitMon_ParallelJobs::p, edm::ESHandle< T >::product(), putHistory_, and testBeam_.
|
override |
Definition at line 172 of file CaloTrkProcessing.cc.
|
inlineoverridevirtual |
|
private |
Definition at line 375 of file CaloTrkProcessing.cc.
References mps_fire::i, cuy::ii, personalPlayback::level, Skims_PA_cff::name, MetAnalyzer::pv(), AlCaHLTBitMon_QueryRunRegistry::string, and susybsm::HSCParticleType::unknown.
Referenced by isItCalo(), and isItInside().
|
private |
|
private |
Definition at line 362 of file CaloTrkProcessing.cc.
References cuy::ii, and personalPlayback::level.
Referenced by isItCalo(), and isItInside().
|
inlineoverride |
Definition at line 36 of file CaloTrkProcessing.h.
|
inlineoverridevirtual |
|
inlineoverride |
Definition at line 32 of file CaloTrkProcessing.h.
|
private |
Definition at line 264 of file CaloTrkProcessing.cc.
References detectorLevel(), MuonGeometrySanityCheck_cfi::detectors(), detLevels(), detLV(), testProducerWithPsetDescEmpty_cfi::i2, personalPlayback::level, jets_cff::levels, hfnoseParametersInitialization_cfi::name2, convertSQLiteXML::ok, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by update().
|
private |
Definition at line 293 of file CaloTrkProcessing.cc.
References detectorLevel(), detectors_, detLevels(), detLV(), testProducerWithPsetDescEmpty_cfi::i2, globals_cff::id1, globals_cff::id2, jets_cff::levels, hfnoseParametersInitialization_cfi::name2, convertSQLiteXML::ok, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by update().
|
inlineoverridevirtual |
Implements SensitiveDetector.
Definition at line 34 of file CaloTrkProcessing.h.
|
inlineoverridevirtual |
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const BeginOfEvent * >.
Definition at line 174 of file CaloTrkProcessing.cc.
References lastTrackID_.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
overrideprivatevirtual |
This routine will be called when the appropriate signal arrives.
Implements Observer< const G4Step * >.
Definition at line 176 of file CaloTrkProcessing.cc.
References TrackInformation::caloIDChecked(), TkAlMuonSelectors_cfi::cut, detectors_, doFineCalo_, eMin_, eMinFine_, eMinFinePhoton_, Exception, fineDetectors_, TrackInformation::getIDCaloVolume(), TrackInformation::getIDLastVolume(), TrackInformation::getIDonCaloSurface(), triggerObjects_cff::id, TrackInformation::isInHistory(), isItCalo(), isItInside(), lastTrackID_, MeV, putHistory_, TrackInformation::putInHistory(), TrackInformation::setCaloIDChecked(), TrackInformation::setIDfineCalo(), TrackInformation::setIDonCaloSurface(), and testBeam_.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 63 of file CaloTrkProcessing.h.
Referenced by CaloTrkProcessing(), isItInside(), and update().
|
private |
Definition at line 60 of file CaloTrkProcessing.h.
Referenced by CaloTrkProcessing(), and update().
|
private |
Definition at line 61 of file CaloTrkProcessing.h.
Referenced by CaloTrkProcessing(), and update().
|
private |
Definition at line 61 of file CaloTrkProcessing.h.
Referenced by CaloTrkProcessing(), and update().
|
private |
Definition at line 61 of file CaloTrkProcessing.h.
Referenced by CaloTrkProcessing(), and update().
|
private |
Definition at line 63 of file CaloTrkProcessing.h.
Referenced by CaloTrkProcessing(), and update().
|
private |
Definition at line 62 of file CaloTrkProcessing.h.
Referenced by update().
|
private |
Definition at line 60 of file CaloTrkProcessing.h.
Referenced by CaloTrkProcessing(), and update().
|
private |
Definition at line 60 of file CaloTrkProcessing.h.
Referenced by CaloTrkProcessing(), and update().