#include <MuonDetRecHitMixer.h>
Classes | |
struct | TodoListEntry |
Public Member Functions | |
MuonDetRecHitMixer (const edm::ParameterSet &) | |
~MuonDetRecHitMixer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (const std::string &iProcessName, std::vector< const char * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Types | |
typedef std::map< uint32_t, int > | detIdToIntMap |
typedef edm::RangeMap< T1, edm::OwnVector< T2 > > | RecHitCollection |
Private Member Functions | |
void | addRecHits (std::map< T1, std::vector< T2 > > &, const RecHitCollection &, bool, const detIdToIntMap &, const detIdToIntMap &, int &) |
template<> | |
uint32_t | getRawDetId (const CSCRecHit2D &recHit) |
template<> | |
uint32_t | getRawDetId (const DTRecHit1DPair &recHit) |
template<> | |
uint32_t | getRawDetId (const RPCRecHit &recHit) |
uint32_t | getRawDetId (const T2 &) |
void | printHitMapRH (const edm::EventSetup &, const RecHitCollection &) |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
Private Attributes | |
std::string | moduleLabel_ |
edm::InputTag | srcHitMapMuMinus_ |
edm::InputTag | srcHitMapMuPlus_ |
std::vector< TodoListEntry > | todoList_ |
int | verbosity_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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) |
Merge collections of hits in muon detectors (CSC, DT and RPC) for original Zmumu event and "embedded" simulated tau decay products
Definition at line 30 of file MuonDetRecHitMixer.h.
|
private |
Definition at line 41 of file MuonDetRecHitMixer.h.
|
private |
Definition at line 39 of file MuonDetRecHitMixer.h.
|
explicit |
Definition at line 67 of file MuonDetRecHitMixer.h.
References MuonDetRecHitMixer< T1, T2 >::TodoListEntry::cleanCollection1_, MuonDetRecHitMixer< T1, T2 >::TodoListEntry::cleanCollection2_, edm::hlt::Exception, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), edm::InputTag::instance(), MuonDetRecHitMixer< T1, T2 >::TodoListEntry::srcCollection1_, MuonDetRecHitMixer< T1, T2 >::TodoListEntry::srcCollection2_, AlCaHLTBitMon_QueryRunRegistry::string, MuonDetRecHitMixer< T1, T2 >::todoList_, and MuonDetRecHitMixer< T1, T2 >::verbosity_.
MuonDetRecHitMixer< T1, T2 >::~MuonDetRecHitMixer | ( | ) |
Definition at line 104 of file MuonDetRecHitMixer.h.
|
private |
Definition at line 165 of file MuonDetRecHitMixer.h.
References edm::RangeMap< ID, C, P >::begin(), and edm::RangeMap< ID, C, P >::end().
|
private |
Definition at line 27 of file MuonDetRecHitMixer.cc.
References CSCRecHit2D::cscDetId(), and DetId::rawId().
|
private |
Definition at line 33 of file MuonDetRecHitMixer.cc.
References DTRecHit1DPair::geographicalId(), and DetId::rawId().
|
private |
Definition at line 39 of file MuonDetRecHitMixer.cc.
References DetId::rawId(), and RPCRecHit::rpcId().
|
private |
Definition at line 19 of file MuonDetRecHitMixer.cc.
References assert().
|
private |
Definition at line 188 of file MuonDetRecHitMixer.h.
References edm::RangeMap< ID, C, P >::begin(), gather_cfg::cout, edm::RangeMap< ID, C, P >::end(), and printMuonDetId().
|
privatevirtual |
Implements edm::EDProducer.
Definition at line 110 of file MuonDetRecHitMixer.h.
References gather_cfg::cout, edm::Event::getByLabel(), python.multivaluedict::map(), moduleLabel_(), edm::Event::put(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
private |
Definition at line 49 of file MuonDetRecHitMixer.h.
Referenced by Mixins._TypedParameterizable::insertInto(), Modules.ESSource::nameInProcessDesc_(), and Modules.ESProducer::nameInProcessDesc_().
|
private |
Definition at line 61 of file MuonDetRecHitMixer.h.
|
private |
Definition at line 60 of file MuonDetRecHitMixer.h.
|
private |
Definition at line 58 of file MuonDetRecHitMixer.h.
Referenced by MuonDetRecHitMixer< T1, T2 >::MuonDetRecHitMixer().
|
private |
Definition at line 63 of file MuonDetRecHitMixer.h.
Referenced by MuonDetRecHitMixer< T1, T2 >::MuonDetRecHitMixer().