#include <SiStripRawToClustersRoI.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 |
Private Member Functions | |
void | bjets (const reco::CaloJetCollection &, RefGetter &, edm::Handle< LazyGetter > &) const |
void | electrons (const reco::SuperClusterCollection &, RefGetter &, edm::Handle< LazyGetter > &) const |
void | muons (const reco::TrackCollection &, RefGetter &, edm::Handle< LazyGetter > &) const |
bool | physicalLayer (SubDet &, uint32_t &) const |
void | random (RefGetter &, edm::Handle< LazyGetter > &) const |
void | taujets (const reco::CaloJetCollection &, RefGetter &, edm::Handle< LazyGetter > &) const |
void | updateCabling (const edm::EventSetup &setup) |
Private Attributes | |
std::vector< uint32_t > | allregions_ |
double | bjetdeta_ |
double | bjetdphi_ |
edm::InputTag | bjetL2_ |
bool | bjets_ |
const SiStripRegionCabling * | cabling_ |
uint32_t | cacheId_ |
edm::InputTag | electronBarrelL2_ |
double | electrondeta_ |
double | electrondphi_ |
edm::InputTag | electronEndcapL2_ |
bool | electrons_ |
bool | global_ |
double | muondeta_ |
double | muondphi_ |
edm::InputTag | muonL2_ |
bool | muons_ |
int | nlayers_ |
bool | random_ |
edm::InputTag | siStripLazyGetter_ |
double | taujetdeta_ |
double | taujetdphi_ |
edm::InputTag | taujetL2_ |
bool | taujets_ |
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 30 of file SiStripRawToClustersRoI.h.
Definition at line 34 of file SiStripRawToClustersRoI.h.
Definition at line 36 of file SiStripRawToClustersRoI.h.
Definition at line 35 of file SiStripRawToClustersRoI.h.
Definition at line 37 of file SiStripRawToClustersRoI.h.
SiStripRawToClustersRoI::SiStripRawToClustersRoI | ( | const edm::ParameterSet & | conf | ) |
Definition at line 8 of file SiStripRawToClustersRoI.cc.
SiStripRawToClustersRoI::~SiStripRawToClustersRoI | ( | ) |
Definition at line 37 of file SiStripRawToClustersRoI.cc.
|
overridevirtual |
Reimplemented from edm::EDProducer.
Definition at line 39 of file SiStripRawToClustersRoI.cc.
References updateCabling().
|
private |
Defines regions of interest by bjets
Definition at line 202 of file SiStripRawToClustersRoI.cc.
References SiStripRegionCabling::ALLLAYERS, SiStripRegionCabling::ALLSUBDETS, bjetdeta_, bjetdphi_, cabling_, physicalLayer(), position, and SiStripRegionCabling::updateSiStripRefGetter().
Referenced by produce().
|
private |
Defines regions of interest by superclusters
Definition at line 157 of file SiStripRawToClustersRoI.cc.
References SiStripRegionCabling::ALLLAYERS, SiStripRegionCabling::ALLSUBDETS, cabling_, electrondeta_, electrondphi_, physicalLayer(), position, and SiStripRegionCabling::updateSiStripRefGetter().
Referenced by produce().
|
private |
Defines regions of interest by muons
Definition at line 172 of file SiStripRawToClustersRoI.cc.
References SiStripRegionCabling::ALLLAYERS, SiStripRegionCabling::ALLSUBDETS, cabling_, muondeta_, muondphi_, physicalLayer(), position, and SiStripRegionCabling::updateSiStripRefGetter().
Referenced by produce().
|
private |
Defines allowed physical layer numbers
Definition at line 137 of file SiStripRawToClustersRoI.cc.
References nlayers_, and SiStripRegionCabling::physicalLayer().
Referenced by bjets(), electrons(), muons(), random(), and taujets().
|
overridevirtual |
All regions
Random region number. Starts from 0.
Seeded by L2 electrons.
Seeded by L2 muons.
Seeded by L2 taujets.
Seeded by L2 bjets.
Implements edm::EDProducer.
Definition at line 43 of file SiStripRawToClustersRoI.cc.
References allregions_, bjetL2_, bjets(), bjets_, runEdmFileComparison::collection, electronBarrelL2_, electronEndcapL2_, electrons(), electrons_, global_, edm::HandleBase::isValid(), muonL2_, muons(), muons_, random(), random_, siStripLazyGetter_, taujetL2_, taujets(), taujets_, and updateCabling().
Referenced by JSONExport.JsonExport::export(), HTMLExport.HTMLExport::export(), and HTMLExport.HTMLExportStatic::export().
|
private |
Defines regions of interest randomly
Definition at line 142 of file SiStripRawToClustersRoI.cc.
References SiStripRegionCabling::ALLLAYERS, SiStripRegionCabling::ALLSUBDETS, cabling_, SiStripRegionCabling::elementIndex(), SiStripRegionCabling::getRegionCabling(), physicalLayer(), dumpFill::required, pileupDistInMC::total, and SiStripRegionCabling::updateSiStripRefGetter().
Referenced by produce().
|
private |
Defines regions of interest by taujets
Definition at line 187 of file SiStripRawToClustersRoI.cc.
References SiStripRegionCabling::ALLLAYERS, SiStripRegionCabling::ALLSUBDETS, cabling_, physicalLayer(), position, taujetdeta_, taujetdphi_, and SiStripRegionCabling::updateSiStripRefGetter().
Referenced by produce().
|
private |
Definition at line 117 of file SiStripRawToClustersRoI.cc.
References allregions_, trackerHits::c, cabling_, cacheId_, SiStripRegionCabling::elementIndex(), edm::EventSetup::get(), SiStripRegionCabling::getRegionCabling(), getHLTprescales::index, and edm::ESHandle< class >::product().
Referenced by beginRun(), and produce().
|
private |
Record of all region numbers
Definition at line 73 of file SiStripRawToClustersRoI.h.
Referenced by produce(), and updateCabling().
|
private |
Definition at line 101 of file SiStripRawToClustersRoI.h.
Referenced by bjets().
|
private |
Definition at line 102 of file SiStripRawToClustersRoI.h.
Referenced by bjets().
|
private |
Definition at line 92 of file SiStripRawToClustersRoI.h.
Referenced by produce().
|
private |
Definition at line 84 of file SiStripRawToClustersRoI.h.
Referenced by produce().
|
private |
Cabling
Definition at line 68 of file SiStripRawToClustersRoI.h.
Referenced by bjets(), electrons(), muons(), random(), taujets(), and updateCabling().
|
private |
Definition at line 70 of file SiStripRawToClustersRoI.h.
Referenced by updateCabling().
|
private |
Definition at line 88 of file SiStripRawToClustersRoI.h.
Referenced by produce().
|
private |
deta/dphi to define regions of interest around physics objects
Definition at line 95 of file SiStripRawToClustersRoI.h.
Referenced by electrons().
|
private |
Definition at line 96 of file SiStripRawToClustersRoI.h.
Referenced by electrons().
|
private |
Definition at line 89 of file SiStripRawToClustersRoI.h.
Referenced by produce().
|
private |
Definition at line 81 of file SiStripRawToClustersRoI.h.
Referenced by produce().
|
private |
Booleans to define objects of interest
Definition at line 79 of file SiStripRawToClustersRoI.h.
Referenced by produce().
|
private |
Definition at line 97 of file SiStripRawToClustersRoI.h.
Referenced by muons().
|
private |
Definition at line 98 of file SiStripRawToClustersRoI.h.
Referenced by muons().
|
private |
Definition at line 90 of file SiStripRawToClustersRoI.h.
Referenced by produce().
|
private |
Definition at line 82 of file SiStripRawToClustersRoI.h.
Referenced by produce().
|
private |
Layers of SST to unpack (from innermost)
Definition at line 76 of file SiStripRawToClustersRoI.h.
Referenced by physicalLayer().
|
private |
Definition at line 80 of file SiStripRawToClustersRoI.h.
Referenced by produce().
|
private |
reco module labels to define regions of interest
Definition at line 87 of file SiStripRawToClustersRoI.h.
Referenced by produce().
|
private |
Definition at line 99 of file SiStripRawToClustersRoI.h.
Referenced by taujets().
|
private |
Definition at line 100 of file SiStripRawToClustersRoI.h.
Referenced by taujets().
|
private |
Definition at line 91 of file SiStripRawToClustersRoI.h.
Referenced by produce().
|
private |
Definition at line 83 of file SiStripRawToClustersRoI.h.
Referenced by produce().