CMS 3D CMS Logo

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

#include <EgammaSimpleAnalyzer.h>

Inheritance diagram for EgammaSimpleAnalyzer:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &)
 
virtual void beginJob ()
 
 EgammaSimpleAnalyzer (const edm::ParameterSet &)
 
virtual void endJob ()
 
 ~EgammaSimpleAnalyzer ()
 
- Public Member Functions inherited from edm::EDAnalyzer
 EDAnalyzer ()
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 
- Public Member Functions inherited from edm::EDConsumerBase
 EDConsumerBase ()
 
ProductHolderIndex indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const
 
void itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &)
 
virtual ~EDConsumerBase ()
 

Private Attributes

std::string correctedHybridSuperClusterCollection_
 
std::string correctedHybridSuperClusterProducer_
 
std::string correctedIslandEndcapSuperClusterCollection_
 
std::string correctedIslandEndcapSuperClusterProducer_
 
TH1F * h1_corrHybridSCEnergy_
 
TH1F * h1_corrHybridSCET_
 
TH1F * h1_corrHybridSCEta_
 
TH1F * h1_corrHybridSCPhi_
 
TH1F * h1_corrIslandEESCEnergy_
 
TH1F * h1_corrIslandEESCET_
 
TH1F * h1_hybridSCClusters_
 
TH1F * h1_hybridSCEnergy_
 
TH1F * h1_islandEBBCe5x5_
 
TH1F * h1_islandEBBCe9over25_
 
TH1F * h1_islandEBBCEnergy_
 
TH1F * h1_islandEBBCXtals_
 
TH1F * h1_islandEEBCe5x5_
 
TH1F * h1_islandEEBCEnergy_
 
TH1F * h1_islandEEBCXtals_
 
TH1F * h1_islandEESCClusters_
 
TH1F * h1_islandEESCEnergy_
 
TH1F * h1_nHybridSC_
 
TH1F * h1_nIslandEBBC_
 
TH1F * h1_nIslandEEBC_
 
TH1F * h1_nIslandEESC_
 
std::string hybridSuperClusterCollection_
 
std::string hybridSuperClusterProducer_
 
std::string islandBarrelBasicClusterCollection_
 
std::string islandBarrelBasicClusterProducer_
 
std::string islandBarrelBasicClusterShapes_
 
std::string islandEndcapBasicClusterCollection_
 
std::string islandEndcapBasicClusterProducer_
 
std::string islandEndcapBasicClusterShapes_
 
std::string islandEndcapSuperClusterCollection_
 
std::string islandEndcapSuperClusterProducer_
 
int nbinHist_
 
std::string outputFile_
 
TFile * rootFile_
 
double xMaxHist_
 
double xMinHist_
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
typedef WorkerT< EDAnalyzerWorkerType
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
CurrentProcessingContext const * currentContext () const
 
- 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

Description: Analyzer to fetch collection of objects from event and make simple plots

Implementation: \

Author
: Shahram Rahatlou, May 2006

Description: <one line="" class="" summary>="">

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

Definition at line 35 of file EgammaSimpleAnalyzer.h.

Constructor & Destructor Documentation

EgammaSimpleAnalyzer::EgammaSimpleAnalyzer ( const edm::ParameterSet ps)
explicit

Definition at line 29 of file EgammaSimpleAnalyzer.cc.

References correctedHybridSuperClusterCollection_, correctedHybridSuperClusterProducer_, correctedIslandEndcapSuperClusterCollection_, correctedIslandEndcapSuperClusterProducer_, edm::ParameterSet::getParameter(), hybridSuperClusterCollection_, hybridSuperClusterProducer_, islandBarrelBasicClusterCollection_, islandBarrelBasicClusterProducer_, islandBarrelBasicClusterShapes_, islandEndcapBasicClusterCollection_, islandEndcapBasicClusterProducer_, islandEndcapBasicClusterShapes_, islandEndcapSuperClusterCollection_, islandEndcapSuperClusterProducer_, nbinHist_, outputFile_, rootFile_, AlCaHLTBitMon_QueryRunRegistry::string, xMaxHist_, and xMinHist_.

31 {
32 
33  xMinHist_ = ps.getParameter<double>("xMinHist");
34  xMaxHist_ = ps.getParameter<double>("xMaxHist");
35  nbinHist_ = ps.getParameter<int>("nbinHist");
36 
37  islandBarrelBasicClusterCollection_ = ps.getParameter<std::string>("islandBarrelBasicClusterCollection");
38  islandBarrelBasicClusterProducer_ = ps.getParameter<std::string>("islandBarrelBasicClusterProducer");
39  islandBarrelBasicClusterShapes_ = ps.getParameter<std::string>("islandBarrelBasicClusterShapes");
40 
41  islandEndcapBasicClusterCollection_ = ps.getParameter<std::string>("islandEndcapBasicClusterCollection");
42  islandEndcapBasicClusterProducer_ = ps.getParameter<std::string>("islandEndcapBasicClusterProducer");
43  islandEndcapBasicClusterShapes_ = ps.getParameter<std::string>("islandEndcapBasicClusterShapes");
44 
45  islandEndcapSuperClusterCollection_ = ps.getParameter<std::string>("islandEndcapSuperClusterCollection");
46  islandEndcapSuperClusterProducer_ = ps.getParameter<std::string>("islandEndcapSuperClusterProducer");
47 
48  correctedIslandEndcapSuperClusterCollection_ = ps.getParameter<std::string>("correctedIslandEndcapSuperClusterCollection");
49  correctedIslandEndcapSuperClusterProducer_ = ps.getParameter<std::string>("correctedIslandEndcapSuperClusterProducer");
50 
51  hybridSuperClusterCollection_ = ps.getParameter<std::string>("hybridSuperClusterCollection");
52  hybridSuperClusterProducer_ = ps.getParameter<std::string>("hybridSuperClusterProducer");
53 
54  correctedHybridSuperClusterCollection_ = ps.getParameter<std::string>("correctedHybridSuperClusterCollection");
55  correctedHybridSuperClusterProducer_ = ps.getParameter<std::string>("correctedHybridSuperClusterProducer");
56 
57  outputFile_ = ps.getParameter<std::string>("outputFile");
58  rootFile_ = TFile::Open(outputFile_.c_str(),"RECREATE"); // open output file to store histograms
59 
60 }
std::string islandEndcapSuperClusterCollection_
T getParameter(std::string const &) const
std::string correctedHybridSuperClusterProducer_
std::string islandEndcapBasicClusterShapes_
std::string correctedIslandEndcapSuperClusterCollection_
std::string islandEndcapSuperClusterProducer_
std::string islandEndcapBasicClusterProducer_
std::string islandBarrelBasicClusterCollection_
std::string islandEndcapBasicClusterCollection_
std::string islandBarrelBasicClusterProducer_
std::string islandBarrelBasicClusterShapes_
std::string hybridSuperClusterProducer_
std::string hybridSuperClusterCollection_
std::string correctedHybridSuperClusterCollection_
std::string correctedIslandEndcapSuperClusterProducer_
EgammaSimpleAnalyzer::~EgammaSimpleAnalyzer ( )

Definition at line 64 of file EgammaSimpleAnalyzer.cc.

References rootFile_.

66 {
67 
68  // apparently ROOT takes ownership of histograms
69  // created after opening a new TFile... no delete is needed
70  // ... mysteries of root...
71  /*
72  delete h1_islandBCEnergy_;
73  delete h1_islandSCEnergy_;
74  delete h1_corrIslandSCEnergy_;
75  delete h1_hybridSCEnergy_;
76  delete h1_corrHybridSCEnergy_;
77  delete h1_corrHybridSCEta_;
78  delete h1_corrHybridSCPhi_;
79  */
80  delete rootFile_;
81 }

Member Function Documentation

void EgammaSimpleAnalyzer::analyze ( const edm::Event evt,
const edm::EventSetup es 
)
virtual

Implements edm::EDAnalyzer.

Definition at line 123 of file EgammaSimpleAnalyzer.cc.

References correctedHybridSuperClusterCollection_, correctedHybridSuperClusterProducer_, correctedHybridSuperClusters_cfi::correctedHybridSuperClusters, correctedIslandEndcapSuperClusterCollection_, correctedIslandEndcapSuperClusterProducer_, correctedIslandEndcapSuperClusters_cfi::correctedIslandEndcapSuperClusters, edm::Event::getByLabel(), h1_corrHybridSCEnergy_, h1_corrHybridSCET_, h1_corrHybridSCEta_, h1_corrHybridSCPhi_, h1_corrIslandEESCEnergy_, h1_corrIslandEESCET_, h1_hybridSCClusters_, h1_hybridSCEnergy_, h1_islandEBBCe5x5_, h1_islandEBBCe9over25_, h1_islandEBBCEnergy_, h1_islandEBBCXtals_, h1_islandEEBCe5x5_, h1_islandEEBCEnergy_, h1_islandEEBCXtals_, h1_islandEESCClusters_, h1_islandEESCEnergy_, h1_nHybridSC_, h1_nIslandEBBC_, h1_nIslandEEBC_, h1_nIslandEESC_, hybridSuperClusterCollection_, hybridSuperClusterProducer_, unifiedSCCollection_cfi::hybridSuperClusters, islandBarrelBasicClusterCollection_, islandBarrelBasicClusterProducer_, islandBarrelBasicClusterShapes_, islandEndcapBasicClusterCollection_, islandEndcapBasicClusterProducer_, islandEndcapBasicClusterShapes_, islandEndcapSuperClusterCollection_, islandEndcapSuperClusterProducer_, and funct::sin().

123  {
124 //========================================================================
125 
126  using namespace edm; // needed for all fwk related classes
127 
128 
129  // ----- barrel with island
130 
131  // Get island basic clusters
132  Handle<reco::BasicClusterCollection> pIslandBarrelBasicClusters;
134  const reco::BasicClusterCollection* islandBarrelBasicClusters = pIslandBarrelBasicClusters.product();
135  h1_nIslandEBBC_->Fill(islandBarrelBasicClusters->size());
136 
137  // fetch cluster shapes of island basic clusters in barrel
138  Handle<reco::ClusterShapeCollection> pIslandEBShapes;
140  const reco::ClusterShapeCollection* islandEBShapes = pIslandEBShapes.product();
141 
142  std::ostringstream str;
143  str << "# island basic clusters in barrel: " << islandBarrelBasicClusters->size()
144  << "\t# associated cluster shapes: " << islandEBShapes->size() << "\n"
145  << "Loop over island basic clusters in barrel" << "\n";
146 
147  // loop over the Basic clusters and fill the histogram
148  int iClus=0;
149  for(reco::BasicClusterCollection::const_iterator aClus = islandBarrelBasicClusters->begin();
150  aClus != islandBarrelBasicClusters->end(); aClus++) {
151  h1_islandEBBCEnergy_->Fill( aClus->energy() );
152  h1_islandEBBCXtals_->Fill( aClus->size() );
153  str << "energy: " << aClus->energy()
154  << "\te5x5: " << (*islandEBShapes)[iClus].e5x5()
155  << "\te2x2: " << (*islandEBShapes)[iClus].e2x2()
156  << "\n";
157  h1_islandEBBCe5x5_->Fill( (*islandEBShapes)[iClus].e5x5() );
158 
159  iClus++;
160  }
161  edm::LogInfo("EgammaSimpleAnalyzer") << str.str();
162 
163  // extract energy corrections applied
164 
165  // ---- island in endcap
166 
167  // Get island basic clusters
168  Handle<reco::BasicClusterCollection> pIslandEndcapBasicClusters;
170  const reco::BasicClusterCollection* islandEndcapBasicClusters = pIslandEndcapBasicClusters.product();
171  h1_nIslandEEBC_->Fill(islandEndcapBasicClusters->size());
172 
173  // fetch cluster shapes of island basic clusters in endcap
174  Handle<reco::ClusterShapeCollection> pIslandEEShapes;
176  const reco::ClusterShapeCollection* islandEEShapes = pIslandEEShapes.product();
177 
178  // loop over the Basic clusters and fill the histogram
179  iClus=0;
180  for(reco::BasicClusterCollection::const_iterator aClus = islandEndcapBasicClusters->begin();
181  aClus != islandEndcapBasicClusters->end(); aClus++) {
182  h1_islandEEBCEnergy_->Fill( aClus->energy() );
183  h1_islandEEBCXtals_->Fill( aClus->size() );
184  h1_islandEEBCe5x5_->Fill( (*islandEEShapes)[iClus].e5x5() );
185  h1_islandEBBCe9over25_->Fill( (*islandEEShapes)[iClus].e3x3()/(*islandEEShapes)[iClus].e5x5() );
186  iClus++;
187  }
188  edm::LogInfo("EgammaSimpleAnalyzer") << str.str();
189 
190  // Get island super clusters
191  Handle<reco::SuperClusterCollection> pIslandEndcapSuperClusters;
193  const reco::SuperClusterCollection* islandEndcapSuperClusters = pIslandEndcapSuperClusters.product();
194 
195  // loop over the super clusters and fill the histogram
196  for(reco::SuperClusterCollection::const_iterator aClus = islandEndcapSuperClusters->begin();
197  aClus != islandEndcapSuperClusters->end(); aClus++) {
198  h1_islandEESCEnergy_->Fill( aClus->energy() );
199  }
200 
201 
202  // Get island super clusters after energy correction
203  Handle<reco::SuperClusterCollection> pCorrectedIslandEndcapSuperClusters;
205  const reco::SuperClusterCollection* correctedIslandEndcapSuperClusters = pCorrectedIslandEndcapSuperClusters.product();
206  h1_nIslandEESC_->Fill(islandEndcapSuperClusters->size());
207 
208  // loop over the super clusters and fill the histogram
209  for(reco::SuperClusterCollection::const_iterator aClus = correctedIslandEndcapSuperClusters->begin();
210  aClus != correctedIslandEndcapSuperClusters->end(); aClus++) {
211  h1_corrIslandEESCEnergy_->Fill( aClus->energy() );
212  h1_corrIslandEESCET_->Fill( aClus->energy()*sin(aClus->position().theta()) );
213  h1_islandEESCClusters_->Fill( aClus->clustersSize() );
214  }
215 
216  // extract energy corrections applied
217 
218 
219  // ----- hybrid
220 
221  // Get hybrid super clusters
222  Handle<reco::SuperClusterCollection> pHybridSuperClusters;
224  const reco::SuperClusterCollection* hybridSuperClusters = pHybridSuperClusters.product();
225 
226  // loop over the super clusters and fill the histogram
227  for(reco::SuperClusterCollection::const_iterator aClus = hybridSuperClusters->begin();
228  aClus != hybridSuperClusters->end(); aClus++) {
229  h1_hybridSCEnergy_->Fill( aClus->energy() );
230  }
231 
232 
233  // Get hybrid super clusters after energy correction
234  Handle<reco::SuperClusterCollection> pCorrectedHybridSuperClusters;
236  const reco::SuperClusterCollection* correctedHybridSuperClusters = pCorrectedHybridSuperClusters.product();
238 
239 
240  // loop over the super clusters and fill the histogram
241  for(reco::SuperClusterCollection::const_iterator aClus = correctedHybridSuperClusters->begin();
242  aClus != correctedHybridSuperClusters->end(); aClus++) {
243  h1_hybridSCClusters_->Fill( aClus->clustersSize() );
244  h1_corrHybridSCEnergy_->Fill( aClus->energy() );
245  h1_corrHybridSCET_->Fill( aClus->energy()*sin(aClus->position().theta()) );
246  h1_corrHybridSCEta_->Fill( aClus->position().eta() );
247  h1_corrHybridSCPhi_->Fill( aClus->position().phi() );
248  }
249 
250 }
std::string islandEndcapSuperClusterCollection_
std::string correctedHybridSuperClusterProducer_
std::string islandEndcapBasicClusterShapes_
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
std::string correctedIslandEndcapSuperClusterCollection_
std::vector< ClusterShape > ClusterShapeCollection
collection of ClusterShape objects
std::string islandEndcapSuperClusterProducer_
std::string islandEndcapBasicClusterProducer_
std::vector< SuperCluster > SuperClusterCollection
collection of SuperCluser objectr
std::string islandBarrelBasicClusterCollection_
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:361
std::string islandEndcapBasicClusterCollection_
std::string islandBarrelBasicClusterProducer_
std::string islandBarrelBasicClusterShapes_
std::vector< BasicCluster > BasicClusterCollection
collection of BasicCluster objects
std::string hybridSuperClusterProducer_
std::string hybridSuperClusterCollection_
std::string correctedHybridSuperClusterCollection_
std::string correctedIslandEndcapSuperClusterProducer_
void EgammaSimpleAnalyzer::beginJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 85 of file EgammaSimpleAnalyzer.cc.

References h1_corrHybridSCEnergy_, h1_corrHybridSCET_, h1_corrHybridSCEta_, h1_corrHybridSCPhi_, h1_corrIslandEESCEnergy_, h1_corrIslandEESCET_, h1_hybridSCClusters_, h1_hybridSCEnergy_, h1_islandEBBCe5x5_, h1_islandEBBCe9over25_, h1_islandEBBCEnergy_, h1_islandEBBCXtals_, h1_islandEEBCe5x5_, h1_islandEEBCEnergy_, h1_islandEEBCXtals_, h1_islandEESCClusters_, h1_islandEESCEnergy_, h1_nHybridSC_, h1_nIslandEBBC_, h1_nIslandEEBC_, h1_nIslandEESC_, nbinHist_, rootFile_, xMaxHist_, and xMinHist_.

85  {
86 //========================================================================
87 
88  // go to *OUR* rootfile and book histograms
89  rootFile_->cd();
90 
91  h1_nIslandEBBC_ = new TH1F("nIslandEBBC","# basic clusters with island in barrel",11,-0.5,10.5);
92  h1_nIslandEEBC_ = new TH1F("nIslandEEBC","# basic clusters with island in endcap",11,-0.5,10.5);
93 
94  h1_nIslandEESC_ = new TH1F("nIslandEESC","# super clusters with island in endcap",11,-0.5,10.5);
95  h1_nHybridSC_ = new TH1F("nHybridSC","# super clusters with hybrid",11,-0.5,10.5);
96 
97  h1_islandEBBCEnergy_ = new TH1F("islandEBBCEnergy","Energy of basic clusters with island algo - barrel",nbinHist_,xMinHist_,xMaxHist_);
98  h1_islandEBBCXtals_ = new TH1F("islandEBBCXtals","#xtals in basic cluster - island barrel",51,-0.5,50.5);
99 
100  h1_islandEBBCe9over25_= new TH1F("islandEBBCe9over25","e3x3/e5x5 of basic clusters with island algo - barrel",35,0.5,1.2);
101  h1_islandEBBCe5x5_ = new TH1F("islandEBBCe5x5","e5x5 of basic clusters with island algo - barrel",nbinHist_,xMinHist_,xMaxHist_);
102  h1_islandEEBCe5x5_ = new TH1F("islandEEBCe5x5","e5x5 of basic clusters with island algo - endcap",nbinHist_,xMinHist_,xMaxHist_);
103  h1_islandEEBCEnergy_ = new TH1F("islandEEBCEnergy","Energy of basic clusters with island algo - endcap",nbinHist_,xMinHist_,xMaxHist_);
104  h1_islandEEBCXtals_ = new TH1F("islandEEBCXtals","#xtals in basic cluster - island endcap",51,-0.5,50.5);
105 
106  h1_islandEESCEnergy_ = new TH1F("islandEESCEnergy","Energy of super clusters with island algo - endcap",nbinHist_,xMinHist_,xMaxHist_);
107  h1_corrIslandEESCEnergy_ = new TH1F("corrIslandEESCEnergy","Corrected Energy of super clusters with island algo - endcap",nbinHist_,xMinHist_,xMaxHist_);
108  h1_corrIslandEESCET_ = new TH1F("corrIslandEESCET","Corrected Transverse Energy of super clusters with island algo - endcap",nbinHist_,xMinHist_,xMaxHist_);
109  h1_islandEESCClusters_ = new TH1F("islandEESCClusters","# basic clusters in super cluster - island endcap",11,-0.5,10.5);
110 
111  h1_hybridSCEnergy_ = new TH1F("hybridSCEnergy","Energy of super clusters with hybrid algo",nbinHist_,xMinHist_,xMaxHist_);
112  h1_corrHybridSCEnergy_ = new TH1F("corrHybridSCEnergy","Corrected Energy of super clusters with hybrid algo",nbinHist_,xMinHist_,xMaxHist_);
113  h1_corrHybridSCET_ = new TH1F("corrHybridSCET","Corrected Transverse Energy of super clusters with hybrid algo",nbinHist_,xMinHist_,xMaxHist_);
114  h1_corrHybridSCEta_ = new TH1F("corrHybridSCEta","Eta of super clusters with hybrid algo",40,-3.,3.);
115  h1_corrHybridSCPhi_ = new TH1F("corrHybridSCPhi","Phi of super clusters with hybrid algo",40,0.,6.28);
116  h1_hybridSCClusters_ = new TH1F("hybridSCClusters","# basic clusters in super cluster - hybrid",11,-0.5,10.5);
117 
118 }
void EgammaSimpleAnalyzer::endJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 254 of file EgammaSimpleAnalyzer.cc.

References h1_corrHybridSCEnergy_, h1_corrHybridSCET_, h1_corrHybridSCEta_, h1_corrHybridSCPhi_, h1_corrIslandEESCEnergy_, h1_corrIslandEESCET_, h1_hybridSCClusters_, h1_hybridSCEnergy_, h1_islandEBBCe5x5_, h1_islandEBBCe9over25_, h1_islandEBBCEnergy_, h1_islandEBBCXtals_, h1_islandEEBCe5x5_, h1_islandEEBCEnergy_, h1_islandEEBCXtals_, h1_islandEESCClusters_, h1_islandEESCEnergy_, h1_nHybridSC_, h1_nIslandEBBC_, h1_nIslandEEBC_, h1_nIslandEESC_, and rootFile_.

254  {
255 //========================================================================
256 
257  // go to *OUR* root file and store histograms
258  rootFile_->cd();
259 
260  h1_nIslandEBBC_->Write();
261  h1_nIslandEEBC_->Write();
262  h1_nIslandEESC_->Write();
263  h1_nHybridSC_->Write();
264 
265  h1_islandEBBCe9over25_->Write();
266  h1_islandEBBCe5x5_->Write();
267  h1_islandEBBCEnergy_->Write();
268  h1_islandEBBCXtals_->Write();
269 
270  h1_islandEEBCe5x5_->Write();
271  h1_islandEEBCEnergy_->Write();
272  h1_islandEEBCXtals_->Write();
273 
274  h1_islandEESCEnergy_->Write();
275  h1_corrIslandEESCEnergy_->Write();
276  h1_corrIslandEESCET_->Write();
277  h1_islandEESCClusters_->Write();
278 
279  h1_hybridSCClusters_->Write();
280  h1_hybridSCEnergy_->Write();
281  h1_corrHybridSCEnergy_->Write();
282  h1_corrHybridSCET_->Write();
283  h1_corrHybridSCEta_->Write();
284  h1_corrHybridSCPhi_->Write();
285 
286  rootFile_->Close();
287 }

Member Data Documentation

std::string EgammaSimpleAnalyzer::correctedHybridSuperClusterCollection_
private

Definition at line 65 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), and EgammaSimpleAnalyzer().

std::string EgammaSimpleAnalyzer::correctedHybridSuperClusterProducer_
private

Definition at line 66 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), and EgammaSimpleAnalyzer().

std::string EgammaSimpleAnalyzer::correctedIslandEndcapSuperClusterCollection_
private

Definition at line 59 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), and EgammaSimpleAnalyzer().

std::string EgammaSimpleAnalyzer::correctedIslandEndcapSuperClusterProducer_
private

Definition at line 60 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), and EgammaSimpleAnalyzer().

TH1F* EgammaSimpleAnalyzer::h1_corrHybridSCEnergy_
private

Definition at line 99 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), beginJob(), and endJob().

TH1F* EgammaSimpleAnalyzer::h1_corrHybridSCET_
private

Definition at line 100 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), beginJob(), and endJob().

TH1F* EgammaSimpleAnalyzer::h1_corrHybridSCEta_
private

Definition at line 101 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), beginJob(), and endJob().

TH1F* EgammaSimpleAnalyzer::h1_corrHybridSCPhi_
private

Definition at line 102 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), beginJob(), and endJob().

TH1F* EgammaSimpleAnalyzer::h1_corrIslandEESCEnergy_
private

Definition at line 94 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), beginJob(), and endJob().

TH1F* EgammaSimpleAnalyzer::h1_corrIslandEESCET_
private

Definition at line 95 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), beginJob(), and endJob().

TH1F* EgammaSimpleAnalyzer::h1_hybridSCClusters_
private

Definition at line 103 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), beginJob(), and endJob().

TH1F* EgammaSimpleAnalyzer::h1_hybridSCEnergy_
private

Definition at line 98 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), beginJob(), and endJob().

TH1F* EgammaSimpleAnalyzer::h1_islandEBBCe5x5_
private

Definition at line 85 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), beginJob(), and endJob().

TH1F* EgammaSimpleAnalyzer::h1_islandEBBCe9over25_
private

Definition at line 84 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), beginJob(), and endJob().

TH1F* EgammaSimpleAnalyzer::h1_islandEBBCEnergy_
private

Definition at line 86 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), beginJob(), and endJob().

TH1F* EgammaSimpleAnalyzer::h1_islandEBBCXtals_
private

Definition at line 87 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), beginJob(), and endJob().

TH1F* EgammaSimpleAnalyzer::h1_islandEEBCe5x5_
private

Definition at line 89 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), beginJob(), and endJob().

TH1F* EgammaSimpleAnalyzer::h1_islandEEBCEnergy_
private

Definition at line 90 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), beginJob(), and endJob().

TH1F* EgammaSimpleAnalyzer::h1_islandEEBCXtals_
private

Definition at line 91 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), beginJob(), and endJob().

TH1F* EgammaSimpleAnalyzer::h1_islandEESCClusters_
private

Definition at line 96 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), beginJob(), and endJob().

TH1F* EgammaSimpleAnalyzer::h1_islandEESCEnergy_
private

Definition at line 93 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), beginJob(), and endJob().

TH1F* EgammaSimpleAnalyzer::h1_nHybridSC_
private

Definition at line 82 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), beginJob(), and endJob().

TH1F* EgammaSimpleAnalyzer::h1_nIslandEBBC_
private

Definition at line 79 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), beginJob(), and endJob().

TH1F* EgammaSimpleAnalyzer::h1_nIslandEEBC_
private

Definition at line 80 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), beginJob(), and endJob().

TH1F* EgammaSimpleAnalyzer::h1_nIslandEESC_
private

Definition at line 81 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), beginJob(), and endJob().

std::string EgammaSimpleAnalyzer::hybridSuperClusterCollection_
private

Definition at line 62 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), and EgammaSimpleAnalyzer().

std::string EgammaSimpleAnalyzer::hybridSuperClusterProducer_
private

Definition at line 63 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), and EgammaSimpleAnalyzer().

std::string EgammaSimpleAnalyzer::islandBarrelBasicClusterCollection_
private

Definition at line 48 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), and EgammaSimpleAnalyzer().

std::string EgammaSimpleAnalyzer::islandBarrelBasicClusterProducer_
private

Definition at line 49 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), and EgammaSimpleAnalyzer().

std::string EgammaSimpleAnalyzer::islandBarrelBasicClusterShapes_
private

Definition at line 50 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), and EgammaSimpleAnalyzer().

std::string EgammaSimpleAnalyzer::islandEndcapBasicClusterCollection_
private

Definition at line 52 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), and EgammaSimpleAnalyzer().

std::string EgammaSimpleAnalyzer::islandEndcapBasicClusterProducer_
private

Definition at line 53 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), and EgammaSimpleAnalyzer().

std::string EgammaSimpleAnalyzer::islandEndcapBasicClusterShapes_
private

Definition at line 54 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), and EgammaSimpleAnalyzer().

std::string EgammaSimpleAnalyzer::islandEndcapSuperClusterCollection_
private

Definition at line 56 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), and EgammaSimpleAnalyzer().

std::string EgammaSimpleAnalyzer::islandEndcapSuperClusterProducer_
private

Definition at line 57 of file EgammaSimpleAnalyzer.h.

Referenced by analyze(), and EgammaSimpleAnalyzer().

int EgammaSimpleAnalyzer::nbinHist_
private

Definition at line 74 of file EgammaSimpleAnalyzer.h.

Referenced by beginJob(), and EgammaSimpleAnalyzer().

std::string EgammaSimpleAnalyzer::outputFile_
private

Definition at line 46 of file EgammaSimpleAnalyzer.h.

Referenced by EgammaSimpleAnalyzer().

TFile* EgammaSimpleAnalyzer::rootFile_
private
double EgammaSimpleAnalyzer::xMaxHist_
private

Definition at line 73 of file EgammaSimpleAnalyzer.h.

Referenced by beginJob(), and EgammaSimpleAnalyzer().

double EgammaSimpleAnalyzer::xMinHist_
private

Definition at line 72 of file EgammaSimpleAnalyzer.h.

Referenced by beginJob(), and EgammaSimpleAnalyzer().