CMS 3D CMS Logo

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

#include <RecoEgamma/PhotonIdentification/test/PhotonIDSimpleAnalyzer.cc>

Inheritance diagram for PhotonIDSimpleAnalyzer:
edm::one::EDAnalyzer<> edm::one::EDAnalyzerBase edm::EDConsumerBase

Classes

struct  struct_recPhoton
 

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void beginJob () override
 
void endJob () override
 
 PhotonIDSimpleAnalyzer (const edm::ParameterSet &)
 
 ~PhotonIDSimpleAnalyzer () override
 
- Public Member Functions inherited from edm::one::EDAnalyzer<>
 EDAnalyzer ()=default
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
- Public Member Functions inherited from edm::one::EDAnalyzerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzerBase ()
 
ModuleDescription const & moduleDescription () const
 
bool wantsStreamLuminosityBlocks () const
 
bool wantsStreamRuns () const
 
 ~EDAnalyzerBase () 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 const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESProxyIndex const * esGetTokenIndices (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::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Attributes

bool createPhotonTTree_
 
TH1F * h_ebeeGap_
 
TH1F * h_ebetagap_
 
TH1F * h_ebphigap_
 
TH1F * h_eedeeGap_
 
TH1F * h_eeringGap_
 
TH1F * h_hadoverem_
 
TH1F * h_isoEcalRecHit_
 
TH1F * h_isoHcalRecHit_
 
TH1F * h_nPassEM_
 
TH1F * h_nPassingPho_
 
TH1F * h_nPho_
 
TH1F * h_ntrk_hollow_
 
TH1F * h_ntrk_solid_
 
TH1F * h_photonEt_
 
TH1F * h_photonEta_
 
TH1F * h_photonInAnyGap_
 
TH1F * h_photonPhi_
 
TH1F * h_photonScEt_
 
TH1F * h_photonScEta_
 
TH1F * h_photonScEtaWidth_
 
TH1F * h_photonScPhi_
 
TH1F * h_r9_
 
TH1F * h_trk_pt_hollow_
 
TH1F * h_trk_pt_solid_
 
double maxPhotonAbsEta_
 
double maxPhotonHoverE_
 
double minPhotonAbsEta_
 
double minPhotonEt_
 
double minPhotonR9_
 
std::string outputFile_
 
struct_recPhoton recPhoton
 
TFile * rootFile_
 
TTree * tree_PhotonAll_
 

Additional Inherited Members

- Public Types inherited from edm::one::EDAnalyzerBase
typedef EDAnalyzerBase ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::one::EDAnalyzerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- 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 ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
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: Generate various histograms for cuts and important photon ID parameters using a data sample of photons in QCD events.

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

Definition at line 73 of file PhotonIDSimpleAnalyzer.cc.

Constructor & Destructor Documentation

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

Definition at line 160 of file PhotonIDSimpleAnalyzer.cc.

References createPhotonTTree_, edm::ParameterSet::getParameter(), maxPhotonAbsEta_, maxPhotonHoverE_, minPhotonAbsEta_, minPhotonEt_, minPhotonR9_, outputFile_, rootFile_, and AlCaHLTBitMon_QueryRunRegistry::string.

160  {
161  // Read Parameters from configuration file
162 
163  // output filename
164  outputFile_ = ps.getParameter<std::string>("outputFile");
165  // Read variables that must be passed to allow a
166  // supercluster to be placed in histograms as a photon.
167  minPhotonEt_ = ps.getParameter<double>("minPhotonEt");
168  minPhotonAbsEta_ = ps.getParameter<double>("minPhotonAbsEta");
169  maxPhotonAbsEta_ = ps.getParameter<double>("maxPhotonAbsEta");
170  minPhotonR9_ = ps.getParameter<double>("minPhotonR9");
171  maxPhotonHoverE_ = ps.getParameter<double>("maxPhotonHoverE");
172 
173  // Read variable to that decidedes whether
174  // a TTree of photons is created or not
175  createPhotonTTree_ = ps.getParameter<bool>("createPhotonTTree");
176 
177  // open output file to store histograms
178  rootFile_ = TFile::Open(outputFile_.c_str(), "RECREATE");
179 }
T getParameter(std::string const &) const
PhotonIDSimpleAnalyzer::~PhotonIDSimpleAnalyzer ( )
override

Definition at line 184 of file PhotonIDSimpleAnalyzer.cc.

References rootFile_.

184  {
185  // do anything here that needs to be done at desctruction time
186  // (e.g. close files, deallocate resources etc.)
187 
188  delete rootFile_;
189 }

Member Function Documentation

void PhotonIDSimpleAnalyzer::analyze ( const edm::Event evt,
const edm::EventSetup es 
)
override

Definition at line 245 of file PhotonIDSimpleAnalyzer.cc.

References createPhotonTTree_, PhotonIDSimpleAnalyzer::struct_recPhoton::et, PhotonIDSimpleAnalyzer::struct_recPhoton::eta, edm::Event::getByLabel(), h_ebeeGap_, h_ebetagap_, h_ebphigap_, h_eedeeGap_, h_eeringGap_, h_hadoverem_, h_isoEcalRecHit_, h_isoHcalRecHit_, h_nPassEM_, h_nPassingPho_, h_nPho_, h_ntrk_hollow_, h_ntrk_solid_, h_photonEt_, h_photonEta_, h_photonInAnyGap_, h_photonPhi_, h_photonScEt_, h_photonScEta_, h_photonScEtaWidth_, h_photonScPhi_, h_r9_, h_trk_pt_hollow_, h_trk_pt_solid_, PhotonIDSimpleAnalyzer::struct_recPhoton::hadronicOverEm, PhotonIDSimpleAnalyzer::struct_recPhoton::isEBEEGap, PhotonIDSimpleAnalyzer::struct_recPhoton::isEBEtaGap, PhotonIDSimpleAnalyzer::struct_recPhoton::isEBPhiGap, PhotonIDSimpleAnalyzer::struct_recPhoton::isEEDeeGap, PhotonIDSimpleAnalyzer::struct_recPhoton::isEERingGap, PhotonIDSimpleAnalyzer::struct_recPhoton::isolationEcalRecHit, PhotonIDSimpleAnalyzer::struct_recPhoton::isolationHcalRecHit, PhotonIDSimpleAnalyzer::struct_recPhoton::isolationHollowTrkCone, PhotonIDSimpleAnalyzer::struct_recPhoton::isolationSolidTrkCone, maxPhotonAbsEta_, maxPhotonHoverE_, minPhotonAbsEta_, minPhotonEt_, minPhotonR9_, PhotonIDSimpleAnalyzer::struct_recPhoton::nTrkHollowCone, PhotonIDSimpleAnalyzer::struct_recPhoton::nTrkSolidCone, PhotonIDSimpleAnalyzer::struct_recPhoton::phi, BPHMonitor_cfi::photons, edm::Handle< T >::product(), PhotonIDSimpleAnalyzer::struct_recPhoton::r9, recPhoton, and tree_PhotonAll_.

245  {
246  using namespace std;
247  using namespace edm;
248 
249  // grab photons
251  evt.getByLabel("photons", "", photonColl);
252 
253  Handle<edm::ValueMap<Bool_t> > loosePhotonQual;
254  evt.getByLabel("PhotonIDProd", "PhotonCutBasedIDLoose", loosePhotonQual);
255  Handle<edm::ValueMap<Bool_t> > looseEMQual;
256  evt.getByLabel("PhotonIDProd", "PhotonCutBasedIDLooseEM", looseEMQual);
257  // grab PhotonId objects
258  // Handle<reco::PhotonIDAssociationCollection> photonIDMapColl;
259  // evt.getByLabel("PhotonIDProd", "PhotonAssociatedID", photonIDMapColl);
260 
261  // create reference to the object types we are interested in
262  const reco::PhotonCollection* photons = photonColl.product();
263  const edm::ValueMap<Bool_t>* phoMap = loosePhotonQual.product();
264  const edm::ValueMap<Bool_t>* lEMMap = looseEMQual.product();
265  int photonCounter = 0;
266  int idxpho = 0;
267  reco::PhotonCollection::const_iterator pho;
268  for (pho = (*photons).begin(); pho != (*photons).end(); pho++) {
269  edm::Ref<reco::PhotonCollection> photonref(photonColl, idxpho);
270  //reco::PhotonIDAssociationCollection::const_iterator photonIter = phoMap->find(photonref);
271  //const reco::PhotonIDRef &phtn = photonIter->val;
272  //const reco::PhotonRef &pho = photonIter->key;
273 
274  float photonEt = pho->et();
275  float superClusterEt = (pho->superCluster()->energy()) / (cosh(pho->superCluster()->position().eta()));
276  Bool_t LoosePhotonQu = (*phoMap)[photonref];
277  h_nPassingPho_->Fill(LoosePhotonQu);
278  Bool_t LooseEMQu = (*lEMMap)[photonref];
279  h_nPassEM_->Fill(LooseEMQu);
280  // Only store photon candidates (SuperClusters) that pass some simple cuts
281  bool passCuts = (photonEt > minPhotonEt_) && (fabs(pho->eta()) > minPhotonAbsEta_) &&
282  (fabs(pho->eta()) < maxPhotonAbsEta_) && (pho->r9() > minPhotonR9_) &&
283  (pho->hadronicOverEm() < maxPhotonHoverE_);
284 
285  if (passCuts) {
287  // fill histograms //
289  // PhotonID Variables
290  h_isoEcalRecHit_->Fill(pho->ecalRecHitSumEtConeDR04());
291  h_isoHcalRecHit_->Fill(pho->hcalTowerSumEtConeDR04());
292  h_trk_pt_solid_->Fill(pho->trkSumPtSolidConeDR04());
293  h_trk_pt_hollow_->Fill(pho->trkSumPtHollowConeDR04());
294  h_ntrk_solid_->Fill(pho->nTrkSolidConeDR04());
295  h_ntrk_hollow_->Fill(pho->nTrkHollowConeDR04());
296  h_ebetagap_->Fill(pho->isEBEtaGap());
297  h_ebphigap_->Fill(pho->isEBPhiGap());
298  h_eeringGap_->Fill(pho->isEERingGap());
299  h_eedeeGap_->Fill(pho->isEEDeeGap());
300  h_ebeeGap_->Fill(pho->isEBEEGap());
301  h_r9_->Fill(pho->r9());
302 
303  // Photon Variables
304  h_photonEt_->Fill(photonEt);
305  h_photonEta_->Fill(pho->eta());
306  h_photonPhi_->Fill(pho->phi());
307  h_hadoverem_->Fill(pho->hadronicOverEm());
308 
309  // Photon's SuperCluster Variables
310  // eta is with respect to detector (not physics) vertex,
311  // thus Et and eta are different from photon.
312  h_photonScEt_->Fill(superClusterEt);
313  h_photonScEta_->Fill(pho->superCluster()->position().eta());
314  h_photonScPhi_->Fill(pho->superCluster()->position().phi());
315  h_photonScEtaWidth_->Fill(pho->superCluster()->etaWidth());
316 
317  // It passed photon cuts, mark it
318 
320  // fill TTree (optional) //
322  if (createPhotonTTree_) {
323  recPhoton.isolationEcalRecHit = pho->ecalRecHitSumEtConeDR04();
324  recPhoton.isolationHcalRecHit = pho->hcalTowerSumEtConeDR04();
325  recPhoton.isolationSolidTrkCone = pho->trkSumPtSolidConeDR04();
326  recPhoton.isolationHollowTrkCone = pho->trkSumPtHollowConeDR04();
327  recPhoton.nTrkSolidCone = pho->nTrkSolidConeDR04();
328  recPhoton.nTrkHollowCone = pho->nTrkHollowConeDR04();
329  recPhoton.isEBEtaGap = pho->isEBEtaGap();
330  recPhoton.isEBPhiGap = pho->isEBPhiGap();
331  recPhoton.isEERingGap = pho->isEERingGap();
332  recPhoton.isEEDeeGap = pho->isEEDeeGap();
333  recPhoton.isEBEEGap = pho->isEBEEGap();
334  recPhoton.r9 = pho->r9();
335  recPhoton.et = pho->et();
336  recPhoton.eta = pho->eta();
337  recPhoton.phi = pho->phi();
338  recPhoton.hadronicOverEm = pho->hadronicOverEm();
339 
340  // Fill the tree (this records all the recPhoton.* since
341  // tree_PhotonAll_ was set to point at that.
342  tree_PhotonAll_->Fill();
343  }
344 
345  // Record whether it was near any module gap.
346  // Very convoluted at the moment.
347  bool inAnyGap = pho->isEBEEGap() || (pho->isEB() && pho->isEBEtaGap()) || (pho->isEB() && pho->isEBPhiGap()) ||
348  (pho->isEE() && pho->isEERingGap()) || (pho->isEE() && pho->isEEDeeGap());
349  if (inAnyGap) {
350  h_photonInAnyGap_->Fill(1.0);
351  } else {
352  h_photonInAnyGap_->Fill(0.0);
353  }
354 
355  photonCounter++;
356  } else {
357  // This didn't pass photon cuts, mark it
358  }
359  idxpho++;
360  } // End Loop over photons
361  h_nPho_->Fill(photonCounter);
362 }
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:488
T const * product() const
Definition: Handle.h:69
std::vector< Photon > PhotonCollection
collectin of Photon objects
Definition: PhotonFwd.h:9
HLT enums.
void PhotonIDSimpleAnalyzer::beginJob ( void  )
overridevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 194 of file PhotonIDSimpleAnalyzer.cc.

References createPhotonTTree_, h_ebeeGap_, h_ebetagap_, h_ebphigap_, h_eedeeGap_, h_eeringGap_, h_hadoverem_, h_isoEcalRecHit_, h_isoHcalRecHit_, h_nPassEM_, h_nPassingPho_, h_nPho_, h_ntrk_hollow_, h_ntrk_solid_, h_photonEt_, h_photonEta_, h_photonInAnyGap_, h_photonPhi_, h_photonScEt_, h_photonScEta_, h_photonScEtaWidth_, h_photonScPhi_, h_r9_, h_trk_pt_hollow_, h_trk_pt_solid_, PhotonIDSimpleAnalyzer::struct_recPhoton::isolationEcalRecHit, Pi, recPhoton, rootFile_, and tree_PhotonAll_.

194  {
195  // go to *OUR* rootfile
196  rootFile_->cd();
197 
198  // Book Histograms
199  // PhotonID Histograms
200  h_isoEcalRecHit_ = new TH1F("photonEcalIso", "Ecal Rec Hit Isolation", 300, 0, 300);
201  h_isoHcalRecHit_ = new TH1F("photonHcalIso", "Hcal Rec Hit Isolation", 300, 0, 300);
202  h_trk_pt_solid_ = new TH1F("photonTrackSolidIso", "Sum of track pT in a cone of #DeltaR", 300, 0, 300);
203  h_trk_pt_hollow_ = new TH1F("photonTrackHollowIso", "Sum of track pT in a hollow cone", 300, 0, 300);
204  h_ntrk_solid_ = new TH1F("photonTrackCountSolid", "Number of tracks in a cone of #DeltaR", 100, 0, 100);
205  h_ntrk_hollow_ = new TH1F("photonTrackCountHollow", "Number of tracks in a hollow cone", 100, 0, 100);
206  h_ebetagap_ = new TH1F("photonInEBEtagap", "Ecal Barrel eta gap flag", 2, -0.5, 1.5);
207  h_ebphigap_ = new TH1F("photonInEBEtagap", "Ecal Barrel phi gap flag", 2, -0.5, 1.5);
208  h_eeringGap_ = new TH1F("photonInEERinggap", "Ecal Endcap ring gap flag", 2, -0.5, 1.5);
209  h_eedeeGap_ = new TH1F("photonInEEDeegap", "Ecal Endcap dee gap flag", 2, -0.5, 1.5);
210  h_ebeeGap_ = new TH1F("photonInEEgap", "Ecal Barrel/Endcap gap flag", 2, -0.5, 1.5);
211  h_r9_ = new TH1F("photonR9", "R9 = E(3x3) / E(SuperCluster)", 300, 0, 3);
212 
213  // Photon Histograms
214  h_photonEt_ = new TH1F("photonEt", "Photon E_{T}", 200, 0, 200);
215  h_photonEta_ = new TH1F("photonEta", "Photon #eta", 800, -4, 4);
216  h_photonPhi_ = new TH1F("photonPhi", "Photon #phi", 628, -1. * TMath::Pi(), TMath::Pi());
217  h_hadoverem_ = new TH1F("photonHoverE", "Hadronic over EM", 200, 0, 1);
218 
219  // Photon's SuperCluster Histograms
220  h_photonScEt_ = new TH1F("photonScEt", "Photon SuperCluster E_{T}", 200, 0, 200);
221  h_photonScEta_ = new TH1F("photonScEta", "Photon #eta", 800, -4, 4);
222  h_photonScPhi_ = new TH1F("photonScPhi", "Photon #phi", 628, -1. * TMath::Pi(), TMath::Pi());
223  h_photonScEtaWidth_ = new TH1F("photonScEtaWidth", "#eta-width", 100, 0, .1);
224 
225  // Composite or Other Histograms
226  h_photonInAnyGap_ = new TH1F("photonInAnyGap", "Photon in any gap flag", 2, -0.5, 1.5);
227  h_nPassingPho_ = new TH1F("photonLoosePhoton", "Total number photons (0=NotPassing, 1=Passing)", 2, -0.5, 1.5);
228  h_nPassEM_ = new TH1F("photonLooseEM", "Total number photons (0=NotPassing, 1=Passing)", 2, -0.5, 1.5);
229  h_nPho_ = new TH1F("photonCount", "Number of photons passing cuts in event", 10, 0, 10);
230 
231  // Create a TTree of photons if set to 'True' in config file
232  if (createPhotonTTree_) {
233  tree_PhotonAll_ = new TTree("TreePhotonAll", "Reconstructed Photon");
234  tree_PhotonAll_->Branch("recPhoton",
236  "isolationEcalRecHit/"
237  "F:isolationHcalRecHit:isolationSolidTrkCone:isolationHollowTrkCone:nTrkSolidCone:"
238  "nTrkHollowCone:isEBGap:isEEGap:isEBEEGap:r9:et:eta:phi:hadronicOverEm");
239  }
240 }
const double Pi
void PhotonIDSimpleAnalyzer::endJob ( void  )
overridevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 367 of file PhotonIDSimpleAnalyzer.cc.

References DEFINE_FWK_MODULE, h_ebeeGap_, h_ebetagap_, h_ebphigap_, h_eedeeGap_, h_eeringGap_, h_hadoverem_, h_isoEcalRecHit_, h_isoHcalRecHit_, h_nPassEM_, h_nPassingPho_, h_nPho_, h_ntrk_hollow_, h_ntrk_solid_, h_photonEt_, h_photonEta_, h_photonInAnyGap_, h_photonPhi_, h_photonScEt_, h_photonScEta_, h_photonScEtaWidth_, h_photonScPhi_, h_r9_, h_trk_pt_hollow_, h_trk_pt_solid_, and rootFile_.

367  {
368  // go to *OUR* root file and store histograms
369  rootFile_->cd();
370 
371  // PhotonID Histograms
372  h_isoEcalRecHit_->Write();
373  h_isoHcalRecHit_->Write();
374  h_trk_pt_solid_->Write();
375  h_trk_pt_hollow_->Write();
376  h_ntrk_solid_->Write();
377  h_ntrk_hollow_->Write();
378  h_ebetagap_->Write();
379  h_ebphigap_->Write();
380  h_eeringGap_->Write();
381  h_eedeeGap_->Write();
382  h_ebeeGap_->Write();
383  h_r9_->Write();
384 
385  // Photon Histograms
386  h_photonEt_->Write();
387  h_photonEta_->Write();
388  h_photonPhi_->Write();
389  h_hadoverem_->Write();
390 
391  // Photon's SuperCluster Histograms
392  h_photonScEt_->Write();
393  h_photonScEta_->Write();
394  h_photonScPhi_->Write();
395  h_photonScEtaWidth_->Write();
396 
397  // Composite or Other Histograms
398  h_photonInAnyGap_->Write();
399  h_nPassingPho_->Write();
400  h_nPassEM_->Write();
401  h_nPho_->Write();
402 
403  // Write the root file (really writes the TTree)
404  rootFile_->Write();
405  rootFile_->Close();
406 }

Member Data Documentation

bool PhotonIDSimpleAnalyzer::createPhotonTTree_
private

Definition at line 89 of file PhotonIDSimpleAnalyzer.cc.

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

TH1F* PhotonIDSimpleAnalyzer::h_ebeeGap_
private

Definition at line 130 of file PhotonIDSimpleAnalyzer.cc.

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

TH1F* PhotonIDSimpleAnalyzer::h_ebetagap_
private

Definition at line 126 of file PhotonIDSimpleAnalyzer.cc.

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

TH1F* PhotonIDSimpleAnalyzer::h_ebphigap_
private

Definition at line 127 of file PhotonIDSimpleAnalyzer.cc.

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

TH1F* PhotonIDSimpleAnalyzer::h_eedeeGap_
private

Definition at line 129 of file PhotonIDSimpleAnalyzer.cc.

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

TH1F* PhotonIDSimpleAnalyzer::h_eeringGap_
private

Definition at line 128 of file PhotonIDSimpleAnalyzer.cc.

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

TH1F* PhotonIDSimpleAnalyzer::h_hadoverem_
private

Definition at line 137 of file PhotonIDSimpleAnalyzer.cc.

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

TH1F* PhotonIDSimpleAnalyzer::h_isoEcalRecHit_
private

Definition at line 120 of file PhotonIDSimpleAnalyzer.cc.

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

TH1F* PhotonIDSimpleAnalyzer::h_isoHcalRecHit_
private

Definition at line 121 of file PhotonIDSimpleAnalyzer.cc.

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

TH1F* PhotonIDSimpleAnalyzer::h_nPassEM_
private

Definition at line 148 of file PhotonIDSimpleAnalyzer.cc.

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

TH1F* PhotonIDSimpleAnalyzer::h_nPassingPho_
private

Definition at line 147 of file PhotonIDSimpleAnalyzer.cc.

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

TH1F* PhotonIDSimpleAnalyzer::h_nPho_
private

Definition at line 149 of file PhotonIDSimpleAnalyzer.cc.

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

TH1F* PhotonIDSimpleAnalyzer::h_ntrk_hollow_
private

Definition at line 125 of file PhotonIDSimpleAnalyzer.cc.

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

TH1F* PhotonIDSimpleAnalyzer::h_ntrk_solid_
private

Definition at line 124 of file PhotonIDSimpleAnalyzer.cc.

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

TH1F* PhotonIDSimpleAnalyzer::h_photonEt_
private

Definition at line 134 of file PhotonIDSimpleAnalyzer.cc.

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

TH1F* PhotonIDSimpleAnalyzer::h_photonEta_
private

Definition at line 135 of file PhotonIDSimpleAnalyzer.cc.

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

TH1F* PhotonIDSimpleAnalyzer::h_photonInAnyGap_
private

Definition at line 146 of file PhotonIDSimpleAnalyzer.cc.

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

TH1F* PhotonIDSimpleAnalyzer::h_photonPhi_
private

Definition at line 136 of file PhotonIDSimpleAnalyzer.cc.

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

TH1F* PhotonIDSimpleAnalyzer::h_photonScEt_
private

Definition at line 140 of file PhotonIDSimpleAnalyzer.cc.

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

TH1F* PhotonIDSimpleAnalyzer::h_photonScEta_
private

Definition at line 141 of file PhotonIDSimpleAnalyzer.cc.

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

TH1F* PhotonIDSimpleAnalyzer::h_photonScEtaWidth_
private

Definition at line 143 of file PhotonIDSimpleAnalyzer.cc.

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

TH1F* PhotonIDSimpleAnalyzer::h_photonScPhi_
private

Definition at line 142 of file PhotonIDSimpleAnalyzer.cc.

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

TH1F* PhotonIDSimpleAnalyzer::h_r9_
private

Definition at line 131 of file PhotonIDSimpleAnalyzer.cc.

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

TH1F* PhotonIDSimpleAnalyzer::h_trk_pt_hollow_
private

Definition at line 123 of file PhotonIDSimpleAnalyzer.cc.

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

TH1F* PhotonIDSimpleAnalyzer::h_trk_pt_solid_
private

Definition at line 122 of file PhotonIDSimpleAnalyzer.cc.

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

double PhotonIDSimpleAnalyzer::maxPhotonAbsEta_
private

Definition at line 86 of file PhotonIDSimpleAnalyzer.cc.

Referenced by analyze(), and PhotonIDSimpleAnalyzer().

double PhotonIDSimpleAnalyzer::maxPhotonHoverE_
private

Definition at line 88 of file PhotonIDSimpleAnalyzer.cc.

Referenced by analyze(), and PhotonIDSimpleAnalyzer().

double PhotonIDSimpleAnalyzer::minPhotonAbsEta_
private

Definition at line 85 of file PhotonIDSimpleAnalyzer.cc.

Referenced by analyze(), and PhotonIDSimpleAnalyzer().

double PhotonIDSimpleAnalyzer::minPhotonEt_
private

Definition at line 84 of file PhotonIDSimpleAnalyzer.cc.

Referenced by analyze(), and PhotonIDSimpleAnalyzer().

double PhotonIDSimpleAnalyzer::minPhotonR9_
private

Definition at line 87 of file PhotonIDSimpleAnalyzer.cc.

Referenced by analyze(), and PhotonIDSimpleAnalyzer().

std::string PhotonIDSimpleAnalyzer::outputFile_
private

Definition at line 83 of file PhotonIDSimpleAnalyzer.cc.

Referenced by PhotonIDSimpleAnalyzer().

struct_recPhoton PhotonIDSimpleAnalyzer::recPhoton
private

Definition at line 112 of file PhotonIDSimpleAnalyzer.cc.

Referenced by analyze(), and beginJob().

TFile* PhotonIDSimpleAnalyzer::rootFile_
private
TTree* PhotonIDSimpleAnalyzer::tree_PhotonAll_
private

Definition at line 152 of file PhotonIDSimpleAnalyzer.cc.

Referenced by analyze(), and beginJob().