CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
AlCaECALRecHitReducer Class Reference

#include <Calibration/EcalAlCaRecoProducers/src/AlCaECALRecHitReducer.cc>

Inheritance diagram for AlCaECALRecHitReducer:
edm::global::EDProducer<> edm::global::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 AlCaECALRecHitReducer (const edm::ParameterSet &)
 ctor More...
 
void produce (edm::StreamID, edm::Event &, const edm::EventSetup &) const override
 producer More...
 
 ~AlCaECALRecHitReducer () override
 
- Public Member Functions inherited from edm::global::EDProducer<>
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
EDProduceroperator= (const EDProducer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
bool wantsStreamLuminosityBlocks () const final
 
bool wantsStreamRuns () const final
 
- Public Member Functions inherited from edm::global::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
 ~EDProducerBase () 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
 
std::vector< bool > const & recordProvenanceList () 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)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
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::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

void AddMiniRecHitCollection (const reco::SuperCluster &sc, std::set< DetId > &reducedRecHitMap, const CaloTopology *caloTopology) const
 

Private Attributes

std::string alcaBarrelHitsCollection_
 
std::string alcaCaloClusterCollection_
 
std::string alcaEndcapHitsCollection_
 
std::string alcaPreshowerHitsCollection_
 
edm::ESGetToken< CaloTopology, CaloTopologyRecordcaloTopologyToken_
 
edm::EDGetTokenT< EcalRecHitCollectionebRecHitsToken_
 
edm::EDGetTokenT< EcalRecHitCollectioneeRecHitsToken_
 
edm::EDGetTokenT< reco::SuperClusterCollectionEESuperClusterToken_
 
edm::EDGetTokenT< reco::GsfElectronCollectionelectronToken_
 
std::vector< edm::EDGetTokenT< edm::View< reco::RecoCandidate > > > eleViewTokens_
 
edm::EDGetTokenT< EcalRecHitCollectionesRecHitsToken_
 
int etaSize_
 
double minEta_highEtaSC_
 
int phiSize_
 
edm::EDGetTokenT< reco::PhotonCollectionphotonToken_
 

Additional Inherited Members

- Public Types inherited from edm::global::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
 
- Static Public Member Functions inherited from edm::global::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::ProducerBase
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 declare what type of product will make and with which optional label More...
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<BranchType B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<Transition B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
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<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
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...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

class declaration

Description: Example of a producer of AlCa electrons

Implementation: <Notes on="" implementation>="">

Description: This plugin saves tracks and trackExtras that are associated to an electron creating two new track and track extra collections

Definition at line 48 of file AlCaECALRecHitReducer.h.

Constructor & Destructor Documentation

◆ AlCaECALRecHitReducer()

AlCaECALRecHitReducer::AlCaECALRecHitReducer ( const edm::ParameterSet iConfig)
explicit

ctor

This module reduces the recHitCollections and the caloCalusterCollections in input keeping only those associated to the given electrons/photons

Definition at line 22 of file AlCaECALRecHitReducer.cc.

22  {
23  ebRecHitsToken_ = consumes<EcalRecHitCollection>(iConfig.getParameter<edm::InputTag>("ebRecHitsLabel"));
24  eeRecHitsToken_ = consumes<EcalRecHitCollection>(iConfig.getParameter<edm::InputTag>("eeRecHitsLabel"));
25  // esRecHitsLabel_ = iConfig.getParameter< edm::InputTag > ("esRecHitsLabel");
26 
27  std::vector<edm::InputTag> srcLabels = iConfig.getParameter<std::vector<edm::InputTag> >("srcLabels");
28  for (auto inputTag = srcLabels.begin(); inputTag != srcLabels.end(); ++inputTag) {
30  }
31 
32  //eleViewToken_ = consumes<edm::View <reco::RecoCandidate> > (iConfig.getParameter< edm::InputTag > ("electronLabel"));
33  photonToken_ = consumes<reco::PhotonCollection>(iConfig.getParameter<edm::InputTag>("photonLabel"));
35  consumes<reco::SuperClusterCollection>(iConfig.getParameter<edm::InputTag>("EESuperClusterCollection"));
36 
37  caloTopologyToken_ = esConsumes<CaloTopology, CaloTopologyRecord>();
38 
39  minEta_highEtaSC_ = iConfig.getParameter<double>("minEta_highEtaSC");
40 
41  alcaBarrelHitsCollection_ = iConfig.getParameter<std::string>("alcaBarrelHitCollection");
42  alcaEndcapHitsCollection_ = iConfig.getParameter<std::string>("alcaEndcapHitCollection");
43  alcaCaloClusterCollection_ = iConfig.getParameter<std::string>("alcaCaloClusterCollection");
44 
45  // alcaPreshowerHitsCollection_ = iConfig.getParameter<std::string>("alcaPreshowerHitCollection");
46 
47  etaSize_ = iConfig.getParameter<int>("etaSize");
48  phiSize_ = iConfig.getParameter<int>("phiSize");
49  // FIXME: minimum size of etaSize_ and phiSize_
50  if (phiSize_ % 2 == 0 || etaSize_ % 2 == 0)
51  edm::LogError("AlCaECALRecHitReducerError") << "Size of eta/phi should be odd numbers";
52 
53  // esNstrips_ = iConfig.getParameter<int> ("esNstrips");
54  // esNcolumns_ = iConfig.getParameter<int> ("esNcolumns");
55 
56  //register your products
57  produces<EBRecHitCollection>(alcaBarrelHitsCollection_);
58  produces<EERecHitCollection>(alcaEndcapHitsCollection_);
59  produces<reco::CaloClusterCollection>(alcaCaloClusterCollection_);
60  // produces< ESRecHitCollection > (alcaPreshowerHitsCollection_) ;
61 }

References alcaBarrelHitsCollection_, alcaCaloClusterCollection_, alcaEndcapHitsCollection_, caloTopologyToken_, edm::EDConsumerBase::consumes(), ebRecHitsToken_, eeRecHitsToken_, EESuperClusterToken_, eleViewTokens_, etaSize_, edm::ParameterSet::getParameter(), SimL1EmulatorRepack_Full_cff::inputTag, minEta_highEtaSC_, phiSize_, photonToken_, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ ~AlCaECALRecHitReducer()

AlCaECALRecHitReducer::~AlCaECALRecHitReducer ( )
override

Definition at line 63 of file AlCaECALRecHitReducer.cc.

63 {}

Member Function Documentation

◆ AddMiniRecHitCollection()

void AlCaECALRecHitReducer::AddMiniRecHitCollection ( const reco::SuperCluster sc,
std::set< DetId > &  reducedRecHitMap,
const CaloTopology caloTopology 
) const
private

Definition at line 192 of file AlCaECALRecHitReducer.cc.

194  {
195  DetId seed = (sc.seed()->seed());
196  int phiSize = phiSize_, etaSize = etaSize_;
197  if (seed.subdetId() != EcalBarrel) { // if not EB, take a square window
199  phiSize = etaSize;
200  }
201 
202  std::vector<DetId> recHit_window = caloTopology->getWindow(seed, phiSize, etaSize);
203  for (unsigned int i = 0; i < recHit_window.size(); i++) {
204  reducedRecHitMap.insert(recHit_window[i]);
205  }
206 
207  const std::vector<std::pair<DetId, float> >& scHits = sc.hitsAndFractions();
208  for (std::vector<std::pair<DetId, float> >::const_iterator scHit_itr = scHits.begin(); scHit_itr != scHits.end();
209  scHit_itr++) {
210  // the map fills just one time (avoiding double insert of recHits)
211  reducedRecHitMap.insert(scHit_itr->first);
212  }
213 
214  return;
215 }

References EcalBarrel, interestingDetIdCollectionProducer_cfi::etaSize, etaSize_, CaloTopology::getWindow(), reco::CaloCluster::hitsAndFractions(), mps_fire::i, SiStripPI::max, interestingDetIdCollectionProducer_cfi::phiSize, phiSize_, reco::SuperCluster::seed(), fileCollector::seed, and trackerHitRTTI::vector.

Referenced by produce().

◆ produce()

void AlCaECALRecHitReducer::produce ( edm::StreamID  ,
edm::Event iEvent,
const edm::EventSetup iSetup 
) const
overridevirtual

producer

Implements edm::global::EDProducerBase.

Definition at line 66 of file AlCaECALRecHitReducer.cc.

66  {
67  using namespace edm;
68  //using namespace std;
69 
70  const CaloTopology* caloTopology = &iSetup.getData(caloTopologyToken_);
71 
72  // Get Photons
74  iEvent.getByToken(photonToken_, phoHandle);
75 
76  // get RecHits
77  Handle<EBRecHitCollection> barrelRecHitsHandle;
78  iEvent.getByToken(ebRecHitsToken_, barrelRecHitsHandle);
79  const EBRecHitCollection* barrelHitsCollection = barrelRecHitsHandle.product();
80 
81  // get RecHits
82  Handle<EERecHitCollection> endcapRecHitsHandle;
83  iEvent.getByToken(eeRecHitsToken_, endcapRecHitsHandle);
84  const EERecHitCollection* endcapHitsCollection = endcapRecHitsHandle.product();
85 
86  // // get ES RecHits
87  // Handle<ESRecHitCollection> preshowerRecHitsHandle;
88  // iEvent.getByToken(esRecHitsToken_,preshowerRecHitsHandle);
89 
90  // const ESRecHitCollection * preshowerHitsCollection = 0 ;
91  // if (preshowerIsFull)
92  // preshowerHitsCollection = preshowerRecHitsHandle.product () ;
93 
94  // // make a vector to store the used ES rechits:
95  // set<ESDetId> used_strips;
96  // used_strips.clear();
97 
98  // for Z->ele+SC
100  iEvent.getByToken(EESuperClusterToken_, EESCHandle);
101 
102  //Create empty output collections
103  auto miniEBRecHitCollection = std::make_unique<EBRecHitCollection>();
104  auto miniEERecHitCollection = std::make_unique<EERecHitCollection>();
105  // auto miniESRecHitCollection = std::make_unique<ESRecHitCollection>();
106 
107  std::set<DetId> reducedRecHit_EBmap;
108  std::set<DetId> reducedRecHit_EEmap;
109 
110  // std::set< edm::Ref<reco::CaloCluster> > reducedCaloClusters_map;
111 
112  auto reducedCaloClusterCollection = std::make_unique<reco::CaloClusterCollection>();
113 
114  //Photons:
115 #ifdef shervin
116  for (reco::PhotonCollection::const_iterator phoIt = phoHandle->begin(); phoIt != phoHandle->end(); phoIt++) {
117  const reco::SuperCluster& sc = *(phoIt->superCluster());
118 
119  if (phoIt->isEB()) {
120  AddMiniRecHitCollection(sc, reducedRecHit_EBmap, caloTopology);
121  } else { // endcap
122  AddMiniRecHitCollection(sc, reducedRecHit_EEmap, caloTopology);
123  } // end of endcap
124 
128  for (; it != itend; ++it) {
129  reco::CaloCluster caloClus(**it);
130  reducedCaloClusterCollection->push_back(caloClus);
131  }
132  }
133 #endif
134 
136  for (auto iToken = eleViewTokens_.begin(); iToken != eleViewTokens_.end(); iToken++) {
137  iEvent.getByToken(*iToken, eleViewHandle);
138 
139  //Electrons:
140  for (auto eleIt = eleViewHandle->begin(); eleIt != eleViewHandle->end(); eleIt++) {
141  const reco::SuperCluster& sc = *(eleIt->superCluster());
142 
143  if (fabs(sc.eta()) < 1.479) {
144  AddMiniRecHitCollection(sc, reducedRecHit_EBmap, caloTopology);
145  } else { // endcap
146  AddMiniRecHitCollection(sc, reducedRecHit_EEmap, caloTopology);
147  } // end of endcap
148 
151  for (; it != itend; ++it) {
152  reco::CaloCluster caloClus(**it);
153  reducedCaloClusterCollection->push_back(caloClus);
154  }
155  }
156  }
157 
158  //saving recHits for highEta SCs for highEta studies
159  for (reco::SuperClusterCollection::const_iterator SC_iter = EESCHandle->begin(); SC_iter != EESCHandle->end();
160  SC_iter++) {
161  if (fabs(SC_iter->eta()) < minEta_highEtaSC_)
162  continue;
163  AddMiniRecHitCollection(*SC_iter, reducedRecHit_EEmap, caloTopology);
164 
165  const reco::SuperCluster& sc = *(SC_iter);
168  for (; it != itend; ++it) {
169  reco::CaloCluster caloClus(**it);
170  reducedCaloClusterCollection->push_back(caloClus);
171  }
172  }
173 
174  //------------------------------ fill the alcareco reduced recHit collection
175  for (std::set<DetId>::const_iterator itr = reducedRecHit_EBmap.begin(); itr != reducedRecHit_EBmap.end(); itr++) {
176  if (barrelHitsCollection->find(*itr) != barrelHitsCollection->end())
177  miniEBRecHitCollection->push_back(*(barrelHitsCollection->find(*itr)));
178  }
179 
180  for (std::set<DetId>::const_iterator itr = reducedRecHit_EEmap.begin(); itr != reducedRecHit_EEmap.end(); itr++) {
181  if (endcapHitsCollection->find(*itr) != endcapHitsCollection->end())
182  miniEERecHitCollection->push_back(*(endcapHitsCollection->find(*itr)));
183  }
184 
185  //--------------------------------------- Put selected information in the event
186  iEvent.put(std::move(miniEBRecHitCollection), alcaBarrelHitsCollection_);
187  iEvent.put(std::move(miniEERecHitCollection), alcaEndcapHitsCollection_);
188  // iEvent.put(std::move(miniESRecHitCollection),alcaPreshowerHitsCollection_ );
189  iEvent.put(std::move(reducedCaloClusterCollection), alcaCaloClusterCollection_);
190 }

References AddMiniRecHitCollection(), alcaBarrelHitsCollection_, alcaCaloClusterCollection_, alcaEndcapHitsCollection_, caloTopologyToken_, reco::SuperCluster::clustersBegin(), reco::SuperCluster::clustersEnd(), ebRecHitsToken_, eeRecHitsToken_, EESuperClusterToken_, eleViewTokens_, edm::SortedCollection< T, SORT >::end(), reco::CaloCluster::eta(), edm::SortedCollection< T, SORT >::find(), edm::EventSetup::getData(), iEvent, minEta_highEtaSC_, eostools::move(), photonToken_, and edm::Handle< T >::product().

Member Data Documentation

◆ alcaBarrelHitsCollection_

std::string AlCaECALRecHitReducer::alcaBarrelHitsCollection_
private

Definition at line 69 of file AlCaECALRecHitReducer.h.

Referenced by AlCaECALRecHitReducer(), and produce().

◆ alcaCaloClusterCollection_

std::string AlCaECALRecHitReducer::alcaCaloClusterCollection_
private

Definition at line 82 of file AlCaECALRecHitReducer.h.

Referenced by AlCaECALRecHitReducer(), and produce().

◆ alcaEndcapHitsCollection_

std::string AlCaECALRecHitReducer::alcaEndcapHitsCollection_
private

Definition at line 70 of file AlCaECALRecHitReducer.h.

Referenced by AlCaECALRecHitReducer(), and produce().

◆ alcaPreshowerHitsCollection_

std::string AlCaECALRecHitReducer::alcaPreshowerHitsCollection_
private

Definition at line 71 of file AlCaECALRecHitReducer.h.

◆ caloTopologyToken_

edm::ESGetToken<CaloTopology, CaloTopologyRecord> AlCaECALRecHitReducer::caloTopologyToken_
private

Definition at line 68 of file AlCaECALRecHitReducer.h.

Referenced by AlCaECALRecHitReducer(), and produce().

◆ ebRecHitsToken_

edm::EDGetTokenT<EcalRecHitCollection> AlCaECALRecHitReducer::ebRecHitsToken_
private

Definition at line 60 of file AlCaECALRecHitReducer.h.

Referenced by AlCaECALRecHitReducer(), and produce().

◆ eeRecHitsToken_

edm::EDGetTokenT<EcalRecHitCollection> AlCaECALRecHitReducer::eeRecHitsToken_
private

Definition at line 61 of file AlCaECALRecHitReducer.h.

Referenced by AlCaECALRecHitReducer(), and produce().

◆ EESuperClusterToken_

edm::EDGetTokenT<reco::SuperClusterCollection> AlCaECALRecHitReducer::EESuperClusterToken_
private

Definition at line 67 of file AlCaECALRecHitReducer.h.

Referenced by AlCaECALRecHitReducer(), and produce().

◆ electronToken_

edm::EDGetTokenT<reco::GsfElectronCollection> AlCaECALRecHitReducer::electronToken_
private

Definition at line 63 of file AlCaECALRecHitReducer.h.

◆ eleViewTokens_

std::vector<edm::EDGetTokenT<edm::View<reco::RecoCandidate> > > AlCaECALRecHitReducer::eleViewTokens_
private

Definition at line 64 of file AlCaECALRecHitReducer.h.

Referenced by AlCaECALRecHitReducer(), and produce().

◆ esRecHitsToken_

edm::EDGetTokenT<EcalRecHitCollection> AlCaECALRecHitReducer::esRecHitsToken_
private

Definition at line 62 of file AlCaECALRecHitReducer.h.

◆ etaSize_

int AlCaECALRecHitReducer::etaSize_
private

Definition at line 72 of file AlCaECALRecHitReducer.h.

Referenced by AddMiniRecHitCollection(), and AlCaECALRecHitReducer().

◆ minEta_highEtaSC_

double AlCaECALRecHitReducer::minEta_highEtaSC_
private

Definition at line 81 of file AlCaECALRecHitReducer.h.

Referenced by AlCaECALRecHitReducer(), and produce().

◆ phiSize_

int AlCaECALRecHitReducer::phiSize_
private

Definition at line 73 of file AlCaECALRecHitReducer.h.

Referenced by AddMiniRecHitCollection(), and AlCaECALRecHitReducer().

◆ photonToken_

edm::EDGetTokenT<reco::PhotonCollection> AlCaECALRecHitReducer::photonToken_
private

Definition at line 66 of file AlCaECALRecHitReducer.h.

Referenced by AlCaECALRecHitReducer(), and produce().

mps_fire.i
i
Definition: mps_fire.py:428
AlCaECALRecHitReducer::photonToken_
edm::EDGetTokenT< reco::PhotonCollection > photonToken_
Definition: AlCaECALRecHitReducer.h:66
edm::Handle::product
T const * product() const
Definition: Handle.h:70
reco::SuperCluster
Definition: SuperCluster.h:18
edm
HLT enums.
Definition: AlignableModifier.h:19
interestingDetIdCollectionProducer_cfi.phiSize
phiSize
Definition: interestingDetIdCollectionProducer_cfi.py:7
CaloTopology::getWindow
std::vector< DetId > getWindow(const DetId &id, const int &northSouthSize, const int &eastWestSize) const
Get the neighbors of the given cell in a window of given size.
Definition: CaloTopology.cc:64
AlCaECALRecHitReducer::eeRecHitsToken_
edm::EDGetTokenT< EcalRecHitCollection > eeRecHitsToken_
Definition: AlCaECALRecHitReducer.h:61
interestingDetIdCollectionProducer_cfi.etaSize
etaSize
Definition: interestingDetIdCollectionProducer_cfi.py:6
AlCaECALRecHitReducer::alcaBarrelHitsCollection_
std::string alcaBarrelHitsCollection_
Definition: AlCaECALRecHitReducer.h:69
edm::PtrVectorItr
Definition: PtrVector.h:51
edm::SortedCollection< EcalRecHit >
edm::Handle< reco::PhotonCollection >
CaloTopology
Definition: CaloTopology.h:19
EcalBarrel
Definition: EcalSubdetector.h:10
AlCaECALRecHitReducer::minEta_highEtaSC_
double minEta_highEtaSC_
Definition: AlCaECALRecHitReducer.h:81
fileCollector.seed
seed
Definition: fileCollector.py:127
DetId
Definition: DetId.h:17
AlCaECALRecHitReducer::EESuperClusterToken_
edm::EDGetTokenT< reco::SuperClusterCollection > EESuperClusterToken_
Definition: AlCaECALRecHitReducer.h:67
AlCaECALRecHitReducer::eleViewTokens_
std::vector< edm::EDGetTokenT< edm::View< reco::RecoCandidate > > > eleViewTokens_
Definition: AlCaECALRecHitReducer.h:64
AlCaECALRecHitReducer::alcaCaloClusterCollection_
std::string alcaCaloClusterCollection_
Definition: AlCaECALRecHitReducer.h:82
reco::CaloCluster
Definition: CaloCluster.h:31
edm::View
Definition: CaloClusterFwd.h:14
AlCaECALRecHitReducer::AddMiniRecHitCollection
void AddMiniRecHitCollection(const reco::SuperCluster &sc, std::set< DetId > &reducedRecHitMap, const CaloTopology *caloTopology) const
Definition: AlCaECALRecHitReducer.cc:192
reco::SuperCluster::seed
const CaloClusterPtr & seed() const
seed BasicCluster
Definition: SuperCluster.h:77
reco::CaloCluster::eta
double eta() const
pseudorapidity of cluster centroid
Definition: CaloCluster.h:181
reco::CaloCluster::hitsAndFractions
const std::vector< std::pair< DetId, float > > & hitsAndFractions() const
Definition: CaloCluster.h:210
SiStripPI::max
Definition: SiStripPayloadInspectorHelper.h:169
edm::SortedCollection::end
const_iterator end() const
Definition: SortedCollection.h:267
iEvent
int iEvent
Definition: GenABIO.cc:224
AlCaECALRecHitReducer::alcaEndcapHitsCollection_
std::string alcaEndcapHitsCollection_
Definition: AlCaECALRecHitReducer.h:70
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
reco::SuperCluster::clustersBegin
CaloCluster_iterator clustersBegin() const
fist iterator over BasicCluster constituents
Definition: SuperCluster.h:86
AlCaECALRecHitReducer::caloTopologyToken_
edm::ESGetToken< CaloTopology, CaloTopologyRecord > caloTopologyToken_
Definition: AlCaECALRecHitReducer.h:68
edm::LogError
Log< level::Error, false > LogError
Definition: MessageLogger.h:123
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::EventSetup::getData
bool getData(T &iHolder) const
Definition: EventSetup.h:127
edm::SortedCollection::find
iterator find(key_type k)
Definition: SortedCollection.h:240
AlCaECALRecHitReducer::etaSize_
int etaSize_
Definition: AlCaECALRecHitReducer.h:72
AlCaECALRecHitReducer::phiSize_
int phiSize_
Definition: AlCaECALRecHitReducer.h:73
eostools.move
def move(src, dest)
Definition: eostools.py:511
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
edm::EDConsumerBase::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition: EDConsumerBase.h:159
reco::SuperCluster::clustersEnd
CaloCluster_iterator clustersEnd() const
last iterator over BasicCluster constituents
Definition: SuperCluster.h:89
SimL1EmulatorRepack_Full_cff.inputTag
inputTag
Definition: SimL1EmulatorRepack_Full_cff.py:56
AlCaECALRecHitReducer::ebRecHitsToken_
edm::EDGetTokenT< EcalRecHitCollection > ebRecHitsToken_
Definition: AlCaECALRecHitReducer.h:60
edm::InputTag
Definition: InputTag.h:15