CMS 3D CMS Logo

HiSuperClusterProducer.h
Go to the documentation of this file.
1 #ifndef RecoHi_HiEgammaAlgos_HiSuperClusterProducer_h_
2 #define RecoHi_HiEgammaAlgos_HiSuperClusterProducer_h_
3 
4 #include <memory>
5 
10 
12 
14 
16 
17 //
18 
20 public:
22 
23  ~HiSuperClusterProducer() override;
24 
25  void produce(edm::Event&, const edm::EventSetup&) override;
26  virtual void endJob();
27 
28 private:
29  int nMaxPrintout_; // max # of printouts
30  int nEvt_; // internal counter of events
31 
33 
36 
39 
47 
48  bool doBarrel_;
49  bool doEndcaps_;
50 
52 
53  double totalE;
55 
59 
62  std::string superclusterColection);
63 
65 
66  bool counterExceeded() const { return ((nEvt_ > nMaxPrintout_) || (nMaxPrintout_ < 0)); }
67 };
68 
69 #endif
HiBremRecoveryClusterAlgo.h
HiSuperClusterProducer::endJob
virtual void endJob()
Definition: HiSuperClusterProducer.cc:80
HiSuperClusterProducer::endcapBCEnergyThreshold_
float endcapBCEnergyThreshold_
Definition: HiSuperClusterProducer.h:46
HiSuperClusterProducer::eeClustersToken_
edm::EDGetTokenT< reco::BasicClusterCollection > eeClustersToken_
Definition: HiSuperClusterProducer.h:37
HiSuperClusterProducer
Definition: HiSuperClusterProducer.h:19
edm::EDGetTokenT< reco::BasicClusterCollection >
HiSuperClusterProducer::HiSuperClusterProducer
HiSuperClusterProducer(const edm::ParameterSet &ps)
Definition: HiSuperClusterProducer.cc:25
EDProducer.h
HiSuperClusterProducer::barrelEtaSearchRoad_
float barrelEtaSearchRoad_
Definition: HiSuperClusterProducer.h:40
HiSuperClusterProducer::bremAlgo_p
HiBremRecoveryClusterAlgo * bremAlgo_p
Definition: HiSuperClusterProducer.h:51
BasicClusterFwd.h
HiSuperClusterProducer::outputValidationInfo
void outputValidationInfo(reco::SuperClusterCollection &superclusterCollection)
HiSuperClusterProducer::verbosity
HiBremRecoveryClusterAlgo::VerbosityLevel verbosity
Definition: HiSuperClusterProducer.h:32
HiSuperClusterProducer::counterExceeded
bool counterExceeded() const
Definition: HiSuperClusterProducer.h:66
reco::SuperClusterCollection
std::vector< SuperCluster > SuperClusterCollection
collection of SuperCluser objectr
Definition: SuperClusterFwd.h:9
HiSuperClusterProducer::endcapSuperclusterCollection_
std::string endcapSuperclusterCollection_
Definition: HiSuperClusterProducer.h:34
edm::PtrVector< CaloCluster >
HiSuperClusterProducer::endcapEtaSearchRoad_
float endcapEtaSearchRoad_
Definition: HiSuperClusterProducer.h:42
HiSuperClusterProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition: HiSuperClusterProducer.cc:93
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
HiSuperClusterProducer::doBarrel_
bool doBarrel_
Definition: HiSuperClusterProducer.h:48
HiSuperClusterProducer::seedTransverseEnergyThreshold_
float seedTransverseEnergyThreshold_
Definition: HiSuperClusterProducer.h:44
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
HiSuperClusterProducer::barrelPhiSearchRoad_
float barrelPhiSearchRoad_
Definition: HiSuperClusterProducer.h:41
HiSuperClusterProducer::totalE
double totalE
Definition: HiSuperClusterProducer.h:53
HiSuperClusterProducer::nEvt_
int nEvt_
Definition: HiSuperClusterProducer.h:30
HiSuperClusterProducer::doEndcaps_
bool doEndcaps_
Definition: HiSuperClusterProducer.h:49
edm::stream::EDProducer
Definition: EDProducer.h:38
edm::EventSetup
Definition: EventSetup.h:57
HiSuperClusterProducer::barrelSuperclusterCollection_
std::string barrelSuperclusterCollection_
Definition: HiSuperClusterProducer.h:35
HiSuperClusterProducer::noSuperClusters
int noSuperClusters
Definition: HiSuperClusterProducer.h:54
HiSuperClusterProducer::getClusterPtrVector
void getClusterPtrVector(edm::Event &evt, const edm::EDGetTokenT< reco::BasicClusterCollection > &clustersToken, reco::CaloClusterPtrVector *)
Definition: HiSuperClusterProducer.cc:128
HiSuperClusterProducer::~HiSuperClusterProducer
~HiSuperClusterProducer() override
Definition: HiSuperClusterProducer.cc:78
Frameworkfwd.h
hybridSuperClusters_cfi.superclusterCollection
superclusterCollection
Definition: hybridSuperClusters_cfi.py:31
EventSetup.h
HiSuperClusterProducer::endcapPhiSearchRoad_
float endcapPhiSearchRoad_
Definition: HiSuperClusterProducer.h:43
HiSuperClusterProducer::ebClustersToken_
edm::EDGetTokenT< reco::BasicClusterCollection > ebClustersToken_
Definition: HiSuperClusterProducer.h:38
HiSuperClusterProducer::nMaxPrintout_
int nMaxPrintout_
Definition: HiSuperClusterProducer.h:29
ParameterSet.h
HiBremRecoveryClusterAlgo
Definition: HiBremRecoveryClusterAlgo.h:21
HiSuperClusterProducer::produceSuperclustersForECALPart
void produceSuperclustersForECALPart(edm::Event &evt, const edm::EDGetTokenT< reco::BasicClusterCollection > &clustersToken, std::string superclusterColection)
Definition: HiSuperClusterProducer.cc:103
edm::Event
Definition: Event.h:73
HiSuperClusterProducer::barrelBCEnergyThreshold_
float barrelBCEnergyThreshold_
Definition: HiSuperClusterProducer.h:45
HiBremRecoveryClusterAlgo::VerbosityLevel
VerbosityLevel
Definition: HiBremRecoveryClusterAlgo.h:23