#include <TrackerHitProducer.h>
Public Types | |
typedef std::vector< float > | FloatVector |
typedef std::vector< int > | IntegerVector |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | 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 |
Public Member Functions | |
virtual void | beginJob () |
virtual void | endJob () |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
TrackerHitProducer (const edm::ParameterSet &) | |
virtual | ~TrackerHitProducer () |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
~EDProducer () override | |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
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::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
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 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) |
Definition at line 21 of file TrackerHitProducer.h.
typedef std::vector<float> TrackerHitProducer::FloatVector |
Definition at line 26 of file TrackerHitProducer.h.
typedef std::vector<int> TrackerHitProducer::IntegerVector |
Definition at line 27 of file TrackerHitProducer.h.
|
explicit |
Definition at line 36 of file TrackerHitProducer.cc.
References fName, getAllProvenances, edm::ParameterSet::getParameter(), instance, label, printProvenanceInfo, and verbosity.
|
virtual |
Definition at line 109 of file TrackerHitProducer.cc.
|
virtual |
Reimplemented from edm::EDProducer.
Definition at line 113 of file TrackerHitProducer.cc.
References clear(), and verbosity.
|
private |
Definition at line 1081 of file TrackerHitProducer.cc.
References DEFINE_FWK_MODULE, 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().
|
virtual |
Reimplemented from edm::EDProducer.
Definition at line 122 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(), edm::HepMCProduct::GetEvent(), mps_fire::i, edm::HandleBase::isValid(), cmsBatch::log, Max(), Min(), nRawGenPart, mathSSE::sqrt(), funct::tan(), theta(), and verbosity.
Referenced by produce().
|
private |
Definition at line 362 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(), and verbosity.
Referenced by produce().
|
virtual |
Definition at line 130 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 322 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 1011 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 57 of file TrackerHitProducer.h.
|
private |
Definition at line 53 of file TrackerHitProducer.h.
|
private |
Definition at line 59 of file TrackerHitProducer.h.
Referenced by fillG4MC().
|
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 63 of file TrackerHitProducer.h.
Referenced by fillTrk().
|
private |
Definition at line 63 of file TrackerHitProducer.h.
Referenced by fillTrk().
|
private |
Definition at line 67 of file TrackerHitProducer.h.
Referenced by fillTrk().
|
private |
Definition at line 67 of file TrackerHitProducer.h.
Referenced by fillTrk().
|
private |
Definition at line 64 of file TrackerHitProducer.h.
Referenced by fillTrk().
|
private |
Definition at line 64 of file TrackerHitProducer.h.
Referenced by fillTrk().
|
private |
Definition at line 66 of file TrackerHitProducer.h.
Referenced by fillTrk().
|
private |
Definition at line 66 of file TrackerHitProducer.h.
Referenced by fillTrk().
|
private |
Definition at line 65 of file TrackerHitProducer.h.
Referenced by fillTrk().
|
private |
Definition at line 65 of file TrackerHitProducer.h.
Referenced by fillTrk().
|
private |
Definition at line 61 of file TrackerHitProducer.h.
Referenced by fillG4MC().
|
private |
Definition at line 60 of file TrackerHitProducer.h.
Referenced by fillG4MC().
|
private |
Definition at line 106 of file TrackerHitProducer.h.
Referenced by TrackerHitProducer().
|
private |
Definition at line 75 of file TrackerHitProducer.h.
Referenced by clear(), fillG4MC(), and storeG4MC().
|
private |
Definition at line 76 of file TrackerHitProducer.h.
Referenced by clear(), fillG4MC(), and storeG4MC().
|
private |
Definition at line 77 of file TrackerHitProducer.h.
Referenced by clear(), fillG4MC(), and storeG4MC().
|
private |
Definition at line 74 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 72 of file TrackerHitProducer.h.
Referenced by clear(), fillG4MC(), and storeG4MC().
|
private |
Definition at line 73 of file TrackerHitProducer.h.
Referenced by clear(), fillG4MC(), and storeG4MC().
|
private |
Definition at line 48 of file TrackerHitProducer.h.
Referenced by produce(), and TrackerHitProducer().
|
private |
Definition at line 84 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 103 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 100 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 101 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 102 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 98 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 99 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 95 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 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 89 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 88 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 86 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 85 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 104 of file TrackerHitProducer.h.
Referenced by clear(), fillTrk(), and storeTrk().
|
private |
Definition at line 107 of file TrackerHitProducer.h.
Referenced by Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::_sort_list(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::foundIn(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::fullFilename(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputEventContent(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::outputEventContent(), produce(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ToolDataAccessor::properties(), Vispa.Plugins.EdmBrowser.EdmDataAccessor.EdmDataAccessor::properties(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::readConnections(), TrackerHitProducer(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ToolDataAccessor::updateProcess(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::usedBy().
|
private |
Definition at line 55 of file TrackerHitProducer.h.
Referenced by clear(), fillG4MC(), and storeG4MC().
|
private |
Definition at line 49 of file TrackerHitProducer.h.
Referenced by produce(), and TrackerHitProducer().
|
private |
Definition at line 50 of file TrackerHitProducer.h.
Referenced by beginJob(), clear(), endJob(), fillG4MC(), fillTrk(), produce(), storeG4MC(), and TrackerHitProducer().