CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
EgammaHLTMulti5x5ClusterProducer Class Reference

#include <EgammaHLTMulti5x5ClusterProducer.h>

Inheritance diagram for EgammaHLTMulti5x5ClusterProducer:
edm::EDProducer edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 EgammaHLTMulti5x5ClusterProducer (const edm::ParameterSet &ps)
 
void produce (edm::Event &, const edm::EventSetup &) override
 
 ~EgammaHLTMulti5x5ClusterProducer ()
 
- 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< ConsumesInfoconsumesInfo () 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 (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &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 ()
 

Static Public Member Functions

static void fillDescriptions (edm::ConfigurationDescriptions &descriptions)
 
- Static Public Member Functions inherited from edm::EDProducer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 

Private Member Functions

void clusterizeECALPart (edm::Event &evt, const edm::EventSetup &es, edm::EDGetTokenT< EcalRecHitCollection > &hitToken, const std::string &clusterCollection, const std::vector< EcalEtaPhiRegion > &regions, const reco::CaloID::Detectors detector)
 
bool counterExceeded () const
 
const EcalRecHitCollectiongetCollection (edm::Event &evt, edm::EDGetTokenT< EcalRecHitCollection > &hitToken)
 
void outputValidationInfo (reco::CaloClusterPtrVector &clusterPtrVector)
 

Private Attributes

std::string barrelClusterCollection_
 
edm::InputTag barrelHitCollection_
 
edm::EDGetTokenT
< EcalRecHitCollection
barrelHitToken_
 
bool doBarrel_
 
bool doEndcaps_
 
bool doIsolated_
 
std::string endcapClusterCollection_
 
edm::InputTag endcapHitCollection_
 
edm::EDGetTokenT
< EcalRecHitCollection
endcapHitToken_
 
double l1LowerThr_
 
double l1LowerThrIgnoreIsolation_
 
edm::EDGetTokenT
< l1extra::L1EmParticleCollection
l1TagIsolated_
 
edm::EDGetTokenT
< l1extra::L1EmParticleCollection
l1TagNonIsolated_
 
double l1UpperThr_
 
Multi5x5ClusterAlgoMulti5x5_p
 
int nEvt_
 
int nMaxPrintout_
 
PositionCalc posCalculator_
 
double regionEtaMargin_
 
double regionPhiMargin_
 

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
 
- 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)
 

Detailed Description

Definition at line 26 of file EgammaHLTMulti5x5ClusterProducer.h.

Constructor & Destructor Documentation

EgammaHLTMulti5x5ClusterProducer::EgammaHLTMulti5x5ClusterProducer ( const edm::ParameterSet ps)

Definition at line 38 of file EgammaHLTMulti5x5ClusterProducer.cc.

References barrelClusterCollection_, barrelHitCollection_, barrelHitToken_, doBarrel_, doEndcaps_, doIsolated_, endcapClusterCollection_, endcapHitCollection_, endcapHitToken_, edm::ParameterSet::getParameter(), l1LowerThr_, l1LowerThrIgnoreIsolation_, l1TagIsolated_, l1TagNonIsolated_, l1UpperThr_, Multi5x5_p, nEvt_, posCalculator_, regionEtaMargin_, regionPhiMargin_, and AlCaHLTBitMon_QueryRunRegistry::string.

38  {
39 
40  doBarrel_ = ps.getParameter<bool>("doBarrel");
41  doEndcaps_ = ps.getParameter<bool>("doEndcaps");
42  doIsolated_ = ps.getParameter<bool>("doIsolated");
43 
44  // Parameters to identify the hit collections
45  barrelHitCollection_ = ps.getParameter<edm::InputTag>("barrelHitProducer");
46  endcapHitCollection_ = ps.getParameter<edm::InputTag>("endcapHitProducer");
47  barrelHitToken_ = consumes<EcalRecHitCollection>( barrelHitCollection_);
48  endcapHitToken_ = consumes<EcalRecHitCollection>( endcapHitCollection_);
49 
50  // The names of the produced cluster collections
51  barrelClusterCollection_ = ps.getParameter<std::string>("barrelClusterCollection");
52  endcapClusterCollection_ = ps.getParameter<std::string>("endcapClusterCollection");
53 
54  // Multi5x5 algorithm parameters
55  double barrelSeedThreshold = ps.getParameter<double>("Multi5x5BarrelSeedThr");
56  double endcapSeedThreshold = ps.getParameter<double>("Multi5x5EndcapSeedThr");
57 
58  // L1 matching parameters
59  l1TagIsolated_ = consumes<l1extra::L1EmParticleCollection>(ps.getParameter< edm::InputTag > ("l1TagIsolated"));
60  l1TagNonIsolated_ = consumes<l1extra::L1EmParticleCollection>(ps.getParameter< edm::InputTag > ("l1TagNonIsolated"));
61  l1LowerThr_ = ps.getParameter<double> ("l1LowerThr");
62  l1UpperThr_ = ps.getParameter<double> ("l1UpperThr");
63  l1LowerThrIgnoreIsolation_ = ps.getParameter<double> ("l1LowerThrIgnoreIsolation");
64 
65  regionEtaMargin_ = ps.getParameter<double>("regionEtaMargin");
66  regionPhiMargin_ = ps.getParameter<double>("regionPhiMargin");
67 
68  // Parameters for the position calculation:
69  posCalculator_ = PositionCalc( ps.getParameter<edm::ParameterSet>("posCalcParameters") );
70 
71  const std::vector<std::string> flagnames =
72  ps.getParameter<std::vector<std::string> >("RecHitFlagToBeExcluded");
73 
74  // exclude recHit flags from seeding
75  std::vector<int> v_chstatus = StringToEnumValue<EcalRecHit::Flags>(flagnames);
76 
77  // Produces a collection of barrel and a collection of endcap clusters
78  produces< reco::BasicClusterCollection >(endcapClusterCollection_);
79  produces< reco::BasicClusterCollection >(barrelClusterCollection_);
80 
81  Multi5x5_p = new Multi5x5ClusterAlgo(barrelSeedThreshold, endcapSeedThreshold, v_chstatus, posCalculator_);
82  nEvt_ = 0;
83 }
T getParameter(std::string const &) const
edm::EDGetTokenT< l1extra::L1EmParticleCollection > l1TagNonIsolated_
edm::EDGetTokenT< EcalRecHitCollection > barrelHitToken_
edm::EDGetTokenT< EcalRecHitCollection > endcapHitToken_
edm::EDGetTokenT< l1extra::L1EmParticleCollection > l1TagIsolated_
EgammaHLTMulti5x5ClusterProducer::~EgammaHLTMulti5x5ClusterProducer ( )

Definition at line 85 of file EgammaHLTMulti5x5ClusterProducer.cc.

References Multi5x5_p.

85  {
86  delete Multi5x5_p;
87 }

Member Function Documentation

void EgammaHLTMulti5x5ClusterProducer::clusterizeECALPart ( edm::Event evt,
const edm::EventSetup es,
edm::EDGetTokenT< EcalRecHitCollection > &  hitToken,
const std::string &  clusterCollection,
const std::vector< EcalEtaPhiRegion > &  regions,
const reco::CaloID::Detectors  detector 
)
private

Definition at line 269 of file EgammaHLTMulti5x5ClusterProducer.cc.

References barrelClusterCollection_, HLT_25ns10e33_v2_cff::clusters, reco::CaloID::DET_ECAL_BARREL, DetId::Ecal, EcalBarrel, EcalEndcap, EcalPreshower, endcapClusterCollection_, edm::EventSetup::get(), getCollection(), Multi5x5ClusterAlgo::makeClusters(), Multi5x5_p, and edm::Event::put().

Referenced by produce().

273  {
274 
275  // get the hit collection from the event:
276  const EcalRecHitCollection *hitCollection_p = getCollection(evt, hitToken);
277 
278  // get the geometry and topology from the event setup:
279  edm::ESHandle<CaloGeometry> geoHandle;
280  es.get<CaloGeometryRecord>().get(geoHandle);
281 
282  const CaloSubdetectorGeometry *geometry_p;
283  CaloSubdetectorTopology *topology_p;
284 
285  if (detector == reco::CaloID::DET_ECAL_BARREL)
286  {
287  geometry_p = geoHandle->getSubdetectorGeometry(DetId::Ecal, EcalBarrel);
288  topology_p = new EcalBarrelTopology(geoHandle);
289  }
290  else
291  {
292  geometry_p = geoHandle->getSubdetectorGeometry(DetId::Ecal, EcalEndcap);
293  topology_p = new EcalEndcapTopology(geoHandle);
294  }
295 
296 
297  const CaloSubdetectorGeometry *geometryES_p;
298  geometryES_p = geoHandle->getSubdetectorGeometry(DetId::Ecal, EcalPreshower);
299 
300  // Run the clusterization algorithm:
302  clusters = Multi5x5_p->makeClusters(hitCollection_p, geometry_p, topology_p, geometryES_p, detector, true, regions);
303 
304  // create an auto_ptr to a BasicClusterCollection, copy the barrel clusters into it and put in the Event:
305  std::auto_ptr< reco::BasicClusterCollection > clusters_p(new reco::BasicClusterCollection);
306  clusters_p->assign(clusters.begin(), clusters.end());
308  if (detector == reco::CaloID::DET_ECAL_BARREL)
309  bccHandle = evt.put(clusters_p, barrelClusterCollection_);
310  else
311  bccHandle = evt.put(clusters_p, endcapClusterCollection_);
312 
313  delete topology_p;
314 }
std::vector< reco::BasicCluster > makeClusters(const EcalRecHitCollection *hits, const CaloSubdetectorGeometry *geometry, const CaloSubdetectorTopology *topology_p, const CaloSubdetectorGeometry *geometryES_p, reco::CaloID::Detectors detector, bool regional=false, const std::vector< EcalEtaPhiRegion > &regions=std::vector< EcalEtaPhiRegion >())
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
Definition: Event.h:121
const EcalRecHitCollection * getCollection(edm::Event &evt, edm::EDGetTokenT< EcalRecHitCollection > &hitToken)
const T & get() const
Definition: EventSetup.h:56
std::vector< BasicCluster > BasicClusterCollection
collection of BasicCluster objects
bool EgammaHLTMulti5x5ClusterProducer::counterExceeded ( ) const
inlineprivate
void EgammaHLTMulti5x5ClusterProducer::fillDescriptions ( edm::ConfigurationDescriptions descriptions)
static

Definition at line 89 of file EgammaHLTMulti5x5ClusterProducer.cc.

References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), and AlCaHLTBitMon_QueryRunRegistry::string.

89  {
90 
92  desc.add<bool>(("doBarrel"), false);
93  desc.add<bool>(("doEndcaps"), true);
94  desc.add<bool>(("doIsolated"), true);
95  desc.add<std::string>("VerbosityLevel" ,"ERROR");
96 
97  edm::ParameterSetDescription posCalcPSET;
98  posCalcPSET.add<double>("T0_barl", 7.4);
99  posCalcPSET.add<double>("T0_endc", 3.1);
100  posCalcPSET.add<double>("T0_endcPresh", 1.2);
101  posCalcPSET.add<double>("W0", 4.2);
102  posCalcPSET.add<double>("X0", 0.89);
103  posCalcPSET.add<bool>("LogWeighted", true);
104  desc.add<edm::ParameterSetDescription>("posCalcParameters", posCalcPSET);
105 
106  desc.add<edm::InputTag>(("barrelHitProducer"), edm::InputTag("hltEcalRegionalEgammaRecHit", "EcalRecHitsEB"));
107  desc.add<edm::InputTag>(("endcapHitProducer"), edm::InputTag("hltEcalRegionalEgammaRecHit", "EcalRecHitsEE"));
108  desc.add<std::string>(("barrelClusterCollection"), "notused");
109  desc.add<std::string>(("endcapClusterCollection"), "multi5x5EndcapBasicClusters");
110  desc.add<double>(("Multi5x5BarrelSeedThr"), 0.5);
111  desc.add<double>(("Multi5x5EndcapSeedThr"), 0.5);
112  desc.add<edm::InputTag>(("l1TagIsolated"), edm::InputTag("hltL1extraParticles","Isolated"));
113  desc.add<edm::InputTag>(("l1TagNonIsolated"), edm::InputTag("hltL1extraParticles","NonIsolated"));
114  desc.add<double>(("l1LowerThr"), 5.0);
115  desc.add<double>(("l1UpperThr"), 9999.);
116  desc.add<double>(("l1LowerThrIgnoreIsolation"), 999.0);
117  desc.add<double>(("regionEtaMargin"), 0.3);
118  desc.add<double>(("regionPhiMargin"), 0.4);
119 
120  desc.add<std::vector<std::string> >(("RecHitFlagToBeExcluded"), std::vector<std::string>());
121  descriptions.add(("hltEgammaHLTMulti5x5ClusterProducer"), desc);
122 }
ParameterDescriptionBase * add(U const &iLabel, T const &value)
void add(std::string const &label, ParameterSetDescription const &psetDescription)
const EcalRecHitCollection * EgammaHLTMulti5x5ClusterProducer::getCollection ( edm::Event evt,
edm::EDGetTokenT< EcalRecHitCollection > &  hitToken 
)
private

Definition at line 253 of file EgammaHLTMulti5x5ClusterProducer.cc.

References gather_cfg::cout, edm::Event::getByToken(), edm::HandleBase::isValid(), and edm::Handle< T >::product().

Referenced by clusterizeECALPart().

254  {
255 
257  evt.getByToken(hitToken, rhcHandle);
258 
259  if (!(rhcHandle.isValid()))
260  {
261  std::cout << "could not get a handle on the EcalRecHitCollection!" << std::endl;
262  edm::LogError("EgammaHLTMulti5x5ClusterProducerError") << "Error! can't get the product ";
263  return 0;
264  }
265  return rhcHandle.product();
266 }
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:462
bool isValid() const
Definition: HandleBase.h:75
T const * product() const
Definition: Handle.h:81
tuple cout
Definition: gather_cfg.py:145
void EgammaHLTMulti5x5ClusterProducer::outputValidationInfo ( reco::CaloClusterPtrVector clusterPtrVector)
private
void EgammaHLTMulti5x5ClusterProducer::produce ( edm::Event evt,
const edm::EventSetup es 
)
overridevirtual

Implements edm::EDProducer.

Definition at line 124 of file EgammaHLTMulti5x5ClusterProducer.cc.

References barrelClusterCollection_, barrelHitToken_, clusterizeECALPart(), reco::CaloID::DET_ECAL_BARREL, reco::CaloID::DET_ECAL_ENDCAP, doBarrel_, doEndcaps_, doIsolated_, endcapClusterCollection_, endcapHitToken_, edm::EventSetup::get(), edm::Event::getByToken(), l1LowerThr_, l1LowerThrIgnoreIsolation_, l1TagIsolated_, l1TagNonIsolated_, l1UpperThr_, nEvt_, HLT_25ns10e33_v2_cff::region, regionEtaMargin_, and regionPhiMargin_.

124  {
125 
126  //Get the L1 EM Particle Collection
128  if(doIsolated_)
129  evt.getByToken(l1TagIsolated_, emIsolColl);
130 
131  //Get the L1 EM Particle Collection
133  evt.getByToken(l1TagNonIsolated_, emNonIsolColl);
134 
135  // Get the CaloGeometry
136  edm::ESHandle<L1CaloGeometry> l1CaloGeom ;
137  es.get<L1CaloGeometryRecord>().get(l1CaloGeom) ;
138 
139  std::vector<EcalEtaPhiRegion> barrelRegions;
140  std::vector<EcalEtaPhiRegion> endcapRegions;
141 
142  if(doIsolated_) {
143  for( l1extra::L1EmParticleCollection::const_iterator emItr = emIsolColl->begin(); emItr != emIsolColl->end() ;++emItr ){
144 
145  if (emItr->et() > l1LowerThr_ && emItr->et() < l1UpperThr_) {
146 
147  // Access the GCT hardware object corresponding to the L1Extra EM object.
148  int etaIndex = emItr->gctEmCand()->etaIndex() ;
149 
150 
151  int phiIndex = emItr->gctEmCand()->phiIndex() ;
152  // Use the L1CaloGeometry to find the eta, phi bin boundaries.
153  double etaLow = l1CaloGeom->etaBinLowEdge( etaIndex ) ;
154  double etaHigh = l1CaloGeom->etaBinHighEdge( etaIndex ) ;
155  double phiLow = l1CaloGeom->emJetPhiBinLowEdge( phiIndex ) ;
156  double phiHigh = l1CaloGeom->emJetPhiBinHighEdge( phiIndex ) ;
157 
158  //Attention isForward does not work
159  int isforw=0;
160  int isbarl=0;
161  if((float)(etaHigh)>1.479 || (float)(etaLow)<-1.479) isforw=1;
162  if(((float)(etaLow)>-1.479 && (float)(etaLow)<1.479) ||
163  ((float)(etaHigh)>-1.479 && (float)(etaHigh)<1.479)) isbarl=1;
164 
165  //std::cout<<"Multi5x5 etaindex "<<etaIndex<<" low hig : "<<etaLow<<" "<<etaHigh<<" phi low hig" <<phiLow<<" " << phiHigh<<" isforw "<<emItr->gctEmCand()->regionId().isForward()<<" isforwnew" <<isforw<< std::endl;
166 
167  etaLow -= regionEtaMargin_;
168  etaHigh += regionEtaMargin_;
169  phiLow -= regionPhiMargin_;
170  phiHigh += regionPhiMargin_;
171 
172  //if (emItr->gctEmCand()->regionId().isForward()) {
173  if (isforw) {
174  if (etaHigh>-1.479 && etaHigh<1.479) etaHigh=-1.479;
175  if ( etaLow>-1.479 && etaLow<1.479) etaLow=1.479;
176  EcalEtaPhiRegion region(etaLow,etaHigh,phiLow,phiHigh);
177  endcapRegions.push_back(region);
178  }
179  if (isbarl) {
180  if (etaHigh>1.479) etaHigh=1.479;
181  if (etaLow<-1.479) etaLow=-1.479;
182  EcalEtaPhiRegion region(etaLow,etaHigh,phiLow,phiHigh);
183  barrelRegions.push_back(region);
184  }
185  EcalEtaPhiRegion region(etaLow,etaHigh,phiLow,phiHigh);
186 
187  }
188  }
189  }
190 
191 
193  for( l1extra::L1EmParticleCollection::const_iterator emItr = emNonIsolColl->begin(); emItr != emNonIsolColl->end() ;++emItr ){
194 
195  if(doIsolated_&&emItr->et()<l1LowerThrIgnoreIsolation_) continue;
196 
197  if (emItr->et() > l1LowerThr_ && emItr->et() < l1UpperThr_) {
198 
199  // Access the GCT hardware object corresponding to the L1Extra EM object.
200  int etaIndex = emItr->gctEmCand()->etaIndex() ;
201 
202 
203  int phiIndex = emItr->gctEmCand()->phiIndex() ;
204  // Use the L1CaloGeometry to find the eta, phi bin boundaries.
205  double etaLow = l1CaloGeom->etaBinLowEdge( etaIndex ) ;
206  double etaHigh = l1CaloGeom->etaBinHighEdge( etaIndex ) ;
207  double phiLow = l1CaloGeom->emJetPhiBinLowEdge( phiIndex ) ;
208  double phiHigh = l1CaloGeom->emJetPhiBinHighEdge( phiIndex ) ;
209 
210 
211  int isforw=0;
212  int isbarl=0;
213  if((float)(etaHigh)>1.479 || (float)(etaLow)<-1.479) isforw=1;
214  if(((float)(etaLow)>-1.479 && (float)(etaLow)<1.479) ||
215  ((float)(etaHigh)>-1.479 && (float)(etaHigh)<1.479)) isbarl=1;
216 
217  //std::cout<<"Multi5x5 etaindex "<<etaIndex<<" low hig : "<<etaLow<<" "<<etaHigh<<" phi low hig" <<phiLow<<" " << phiHigh<<" isforw "<<emItr->gctEmCand()->regionId().isForward()<<" isforwnew" <<isforw<< std::endl;
218 
219  etaLow -= regionEtaMargin_;
220  etaHigh += regionEtaMargin_;
221  phiLow -= regionPhiMargin_;
222  phiHigh += regionPhiMargin_;
223 
224  //if (emItr->gctEmCand()->regionId().isForward()) {
225  if (isforw) {
226  if (etaHigh>-1.479 && etaHigh<1.479) etaHigh=-1.479;
227  if ( etaLow>-1.479 && etaLow<1.479) etaLow=1.479;
228  EcalEtaPhiRegion region(etaLow,etaHigh,phiLow,phiHigh);
229  endcapRegions.push_back(region);
230  }
231  if (isbarl) {
232  if (etaHigh>1.479) etaHigh=1.479;
233  if (etaLow<-1.479) etaLow=-1.479;
234  EcalEtaPhiRegion region(etaLow,etaHigh,phiLow,phiHigh);
235  barrelRegions.push_back(region);
236  }
237 
238  }
239  }
240  }
241 
242 
243  if (doEndcaps_) {
245  }
246  if (doBarrel_) {
248  }
249  nEvt_++;
250 }
void clusterizeECALPart(edm::Event &evt, const edm::EventSetup &es, edm::EDGetTokenT< EcalRecHitCollection > &hitToken, const std::string &clusterCollection, const std::vector< EcalEtaPhiRegion > &regions, const reco::CaloID::Detectors detector)
bool getByToken(EDGetToken token, Handle< PROD > &result) const
Definition: Event.h:462
edm::EDGetTokenT< l1extra::L1EmParticleCollection > l1TagNonIsolated_
edm::EDGetTokenT< EcalRecHitCollection > barrelHitToken_
edm::EDGetTokenT< EcalRecHitCollection > endcapHitToken_
const T & get() const
Definition: EventSetup.h:56
edm::EDGetTokenT< l1extra::L1EmParticleCollection > l1TagIsolated_

Member Data Documentation

std::string EgammaHLTMulti5x5ClusterProducer::barrelClusterCollection_
private
edm::InputTag EgammaHLTMulti5x5ClusterProducer::barrelHitCollection_
private

Definition at line 43 of file EgammaHLTMulti5x5ClusterProducer.h.

Referenced by EgammaHLTMulti5x5ClusterProducer().

edm::EDGetTokenT<EcalRecHitCollection> EgammaHLTMulti5x5ClusterProducer::barrelHitToken_
private

Definition at line 45 of file EgammaHLTMulti5x5ClusterProducer.h.

Referenced by EgammaHLTMulti5x5ClusterProducer(), and produce().

bool EgammaHLTMulti5x5ClusterProducer::doBarrel_
private

Definition at line 37 of file EgammaHLTMulti5x5ClusterProducer.h.

Referenced by EgammaHLTMulti5x5ClusterProducer(), and produce().

bool EgammaHLTMulti5x5ClusterProducer::doEndcaps_
private

Definition at line 38 of file EgammaHLTMulti5x5ClusterProducer.h.

Referenced by EgammaHLTMulti5x5ClusterProducer(), and produce().

bool EgammaHLTMulti5x5ClusterProducer::doIsolated_
private

Definition at line 39 of file EgammaHLTMulti5x5ClusterProducer.h.

Referenced by EgammaHLTMulti5x5ClusterProducer(), and produce().

std::string EgammaHLTMulti5x5ClusterProducer::endcapClusterCollection_
private
edm::InputTag EgammaHLTMulti5x5ClusterProducer::endcapHitCollection_
private

Definition at line 44 of file EgammaHLTMulti5x5ClusterProducer.h.

Referenced by EgammaHLTMulti5x5ClusterProducer().

edm::EDGetTokenT<EcalRecHitCollection> EgammaHLTMulti5x5ClusterProducer::endcapHitToken_
private

Definition at line 46 of file EgammaHLTMulti5x5ClusterProducer.h.

Referenced by EgammaHLTMulti5x5ClusterProducer(), and produce().

double EgammaHLTMulti5x5ClusterProducer::l1LowerThr_
private

Definition at line 51 of file EgammaHLTMulti5x5ClusterProducer.h.

Referenced by EgammaHLTMulti5x5ClusterProducer(), and produce().

double EgammaHLTMulti5x5ClusterProducer::l1LowerThrIgnoreIsolation_
private

Definition at line 53 of file EgammaHLTMulti5x5ClusterProducer.h.

Referenced by EgammaHLTMulti5x5ClusterProducer(), and produce().

edm::EDGetTokenT<l1extra::L1EmParticleCollection> EgammaHLTMulti5x5ClusterProducer::l1TagIsolated_
private

Definition at line 41 of file EgammaHLTMulti5x5ClusterProducer.h.

Referenced by EgammaHLTMulti5x5ClusterProducer(), and produce().

edm::EDGetTokenT<l1extra::L1EmParticleCollection> EgammaHLTMulti5x5ClusterProducer::l1TagNonIsolated_
private

Definition at line 42 of file EgammaHLTMulti5x5ClusterProducer.h.

Referenced by EgammaHLTMulti5x5ClusterProducer(), and produce().

double EgammaHLTMulti5x5ClusterProducer::l1UpperThr_
private

Definition at line 52 of file EgammaHLTMulti5x5ClusterProducer.h.

Referenced by EgammaHLTMulti5x5ClusterProducer(), and produce().

Multi5x5ClusterAlgo* EgammaHLTMulti5x5ClusterProducer::Multi5x5_p
private
int EgammaHLTMulti5x5ClusterProducer::nEvt_
private
int EgammaHLTMulti5x5ClusterProducer::nMaxPrintout_
private

Definition at line 34 of file EgammaHLTMulti5x5ClusterProducer.h.

Referenced by counterExceeded().

PositionCalc EgammaHLTMulti5x5ClusterProducer::posCalculator_
private

Definition at line 58 of file EgammaHLTMulti5x5ClusterProducer.h.

Referenced by EgammaHLTMulti5x5ClusterProducer().

double EgammaHLTMulti5x5ClusterProducer::regionEtaMargin_
private

Definition at line 55 of file EgammaHLTMulti5x5ClusterProducer.h.

Referenced by EgammaHLTMulti5x5ClusterProducer(), and produce().

double EgammaHLTMulti5x5ClusterProducer::regionPhiMargin_
private

Definition at line 56 of file EgammaHLTMulti5x5ClusterProducer.h.

Referenced by EgammaHLTMulti5x5ClusterProducer(), and produce().