#include <HITSiStripRawToClustersRoI.h>
Public Types | |
typedef edm::LazyGetter < SiStripCluster > | LazyGetter |
typedef SiStripRegionCabling::Position | Position |
typedef edm::RefGetter < SiStripCluster > | RefGetter |
typedef SiStripRegionCabling::SubDet | SubDet |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Public Member Functions | |
virtual void | beginJob () |
virtual void | endJob () |
HITSiStripRawToClustersRoI (const edm::ParameterSet &) | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
~HITSiStripRawToClustersRoI () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
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 Member Functions | |
bool | physicalLayer (SubDet &, uint32_t &) const |
void | ptracks (const trigger::TriggerFilterObjectWithRefs &, RefGetter &, edm::Handle< LazyGetter > &) const |
void | random (RefGetter &, edm::Handle< LazyGetter > &) const |
void | taujets (const l1extra::L1JetParticleCollection &, RefGetter &, edm::Handle< LazyGetter > &) const |
Private Attributes | |
std::vector< uint32_t > | allregions_ |
edm::ESHandle < SiStripRegionCabling > | cabling_ |
bool | global_ |
int | nlayers_ |
bool | ptrack_ |
double | ptrackEta_ |
double | ptrackPhi_ |
bool | random_ |
double | taujetdeta_ |
double | taujetdphi_ |
bool | taujets_ |
edm::EDGetTokenT < trigger::TriggerFilterObjectWithRefs > | tok_ptrack_ |
edm::EDGetTokenT< LazyGetter > | tok_siStrip_ |
edm::EDGetTokenT < l1extra::L1JetParticleCollection > | tok_tauL1_ |
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::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 36 of file HITSiStripRawToClustersRoI.h.
Definition at line 40 of file HITSiStripRawToClustersRoI.h.
Definition at line 42 of file HITSiStripRawToClustersRoI.h.
Definition at line 41 of file HITSiStripRawToClustersRoI.h.
Definition at line 43 of file HITSiStripRawToClustersRoI.h.
HITSiStripRawToClustersRoI::HITSiStripRawToClustersRoI | ( | const edm::ParameterSet & | conf | ) |
Definition at line 10 of file HITSiStripRawToClustersRoI.cc.
References edm::ParameterSet::getParameter(), tok_ptrack_, tok_siStrip_, and tok_tauL1_.
HITSiStripRawToClustersRoI::~HITSiStripRawToClustersRoI | ( | ) |
Definition at line 32 of file HITSiStripRawToClustersRoI.cc.
|
virtual |
Reimplemented from edm::EDProducer.
Definition at line 34 of file HITSiStripRawToClustersRoI.cc.
|
virtual |
Reimplemented from edm::EDProducer.
Definition at line 36 of file HITSiStripRawToClustersRoI.cc.
|
private |
Defines allowed physical layer numbers
Definition at line 91 of file HITSiStripRawToClustersRoI.cc.
References SiStripRegionCabling::ALLLAYERS, nlayers_, SiStripRegionCabling::TEC, SiStripRegionCabling::TIB, SiStripRegionCabling::TIBLAYERS, SiStripRegionCabling::TID, SiStripRegionCabling::TIDLAYERS, and SiStripRegionCabling::TOB.
Referenced by ptracks(), random(), and taujets().
|
virtual |
All regions
Random region number. Starts from 0.
Seeded by L1 taujets.
seeded by isol tracks
Implements edm::EDProducer.
Definition at line 38 of file HITSiStripRawToClustersRoI.cc.
References allregions_, cabling_, runEdmFileComparison::collection, SiStripRegionCabling::elementIndex(), edm::EventSetup::get(), global_, cmsHarvester::index, ptrack_, ptracks(), random(), random_, taujets(), taujets_, tok_ptrack_, tok_siStrip_, and tok_tauL1_.
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
seeding by isolated pixel tracks
Definition at line 133 of file HITSiStripRawToClustersRoI.cc.
References SiStripRegionCabling::ALLLAYERS, SiStripRegionCabling::ALLSUBDETS, cabling_, eta(), trigger::TriggerRefsCollections::getObjects(), AlCaHLTBitMon_ParallelJobs::p, phi, physicalLayer(), position, ptrackEta_, ptrackPhi_, and trigger::TriggerTrack.
Referenced by produce().
|
private |
Defines regions of interest randomly
Definition at line 101 of file HITSiStripRawToClustersRoI.cc.
References SiStripRegionCabling::ALLLAYERS, SiStripRegionCabling::ALLSUBDETS, cabling_, SiStripRegionCabling::elementIndex(), physicalLayer(), dumpFill::required, and pileupDistInMC::total.
Referenced by produce().
|
private |
Defines regions of interest by taujets
Definition at line 117 of file HITSiStripRawToClustersRoI.cc.
References SiStripRegionCabling::ALLLAYERS, SiStripRegionCabling::ALLSUBDETS, cabling_, physicalLayer(), position, taujetdeta_, and taujetdphi_.
Referenced by produce().
|
private |
Record of all region numbers
Definition at line 70 of file HITSiStripRawToClustersRoI.h.
Referenced by produce().
|
private |
|
private |
Booleans to define objects of interest
Definition at line 76 of file HITSiStripRawToClustersRoI.h.
Referenced by produce().
|
private |
Layers of SST to unpack (from innermost)
Definition at line 73 of file HITSiStripRawToClustersRoI.h.
Referenced by physicalLayer().
|
private |
Definition at line 79 of file HITSiStripRawToClustersRoI.h.
Referenced by produce().
|
private |
Definition at line 90 of file HITSiStripRawToClustersRoI.h.
Referenced by ptracks().
|
private |
Definition at line 91 of file HITSiStripRawToClustersRoI.h.
Referenced by ptracks().
|
private |
Definition at line 77 of file HITSiStripRawToClustersRoI.h.
Referenced by produce().
|
private |
deta/dphi to define regions of interest around physics objects
Definition at line 88 of file HITSiStripRawToClustersRoI.h.
Referenced by taujets().
|
private |
Definition at line 89 of file HITSiStripRawToClustersRoI.h.
Referenced by taujets().
|
private |
Definition at line 78 of file HITSiStripRawToClustersRoI.h.
Referenced by produce().
|
private |
Definition at line 84 of file HITSiStripRawToClustersRoI.h.
Referenced by HITSiStripRawToClustersRoI(), and produce().
|
private |
reco module labels to define regions of interest
Definition at line 82 of file HITSiStripRawToClustersRoI.h.
Referenced by HITSiStripRawToClustersRoI(), and produce().
|
private |
Definition at line 83 of file HITSiStripRawToClustersRoI.h.
Referenced by HITSiStripRawToClustersRoI(), and produce().