#include <TrackerHitProducer.h>
Public Types | |
typedef std::vector< float > | FloatVector |
typedef std::vector< int > | IntegerVector |
Public Types inherited from edm::one::EDProducerBase | |
typedef EDProducerBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
using | ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex >> |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Private Member Functions | |
void | clear () |
void | fillG4MC (edm::Event &) |
void | fillTrk (edm::Event &, const edm::EventSetup &) |
void | storeG4MC (PTrackerSimHit &) |
void | storeTrk (PTrackerSimHit &) |
Additional Inherited Members | |
Static Public Member Functions inherited from edm::one::EDProducerBase | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::ProducerBase | |
ProducesCollector | producesCollector () |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
template<BranchType B = InEvent> | |
EDConsumerBaseAdaptor< B > | consumes (edm::InputTag tag) noexcept |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes () |
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag const &tag) |
template<Transition Tr = Transition::Event> | |
constexpr auto | esConsumes () noexcept |
template<Transition Tr = Transition::Event> | |
auto | esConsumes (ESInputTag tag) noexcept |
template<Transition Tr = Transition::Event> | |
ESGetTokenGeneric | esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey) |
Used with EventSetupRecord::doGet. More... | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
void | resetItemsToGetFrom (BranchType iType) |
Definition at line 21 of file TrackerHitProducer.h.
typedef std::vector<float> TrackerHitProducer::FloatVector |
Definition at line 23 of file TrackerHitProducer.h.
typedef std::vector<int> TrackerHitProducer::IntegerVector |
Definition at line 24 of file TrackerHitProducer.h.
|
explicit |
Definition at line 36 of file TrackerHitProducer.cc.
References fName, getAllProvenances, edm::ParameterSet::getParameter(), instance, label, printProvenanceInfo, and verbosity.
|
override |
Definition at line 121 of file TrackerHitProducer.cc.
|
overridevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 123 of file TrackerHitProducer.cc.
References clear(), and verbosity.
|
private |
Definition at line 1050 of file TrackerHitProducer.cc.
References G4TrkE, G4TrkEta, G4TrkPhi, G4TrkPt, G4VtxX, G4VtxY, G4VtxZ, HitsDuID, HitsEloss, HitsEnPx, HitsEnPy, HitsEnPz, HitsExPx, HitsExPy, HitsExPz, HitsLdPhi, HitsLdTheta, HitsLdX, HitsLdY, HitsLdZ, HitsLpX, HitsLpY, HitsLpZ, HitsP, HitsParT, HitsProT, HitsSysID, HitsTkID, HitsToF, nRawGenPart, and verbosity.
Referenced by beginJob(), and produce().
|
overridevirtual |
Reimplemented from edm::one::EDProducerBase.
Definition at line 130 of file TrackerHitProducer.cc.
References count, and verbosity.
|
private |
Definition at line 215 of file TrackerHitProducer.cc.
References edmHepMCProductToken_, edmSimTrackContainerToken_, edmSimVertexContainerToken_, G4TrkE, G4TrkEta, G4TrkPhi, G4TrkPt, G4VtxX, G4VtxY, G4VtxZ, edm::Event::getByToken(), mps_fire::i, edm::HandleBase::isValid(), log, Max(), Min(), nRawGenPart, mathSSE::sqrt(), funct::tan(), theta(), and verbosity.
Referenced by produce().
|
private |
Definition at line 348 of file TrackerHitProducer.cc.
References edmPSimHitContainer_pxlBrlHigh_Token_, edmPSimHitContainer_pxlBrlLow_Token_, edmPSimHitContainer_pxlFwdHigh_Token_, edmPSimHitContainer_pxlFwdLow_Token_, edmPSimHitContainer_siTECHigh_Token_, edmPSimHitContainer_siTECLow_Token_, edmPSimHitContainer_siTIBHigh_Token_, edmPSimHitContainer_siTIBLow_Token_, edmPSimHitContainer_siTIDHigh_Token_, edmPSimHitContainer_siTIDLow_Token_, edmPSimHitContainer_siTOBHigh_Token_, edmPSimHitContainer_siTOBLow_Token_, edm::Event::getByToken(), HitsDuID, HitsEloss, HitsEnPx, HitsEnPy, HitsEnPz, HitsExPx, HitsExPy, HitsExPz, HitsLdPhi, HitsLdTheta, HitsLdX, HitsLdY, HitsLdZ, HitsLpX, HitsLpY, HitsLpZ, HitsP, HitsParT, HitsProT, HitsSysID, HitsTkID, HitsToF, edm::HandleBase::isValid(), dqmiolumiharvest::j, and verbosity.
Referenced by produce().
|
overridevirtual |
Implements edm::one::EDProducerBase.
Definition at line 136 of file TrackerHitProducer.cc.
References clear(), count, edm::EventID::event(), fillG4MC(), fillTrk(), getAllProvenances, edm::Event::getAllStableProvenance(), mps_fire::i, edm::EventBase::id(), label, eostools::move(), nevt, printProvenanceInfo, edm::Event::put(), edm::EventID::run(), storeG4MC(), storeTrk(), and verbosity.
|
private |
Definition at line 310 of file TrackerHitProducer.cc.
References G4TrkE, G4TrkEta, G4TrkPhi, G4TrkPt, G4VtxX, G4VtxY, G4VtxZ, mps_fire::i, nRawGenPart, PTrackerSimHit::putG4Trk(), PTrackerSimHit::putG4Vtx(), PTrackerSimHit::putRawGenPart(), and verbosity.
Referenced by produce().
|
private |
Definition at line 966 of file TrackerHitProducer.cc.
References HitsDuID, HitsEloss, HitsEnPx, HitsEnPy, HitsEnPz, HitsExPx, HitsExPy, HitsExPz, HitsLdPhi, HitsLdTheta, HitsLdX, HitsLdY, HitsLdZ, HitsLpX, HitsLpY, HitsLpZ, HitsP, HitsParT, HitsProT, HitsSysID, HitsTkID, HitsToF, and PTrackerSimHit::putHits().
Referenced by produce().
|
private |
Definition at line 52 of file TrackerHitProducer.h.
|
private |
Definition at line 48 of file TrackerHitProducer.h.
|
private |
Definition at line 54 of file TrackerHitProducer.h.
Referenced by fillG4MC().
|
private |
Definition at line 57 of file TrackerHitProducer.h.
Referenced by fillTrk().
|
private |
Definition at line 57 of file TrackerHitProducer.h.
Referenced by fillTrk().
|
private |
Definition at line 58 of file TrackerHitProducer.h.
Referenced by fillTrk().
|
private |
Definition at line 58 of file TrackerHitProducer.h.
Referenced by fillTrk().
|
private |
Definition at line 62 of file TrackerHitProducer.h.
Referenced by fillTrk().
|
private |
Definition at line 62 of file TrackerHitProducer.h.
Referenced by fillTrk().
|
private |
Definition at line 59 of file TrackerHitProducer.h.
Referenced by fillTrk().
|
private |
Definition at line 59 of file TrackerHitProducer.h.
Referenced by fillTrk().
|
private |
Definition at line 61 of file TrackerHitProducer.h.
Referenced by fillTrk().
|
private |
Definition at line 61 of file TrackerHitProducer.h.
Referenced by fillTrk().
|
private |
Definition at line 60 of file TrackerHitProducer.h.
Referenced by fillTrk().
|
private |
Definition at line 60 of file TrackerHitProducer.h.
Referenced by fillTrk().
|
private |
Definition at line 56 of file TrackerHitProducer.h.
Referenced by fillG4MC().
|
private |
Definition at line 55 of file TrackerHitProducer.h.
Referenced by fillG4MC().
|
private |
Definition at line 99 of file TrackerHitProducer.h.
Referenced by TrackerHitProducer().
|
private |
Definition at line 69 of file TrackerHitProducer.h.
Referenced by clear(), fillG4MC(), and storeG4MC().
|
private |
Definition at line 70 of file TrackerHitProducer.h.
Referenced by clear(), fillG4MC(), and storeG4MC().
|
private |
Definition at line 71 of file TrackerHitProducer.h.
Referenced by clear(), fillG4MC(), and storeG4MC().
|
private |
Definition at line 68 of file TrackerHitProducer.h.
Referenced by clear(), fillG4MC(), and storeG4MC().
|
private |
Definition at line 65 of file TrackerHitProducer.h.
Referenced by clear(), fillG4MC(), and storeG4MC().
|
private |
Definition at line 66 of file TrackerHitProducer.h.
Referenced by clear(), fillG4MC(), and storeG4MC().
|
private |
Definition at line 67 of file TrackerHitProducer.h.
Referenced by clear(), fillG4MC(), and storeG4MC().
|
private |
Definition at line 43 of file TrackerHitProducer.h.
Referenced by produce(), and TrackerHitProducer().
|
private |
Definition at line 77 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 96 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 93 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 94 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 95 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 90 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 91 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 92 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 89 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 88 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 85 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 86 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 87 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 82 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 83 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 84 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 81 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 80 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 79 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 76 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 78 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 97 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 100 of file TrackerHitProducer.h.
Referenced by produce(), and TrackerHitProducer().
|
private |
Definition at line 50 of file TrackerHitProducer.h.
Referenced by clear(), fillG4MC(), and storeG4MC().
|
private |
Definition at line 44 of file TrackerHitProducer.h.
Referenced by produce(), and TrackerHitProducer().
|
private |
Definition at line 45 of file TrackerHitProducer.h.
Referenced by beginJob(), clear(), endJob(), fillG4MC(), fillTrk(), produce(), storeG4MC(), and TrackerHitProducer().