CMS 3D CMS Logo

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

#include <SimpleConvertedPhotonAnalyzer.h>

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

Public Member Functions

void analyze (const edm::Event &, const edm::EventSetup &) override
 
void beginJob () override
 
void endJob () override
 
 SimpleConvertedPhotonAnalyzer (const edm::ParameterSet &)
 
 ~SimpleConvertedPhotonAnalyzer () 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 Member Functions

float etaTransformation (float a, float b)
 

Private Attributes

std::string convertedPhotonCollection_
 
std::string convertedPhotonCollectionProducer_
 
TFile * fOutputFile_
 
std::string fOutputFileName_
 
TH2F * h2_tk_inPtVsR_
 
TH2F * h2_tk_nHitsVsR_
 
TH1F * h_deltaEta_
 
TH1F * h_deltaPhi_
 
TH1F * h_ErecoEMC_
 
TH1F * h_MCConvE_
 
TH1F * h_MCConvEta_
 
TH1F * h_MCConvPt_
 
TH1F * h_MCphoE_
 
TH1F * h_MCphoEta_
 
TH1F * h_MCphoPhi_
 
TH1F * h_phoE_
 
TH1F * h_phoEta_
 
TH1F * h_phoPhi_
 
TH1F * h_scE_
 
TH1F * h_scEta_
 
TH1F * h_scPhi_
 
std::string HepMCLabel
 
int nEvt_
 
int nMatched_
 
int nMCPho_
 
std::string SimHitLabel
 
std::string SimTkLabel
 
std::string SimVtxLabel
 
PhotonMCTruthFinderthePhotonMCTruthFinder_
 

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

Definition at line 20 of file SimpleConvertedPhotonAnalyzer.h.

Constructor & Destructor Documentation

SimpleConvertedPhotonAnalyzer::SimpleConvertedPhotonAnalyzer ( const edm::ParameterSet pset)
explicit
SimpleConvertedPhotonAnalyzer::~SimpleConvertedPhotonAnalyzer ( )
override

Definition at line 52 of file SimpleConvertedPhotonAnalyzer.cc.

References thePhotonMCTruthFinder_.

52 { delete thePhotonMCTruthFinder_; }

Member Function Documentation

void SimpleConvertedPhotonAnalyzer::analyze ( const edm::Event e,
const edm::EventSetup  
)
override

Loop over recontructed photons

End loop over Reco particles

End loop over MC particles

Definition at line 131 of file SimpleConvertedPhotonAnalyzer.cc.

References convertedPhotonCollection_, convertedPhotonCollectionProducer_, gather_cfg::cout, dumpMFGeometry_cfg::delta, spr::deltaEta, SiPixelRawToDigiRegional_cfi::deltaPhi, etaTransformation(), PhotonMCTruthFinder::find(), edm::Event::getByLabel(), h2_tk_inPtVsR_, h2_tk_nHitsVsR_, h_deltaEta_, h_deltaPhi_, h_ErecoEMC_, h_MCConvEta_, h_MCphoE_, h_MCphoEta_, h_MCphoPhi_, h_scE_, h_scEta_, h_scPhi_, mps_fire::i, edm::EventBase::id(), nEvt_, nMatched_, nMCPho_, Geom::pi(), funct::pow(), edm::Handle< T >::product(), mathSSE::sqrt(), thePhotonMCTruthFinder_, and Geom::twoPi().

131  {
132  using namespace edm;
133  const float etaPhiDistance = 0.01;
134  // Fiducial region
135  //UNUSED const float TRK_BARL =0.9;
136  const float BARL = 1.4442; // DAQ TDR p.290
137  const float END_LO = 1.566;
138  const float END_HI = 2.5;
139  // Electron mass
140  //UNUSED const Float_t mElec= 0.000511;
141 
142  nEvt_++;
143  LogInfo("ConvertedPhotonAnalyzer") << "ConvertedPhotonAnalyzer Analyzing event number: " << e.id()
144  << " Global Counter " << nEvt_ << "\n";
145  // LogDebug("ConvertedPhotonAnalyzer") << "ConvertedPhotonAnalyzer Analyzing event number: " << e.id() << " Global Counter " << nEvt_ <<"\n";
146  std::cout << "ConvertedPhotonAnalyzer Analyzing event number: " << e.id() << " Global Counter " << nEvt_ << "\n";
147 
149  Handle<reco::ConversionCollection> convertedPhotonHandle;
151  const reco::ConversionCollection phoCollection = *(convertedPhotonHandle.product());
152  std::cout << "ConvertedPhotonAnalyzer Converted photon collection size " << phoCollection.size() << "\n";
153 
155  std::cout << " ConvertedPhotonAnalyzer Looking for MC truth "
156  << "\n";
157 
158  //get simtrack info
159  std::vector<SimTrack> theSimTracks;
160  std::vector<SimVertex> theSimVertices;
161 
164  e.getByLabel("g4SimHits", SimTk);
165  e.getByLabel("g4SimHits", SimVtx);
166 
167  theSimTracks.insert(theSimTracks.end(), SimTk->begin(), SimTk->end());
168  theSimVertices.insert(theSimVertices.end(), SimVtx->begin(), SimVtx->end());
169 
170  std::vector<PhotonMCTruth> mcPhotons = thePhotonMCTruthFinder_->find(theSimTracks, theSimVertices);
171  std::cout << " ConvertedPhotonAnalyzer mcPhotons size " << mcPhotons.size() << std::endl;
172 
173  // Loop over simulated photons
174  //UNUSED int iDet=0;
175  //UNUSED int iRadius=-1;
176  //UNUSED int indPho=0;
177 
178  for (std::vector<PhotonMCTruth>::const_iterator mcPho = mcPhotons.begin(); mcPho != mcPhotons.end(); mcPho++) {
179  float mcPhi = (*mcPho).fourMomentum().phi();
180  float mcEta = (*mcPho).fourMomentum().pseudoRapidity();
181  mcEta = etaTransformation(mcEta, (*mcPho).primaryVertex().z());
182 
183  if (!(fabs(mcEta) <= BARL || (fabs(mcEta) >= END_LO && fabs(mcEta) <= END_HI))) {
184  continue;
185  } // all ecal fiducial region
186 
187  std::cout << " ConvertedPhotonAnalyzer MC Photons before matching " << std::endl;
188  std::cout << " ConvertedPhotonAnalyzer Photons isAconversion " << (*mcPho).isAConversion()
189  << " mcMatchingPhoton energy " << (*mcPho).fourMomentum().e() << " conversion vertex R "
190  << (*mcPho).vertex().perp() << " Z " << (*mcPho).vertex().z() << " x " << (*mcPho).vertex().x() << " y "
191  << (*mcPho).vertex().y() << " z " << (*mcPho).vertex().z() << std::endl;
192  std::cout << " ConvertedPhotonAnalyzer mcEta " << mcEta << " mcPhi " << mcPhi << std::endl;
193 
194  h_MCphoE_->Fill((*mcPho).fourMomentum().e());
195  h_MCphoEta_->Fill((*mcPho).fourMomentum().eta());
196  h_MCphoPhi_->Fill((*mcPho).fourMomentum().phi());
197 
198  // keep only visible conversions
199  if ((*mcPho).isAConversion() == 0)
200  continue;
201 
202  nMCPho_++;
203 
204  h_MCConvEta_->Fill(fabs((*mcPho).fourMomentum().pseudoRapidity()) - 0.001);
205 
206  bool REJECTED;
207 
209  std::cout << " ConvertedPhotonAnalyzer Starting loop over photon candidates "
210  << "\n";
211  for (reco::ConversionCollection::const_iterator iPho = phoCollection.begin(); iPho != phoCollection.end(); iPho++) {
212  REJECTED = false;
213 
214  std::cout << " ConvertedPhotonAnalyzer Reco SC energy " << (*iPho).caloCluster()[0]->energy() << "\n";
215 
216  float phiClu = (*iPho).caloCluster()[0]->phi();
217  float etaClu = (*iPho).caloCluster()[0]->eta();
218  float deltaPhi = phiClu - mcPhi;
219  float deltaEta = etaClu - mcEta;
220 
221  if (deltaPhi > Geom::pi())
222  deltaPhi -= Geom::twoPi();
223  if (deltaPhi < -Geom::pi())
224  deltaPhi += Geom::twoPi();
225  deltaPhi = std::pow(deltaPhi, 2);
226  deltaEta = std::pow(deltaEta, 2);
227  float delta = deltaPhi + deltaEta;
228  if (delta >= etaPhiDistance)
229  REJECTED = true;
230 
231  // if ( ! ( fabs(etaClu) <= BARL || ( fabs(etaClu) >= END_LO && fabs(etaClu) <=END_HI ) ) ) REJECTED=true;
232 
233  if (REJECTED)
234  continue;
235  std::cout << " MATCHED " << std::endl;
236  nMatched_++;
237 
238  std::cout << " ConvertedPhotonAnalyzer Matching candidate " << std::endl;
239 
240  std::cout << " ConvertedPhotonAnalyzer Photons isAconversion " << (*mcPho).isAConversion()
241  << " mcMatchingPhoton energy " << (*mcPho).fourMomentum().e()
242  << " ConvertedPhotonAnalyzer conversion vertex R " << (*mcPho).vertex().perp() << " Z "
243  << (*mcPho).vertex().z() << std::endl;
244 
245  h_ErecoEMC_->Fill((*iPho).caloCluster()[0]->energy() / (*mcPho).fourMomentum().e());
246  h_deltaPhi_->Fill((*iPho).caloCluster()[0]->position().phi() - mcPhi);
247  h_deltaEta_->Fill((*iPho).caloCluster()[0]->position().eta() - mcEta);
248 
249  h_scE_->Fill((*iPho).caloCluster()[0]->energy());
250  h_scEta_->Fill((*iPho).caloCluster()[0]->position().eta());
251  h_scPhi_->Fill((*iPho).caloCluster()[0]->position().phi());
252 
253  for (unsigned int i = 0; i < (*iPho).tracks().size(); i++) {
254  std::cout << " ConvertedPhotonAnalyzer Reco Track charge " << (*iPho).tracks()[i]->charge()
255  << " Num of RecHits " << (*iPho).tracks()[i]->recHitsSize() << " inner momentum "
256  << sqrt((*iPho).tracks()[i]->innerMomentum().Mag2()) << "\n";
257 
258  h2_tk_nHitsVsR_->Fill((*mcPho).vertex().perp(), (*iPho).tracks()[i]->recHitsSize());
259  h2_tk_inPtVsR_->Fill((*mcPho).vertex().perp(), sqrt((*iPho).tracks()[i]->innerMomentum().Mag2()));
260  }
261 
262  }
263 
264  }
265 }
std::vector< Conversion > ConversionCollection
collectin of Conversion objects
Definition: ConversionFwd.h:9
static const double deltaEta
Definition: CaloConstants.h:8
T sqrt(T t)
Definition: SSEVec.h:19
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:488
T const * product() const
Definition: Handle.h:69
std::vector< PhotonMCTruth > find(const std::vector< SimTrack > &simTracks, const std::vector< SimVertex > &simVertices)
edm::EventID id() const
Definition: EventBase.h:59
HLT enums.
constexpr double pi()
Definition: Pi.h:31
constexpr double twoPi()
Definition: Pi.h:32
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:30
void SimpleConvertedPhotonAnalyzer::beginJob ( void  )
overridevirtual

Reco - MC

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 54 of file SimpleConvertedPhotonAnalyzer.cc.

References fOutputFile_, fOutputFileName_, h2_tk_inPtVsR_, h2_tk_nHitsVsR_, h_deltaEta_, h_deltaPhi_, h_ErecoEMC_, h_MCConvE_, h_MCConvEta_, h_MCConvPt_, h_MCphoE_, h_MCphoEta_, h_MCphoPhi_, h_phoE_, h_phoEta_, h_phoPhi_, h_scE_, h_scEta_, h_scPhi_, nEvt_, nMatched_, nMCPho_, and thePhotonMCTruthFinder_.

54  {
55  nEvt_ = 0;
56  nMCPho_ = 0;
57  nMatched_ = 0;
58 
60 
61  fOutputFile_ = new TFile(fOutputFileName_.c_str(), "RECREATE");
62 
64  h_ErecoEMC_ = new TH1F("deltaE", " delta(reco-mc) energy", 100, 0., 2.);
65  h_deltaPhi_ = new TH1F("deltaPhi", " delta(reco-mc) phi", 100, -0.1, 0.1);
66  h_deltaEta_ = new TH1F("deltaEta", " delta(reco-mc) eta", 100, -0.05, 0.05);
67 
69  h_MCphoE_ = new TH1F("MCphoE", "MC photon energy", 100, 0., 100.);
70  h_MCphoPhi_ = new TH1F("MCphoPhi", "MC photon phi", 40, -3.14, 3.14);
71  h_MCphoEta_ = new TH1F("MCphoEta", "MC photon eta", 40, -3., 3.);
72 
74  h_MCConvE_ = new TH1F("MCConvE", "MC converted photon energy", 100, 0., 100.);
75  h_MCConvPt_ = new TH1F("MCConvPt", "MC converted photon pt", 100, 0., 100.);
76  h_MCConvEta_ = new TH1F("MCConvEta", "MC converted photon eta", 50, 0., 2.5);
77 
79  h_scE_ = new TH1F("scE", "Uncorrected converted photons : SC Energy ", 100, 0., 200.);
80  h_scEta_ = new TH1F("scEta", "Uncorrected converted photons: SC Eta ", 40, -3., 3.);
81  h_scPhi_ = new TH1F("scPhi", "Uncorrected converted photons: SC Phi ", 40, -3.14, 3.14);
82  //
83  h_phoE_ = new TH1F("phoE", "Uncorrected converted photons : Energy ", 100, 0., 200.);
84  h_phoEta_ = new TH1F("phoEta", "Uncorrected converted photons: Eta ", 40, -3., 3.);
85  h_phoPhi_ = new TH1F("phoPhi", "Uncorrected converted photons: Phi ", 40, -3.14, 3.14);
86 
87  // Recontructed tracks from converted photon candidates
88  h2_tk_nHitsVsR_ = new TH2F("tknHitsVsR", "Tracks Hits vs R ", 12, 0., 120., 20, 0.5, 20.5);
89  h2_tk_inPtVsR_ = new TH2F("tkInPtvsR", "Tracks inner Pt vs R ", 12, 0., 120., 100, 0., 100.);
90 
91  return;
92 }
void SimpleConvertedPhotonAnalyzer::endJob ( void  )
overridevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 267 of file SimpleConvertedPhotonAnalyzer.cc.

References gather_cfg::cout, fOutputFile_, and nEvt_.

267  {
268  fOutputFile_->Write();
269  fOutputFile_->Close();
270 
271  edm::LogInfo("ConvertedPhotonAnalyzer") << "Analyzed " << nEvt_ << "\n";
272  // std::cout << "::endJob Analyzed " << nEvt_ << " events " << " with total " << nPho_ << " Photons " << "\n";
273  std::cout << "ConvertedPhotonAnalyzer::endJob Analyzed " << nEvt_ << " events "
274  << "\n";
275 
276  return;
277 }
float SimpleConvertedPhotonAnalyzer::etaTransformation ( float  a,
float  b 
)
private

Definition at line 94 of file SimpleConvertedPhotonAnalyzer.cc.

References ETA, etaBarrelEndcap, dqm-mbProfile::log, PI, R_ECAL, funct::tan(), and Z_Endcap.

Referenced by analyze().

94  {
95  //---Definitions
96  const float PI = 3.1415927;
97  //UNUSED const float TWOPI = 2.0*PI;
98 
99  //---Definitions for ECAL
100  const float R_ECAL = 136.5;
101  const float Z_Endcap = 328.0;
102  const float etaBarrelEndcap = 1.479;
103 
104  //---ETA correction
105 
106  float Theta = 0.0;
107  float ZEcal = R_ECAL * sinh(EtaParticle) + Zvertex;
108 
109  if (ZEcal != 0.0)
110  Theta = atan(R_ECAL / ZEcal);
111  if (Theta < 0.0)
112  Theta = Theta + PI;
113  float ETA = -log(tan(0.5 * Theta));
114 
115  if (fabs(ETA) > etaBarrelEndcap) {
116  float Zend = Z_Endcap;
117  if (EtaParticle < 0.0)
118  Zend = -Zend;
119  float Zlen = Zend - Zvertex;
120  float RR = Zlen / sinh(EtaParticle);
121  Theta = atan(RR / Zend);
122  if (Theta < 0.0)
123  Theta = Theta + PI;
124  ETA = -log(tan(0.5 * Theta));
125  }
126  //---Return the result
127  return ETA;
128  //---end
129 }
#define ETA
Tan< T >::type tan(const T &t)
Definition: Tan.h:22
static float etaBarrelEndcap
#define PI
Definition: QcdUeDQM.h:37
static float Z_Endcap
static float R_ECAL

Member Data Documentation

std::string SimpleConvertedPhotonAnalyzer::convertedPhotonCollection_
private

Definition at line 49 of file SimpleConvertedPhotonAnalyzer.h.

Referenced by analyze(), and SimpleConvertedPhotonAnalyzer().

std::string SimpleConvertedPhotonAnalyzer::convertedPhotonCollectionProducer_
private

Definition at line 48 of file SimpleConvertedPhotonAnalyzer.h.

Referenced by analyze(), and SimpleConvertedPhotonAnalyzer().

TFile* SimpleConvertedPhotonAnalyzer::fOutputFile_
private

Definition at line 37 of file SimpleConvertedPhotonAnalyzer.h.

Referenced by beginJob(), and endJob().

std::string SimpleConvertedPhotonAnalyzer::fOutputFileName_
private

Definition at line 36 of file SimpleConvertedPhotonAnalyzer.h.

Referenced by beginJob().

TH2F* SimpleConvertedPhotonAnalyzer::h2_tk_inPtVsR_
private

Definition at line 77 of file SimpleConvertedPhotonAnalyzer.h.

Referenced by analyze(), and beginJob().

TH2F* SimpleConvertedPhotonAnalyzer::h2_tk_nHitsVsR_
private

Definition at line 75 of file SimpleConvertedPhotonAnalyzer.h.

Referenced by analyze(), and beginJob().

TH1F* SimpleConvertedPhotonAnalyzer::h_deltaEta_
private

Definition at line 53 of file SimpleConvertedPhotonAnalyzer.h.

Referenced by analyze(), and beginJob().

TH1F* SimpleConvertedPhotonAnalyzer::h_deltaPhi_
private

Definition at line 52 of file SimpleConvertedPhotonAnalyzer.h.

Referenced by analyze(), and beginJob().

TH1F* SimpleConvertedPhotonAnalyzer::h_ErecoEMC_
private

Definition at line 51 of file SimpleConvertedPhotonAnalyzer.h.

Referenced by analyze(), and beginJob().

TH1F* SimpleConvertedPhotonAnalyzer::h_MCConvE_
private

Definition at line 61 of file SimpleConvertedPhotonAnalyzer.h.

Referenced by beginJob().

TH1F* SimpleConvertedPhotonAnalyzer::h_MCConvEta_
private

Definition at line 63 of file SimpleConvertedPhotonAnalyzer.h.

Referenced by analyze(), and beginJob().

TH1F* SimpleConvertedPhotonAnalyzer::h_MCConvPt_
private

Definition at line 62 of file SimpleConvertedPhotonAnalyzer.h.

Referenced by beginJob().

TH1F* SimpleConvertedPhotonAnalyzer::h_MCphoE_
private

Definition at line 56 of file SimpleConvertedPhotonAnalyzer.h.

Referenced by analyze(), and beginJob().

TH1F* SimpleConvertedPhotonAnalyzer::h_MCphoEta_
private

Definition at line 58 of file SimpleConvertedPhotonAnalyzer.h.

Referenced by analyze(), and beginJob().

TH1F* SimpleConvertedPhotonAnalyzer::h_MCphoPhi_
private

Definition at line 57 of file SimpleConvertedPhotonAnalyzer.h.

Referenced by analyze(), and beginJob().

TH1F* SimpleConvertedPhotonAnalyzer::h_phoE_
private

Definition at line 70 of file SimpleConvertedPhotonAnalyzer.h.

Referenced by beginJob().

TH1F* SimpleConvertedPhotonAnalyzer::h_phoEta_
private

Definition at line 71 of file SimpleConvertedPhotonAnalyzer.h.

Referenced by beginJob().

TH1F* SimpleConvertedPhotonAnalyzer::h_phoPhi_
private

Definition at line 72 of file SimpleConvertedPhotonAnalyzer.h.

Referenced by beginJob().

TH1F* SimpleConvertedPhotonAnalyzer::h_scE_
private

Definition at line 66 of file SimpleConvertedPhotonAnalyzer.h.

Referenced by analyze(), and beginJob().

TH1F* SimpleConvertedPhotonAnalyzer::h_scEta_
private

Definition at line 67 of file SimpleConvertedPhotonAnalyzer.h.

Referenced by analyze(), and beginJob().

TH1F* SimpleConvertedPhotonAnalyzer::h_scPhi_
private

Definition at line 68 of file SimpleConvertedPhotonAnalyzer.h.

Referenced by analyze(), and beginJob().

std::string SimpleConvertedPhotonAnalyzer::HepMCLabel
private

Definition at line 43 of file SimpleConvertedPhotonAnalyzer.h.

int SimpleConvertedPhotonAnalyzer::nEvt_
private

Definition at line 39 of file SimpleConvertedPhotonAnalyzer.h.

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

int SimpleConvertedPhotonAnalyzer::nMatched_
private

Definition at line 41 of file SimpleConvertedPhotonAnalyzer.h.

Referenced by analyze(), and beginJob().

int SimpleConvertedPhotonAnalyzer::nMCPho_
private

Definition at line 40 of file SimpleConvertedPhotonAnalyzer.h.

Referenced by analyze(), and beginJob().

std::string SimpleConvertedPhotonAnalyzer::SimHitLabel
private

Definition at line 46 of file SimpleConvertedPhotonAnalyzer.h.

std::string SimpleConvertedPhotonAnalyzer::SimTkLabel
private

Definition at line 44 of file SimpleConvertedPhotonAnalyzer.h.

std::string SimpleConvertedPhotonAnalyzer::SimVtxLabel
private

Definition at line 45 of file SimpleConvertedPhotonAnalyzer.h.

PhotonMCTruthFinder* SimpleConvertedPhotonAnalyzer::thePhotonMCTruthFinder_
private