CMS 3D CMS Logo

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

#include <MCPizeroAnalyzer.h>

Inheritance diagram for MCPizeroAnalyzer:
edm::EDAnalyzer edm::EDConsumerBase

Public Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &)
 
virtual void beginJob ()
 
virtual void endJob ()
 
 MCPizeroAnalyzer (const edm::ParameterSet &)
 
virtual ~MCPizeroAnalyzer ()
 
- Public Member Functions inherited from edm::EDAnalyzer
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
 EDAnalyzer ()
 
ModuleDescription const & moduleDescription () const
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 
- 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
 
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
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Member Functions

float etaTransformation (float a, float b)
 
float phiNormalization (float &a)
 

Private Attributes

TFile * fOutputFile_
 
std::string fOutputFileName_
 
TH1F * h_BremEnergy_
 
TH1F * h_BremFrac_
 
TH2F * h_EleEvsPhoE_
 
TH1F * h_MCConvPhoE_
 
TH1F * h_MCConvPhoEta_
 
TH1F * h_MCConvPhoPhi_
 
TH1F * h_MCConvPhoR_
 
TH1F * h_MCEleE_
 
TH1F * h_MCEleEta_
 
TH1F * h_MCElePhi_
 
TH1F * h_MCPhoE_
 
TH1F * h_MCPhoEta_
 
TH1F * h_MCPhoPhi_
 
TH1F * h_MCPiz1ConEta_
 
TH1F * h_MCPiz2ConEta_
 
TH1F * h_MCPizE_
 
TH1F * h_MCPizEta_
 
TH1F * h_MCPizMass1_
 
TH1F * h_MCPizMass2_
 
TH1F * h_MCPizPhi_
 
TH1F * h_MCPizUnEta_
 
std::string HepMCLabel
 
double mcEta_
 
double mcPhi_
 global variable for the MC photon More...
 
int nEvt_
 
int nMatched_
 
std::string SimHitLabel
 
std::string SimTkLabel
 
std::string SimVtxLabel
 
PizeroMCTruthFinderthePizeroMCTruthFinder_
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- 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::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 22 of file MCPizeroAnalyzer.h.

Constructor & Destructor Documentation

MCPizeroAnalyzer::MCPizeroAnalyzer ( const edm::ParameterSet pset)
explicit

Definition at line 45 of file MCPizeroAnalyzer.cc.

46  : fOutputFileName_( pset.getUntrackedParameter<string>("HistOutFile",std::string("TestConversions.root")) ),
47  fOutputFile_(0)
48 {
49 
50 
51 }
T getUntrackedParameter(std::string const &, T const &) const
std::string fOutputFileName_
MCPizeroAnalyzer::~MCPizeroAnalyzer ( )
virtual

Definition at line 55 of file MCPizeroAnalyzer.cc.

References thePizeroMCTruthFinder_.

55  {
56 
57 
59 
60 }
PizeroMCTruthFinder * thePizeroMCTruthFinder_

Member Function Documentation

void MCPizeroAnalyzer::analyze ( const edm::Event e,
const edm::EventSetup  
)
virtual

Definition at line 162 of file MCPizeroAnalyzer.cc.

References gather_cfg::cout, PizeroMCTruthFinder::find(), edm::Event::getByLabel(), h_BremEnergy_, h_BremFrac_, h_EleEvsPhoE_, h_MCConvPhoE_, h_MCConvPhoEta_, h_MCConvPhoPhi_, h_MCConvPhoR_, h_MCEleE_, h_MCEleEta_, h_MCElePhi_, h_MCPhoE_, h_MCPhoEta_, h_MCPhoPhi_, h_MCPiz1ConEta_, h_MCPiz2ConEta_, h_MCPizE_, h_MCPizEta_, h_MCPizMass1_, h_MCPizPhi_, h_MCPizUnEta_, edm::EventBase::id(), nEvt_, mathSSE::sqrt(), and thePizeroMCTruthFinder_.

163 {
164 
165 
166  using namespace edm;
167  //UNUSED const float etaPhiDistance=0.01;
168  // Fiducial region
169  //UNUSED const float TRK_BARL =0.9;
170  //UNUSED const float BARL = 1.4442; // DAQ TDR p.290
171  //UNUSED const float END_LO = 1.566;
172  //UNUSED const float END_HI = 2.5;
173  // Electron mass
174  //UNUSED const Float_t mElec= 0.000511;
175 
176 
177  nEvt_++;
178  LogInfo("MCPizeroAnalyzer") << "MCPizeroAnalyzer Analyzing event number: " << e.id() << " Global Counter " << nEvt_ <<"\n";
179  // LogDebug("MCPizeroAnalyzer") << "MCPizeroAnalyzer Analyzing event number: " << e.id() << " Global Counter " << nEvt_ <<"\n";
180  std::cout << "MCPizeroAnalyzer Analyzing event number: " << e.id() << " Global Counter " << nEvt_ <<"\n";
181 
183  std::cout << " MCPizeroAnalyzer Looking for MC truth " << "\n";
184 
185  //get simtrack info
186  std::vector<SimTrack> theSimTracks;
187  std::vector<SimVertex> theSimVertices;
188 
191  e.getByLabel("g4SimHits",SimTk);
192  e.getByLabel("g4SimHits",SimVtx);
193 
194  theSimTracks.insert(theSimTracks.end(),SimTk->begin(),SimTk->end());
195  theSimVertices.insert(theSimVertices.end(),SimVtx->begin(),SimVtx->end());
196  std::cout << " MCPizeroAnalyzer This Event has " << theSimTracks.size() << " sim tracks " << std::endl;
197  std::cout << " MCPizeroAnalyzer This Event has " << theSimVertices.size() << " sim vertices " << std::endl;
198  if ( ! theSimTracks.size() ) std::cout << " Event number " << e.id() << " has NO sim tracks " << std::endl;
199 
200 
201  std::vector<PizeroMCTruth> MCPizeroeros=thePizeroMCTruthFinder_->find (theSimTracks, theSimVertices);
202  std::cout << " MCPizeroAnalyzer MCPizeroeros size " << MCPizeroeros.size() << std::endl;
203 
204  for ( std::vector<PizeroMCTruth>::const_iterator iPiz=MCPizeroeros.begin(); iPiz !=MCPizeroeros.end(); ++iPiz ){
205 
206  h_MCPizE_->Fill ( (*iPiz).fourMomentum().e() );
207  h_MCPizEta_->Fill ( (*iPiz).fourMomentum().pseudoRapidity() );
208  h_MCPizPhi_->Fill ( (*iPiz).fourMomentum().phi() );
209 
210  std::vector<PhotonMCTruth> mcPhotons=(*iPiz).photons();
211  std::cout << " MCPizeroAnalyzer mcPhotons size " << mcPhotons.size() << std::endl;
212 
213  float px = mcPhotons[0].fourMomentum().x() + mcPhotons[1].fourMomentum().x();
214  float py = mcPhotons[0].fourMomentum().y() + mcPhotons[1].fourMomentum().y();
215  float pz = mcPhotons[0].fourMomentum().z() + mcPhotons[1].fourMomentum().z();
216  float e = mcPhotons[0].fourMomentum().e() + mcPhotons[1].fourMomentum().e();
217  float invM = sqrt( e*e - px*px -py*py - pz*pz)*1000;
218  h_MCPizMass1_ ->Fill (invM);
219 
220  int converted=0;
221  for ( std::vector<PhotonMCTruth>::const_iterator iPho=mcPhotons.begin(); iPho !=mcPhotons.end(); ++iPho ){
222  h_MCPhoE_->Fill ( (*iPho).fourMomentum().e() );
223  h_MCPhoEta_->Fill ( (*iPho).fourMomentum().pseudoRapidity() );
224  h_MCPhoPhi_->Fill ( (*iPho).fourMomentum().phi() );
225  if ( (*iPho).isAConversion() ) {
226 
227  converted++;
228 
229  h_MCConvPhoE_->Fill ( (*iPho).fourMomentum().e() );
230  h_MCConvPhoEta_->Fill ( (*iPho).fourMomentum().pseudoRapidity() );
231  h_MCConvPhoPhi_->Fill ( (*iPho).fourMomentum().phi() );
232  h_MCConvPhoR_->Fill ( (*iPho).vertex().perp() );
233 
234  std::vector<ElectronMCTruth> mcElectrons=(*iPho).electrons();
235  std::cout << " MCPizeroAnalyzer mcElectrons size " << mcElectrons.size() << std::endl;
236 
237  for ( std::vector<ElectronMCTruth>::const_iterator iEl=mcElectrons.begin(); iEl !=mcElectrons.end(); ++iEl ){
238 
239  if ( (*iEl).fourMomentum().e() < 30 ) continue;
240  h_MCEleE_->Fill ( (*iEl).fourMomentum().e() );
241  h_MCEleEta_->Fill ( (*iEl).fourMomentum().pseudoRapidity() );
242  h_MCElePhi_->Fill ( (*iEl).fourMomentum().phi() );
243 
244 
245  h_EleEvsPhoE_->Fill ( (*iPho).fourMomentum().e(), (*iEl).fourMomentum().e() );
246 
247  float totBrem=0;
248  for ( unsigned int iBrem=0; iBrem < (*iEl).bremVertices().size(); ++iBrem )
249  totBrem += (*iEl).bremMomentum()[iBrem].e();
250 
251  h_BremFrac_->Fill( totBrem/(*iEl).fourMomentum().e() );
252  h_BremEnergy_->Fill ( totBrem );
253  }
254 
255  }
256 
257  }
258 
259 
260  if ( converted > 0 ) {
261  h_MCPiz1ConEta_->Fill ( (*iPiz).fourMomentum().pseudoRapidity() );
262  if ( converted==2) h_MCPiz2ConEta_->Fill ( (*iPiz).fourMomentum().pseudoRapidity() );
263  } else {
264  h_MCPizUnEta_->Fill ( (*iPiz).fourMomentum().pseudoRapidity() );
265  }
266 
267 
268 
269  }
270 
271 
272 
273 
274 }
T sqrt(T t)
Definition: SSEVec.h:18
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:416
std::vector< PizeroMCTruth > find(const std::vector< SimTrack > &simTracks, const std::vector< SimVertex > &simVertices)
PizeroMCTruthFinder * thePizeroMCTruthFinder_
edm::EventID id() const
Definition: EventBase.h:60
HLT enums.
void MCPizeroAnalyzer::beginJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 63 of file MCPizeroAnalyzer.cc.

References fOutputFile_, fOutputFileName_, h_BremEnergy_, h_BremFrac_, h_EleEvsPhoE_, h_MCConvPhoE_, h_MCConvPhoEta_, h_MCConvPhoPhi_, h_MCConvPhoR_, h_MCEleE_, h_MCEleEta_, h_MCElePhi_, h_MCPhoE_, h_MCPhoEta_, h_MCPhoPhi_, h_MCPiz1ConEta_, h_MCPiz2ConEta_, h_MCPizE_, h_MCPizEta_, h_MCPizMass1_, h_MCPizMass2_, h_MCPizPhi_, h_MCPizUnEta_, nEvt_, reco::return(), and thePizeroMCTruthFinder_.

64 {
65 
66 
67  nEvt_=0;
68 
70 
71  fOutputFile_ = new TFile( fOutputFileName_.c_str(), "RECREATE" ) ;
72 
74  h_MCPizE_ = new TH1F("MCPizE","MC piz energy",100,0.,200.);
75  h_MCPizPhi_ = new TH1F("MCPizPhi","MC piz phi",40,-3.14, 3.14);
76  h_MCPizEta_ = new TH1F("MCPizEta","MC piz eta",40,-3., 3.);
77  h_MCPizUnEta_ = new TH1F("MCPizUnEta","MC un piz eta",40,-3., 3.);
78  h_MCPiz1ConEta_ = new TH1F("MCPiz1ConEta","MC con piz eta: at least one converted photon",40,-3., 3.);
79  h_MCPiz2ConEta_ = new TH1F("MCPiz2ConEta","MC con piz eta: two converted photons",40,-3., 3.);
80  h_MCPizMass1_= new TH1F("MCPizMass1","Piz mass unconverted ",100, 0., 200);
81  h_MCPizMass2_= new TH1F("MCPizMass2","Piz mass converted ",100, 0., 200);
82 
83  // All Photons from Pizeros
84  h_MCPhoE_ = new TH1F("MCPhoE","MC photon energy",100,0.,200.);
85  h_MCPhoPhi_ = new TH1F("MCPhoPhi","MC photon phi",40,-3.14, 3.14);
86  h_MCPhoEta_ = new TH1F("MCPhoEta","MC photon eta",40,-3., 3.);
87 
88  // Converted photons
89  h_MCConvPhoE_ = new TH1F("MCConvPhoE","MC converted photon energy",100,0.,200.);
90  h_MCConvPhoPhi_ = new TH1F("MCConvPhoPhi","MC converted photon phi",40,-3.14, 3.14);
91  h_MCConvPhoEta_ = new TH1F("MCConvPhoEta","MC converted photon eta",40,-3., 3.);
92  h_MCConvPhoR_ = new TH1F("MCConvPhoR","MC converted photon R",120,0.,120.);
93  // Electrons from converted photons
94  h_MCEleE_ = new TH1F("MCEleE","MC ele energy",100,0.,200.);
95  h_MCElePhi_ = new TH1F("MCElePhi","MC ele phi",40,-3.14, 3.14);
96  h_MCEleEta_ = new TH1F("MCEleEta","MC ele eta",40,-3., 3.);
97  h_BremFrac_ = new TH1F("bremFrac","brem frac ", 50, 0., 1.);
98  h_BremEnergy_ = new TH1F("bremE","Brem energy",100,0.,200.);
99 
100 
101  h_EleEvsPhoE_ = new TH2F ("eleEvsPhoE","eleEvsPhoE",100,0.,200.,100,0.,200.);
102 
103 
104  return ;
105 }
std::string fOutputFileName_
PizeroMCTruthFinder * thePizeroMCTruthFinder_
return(e1-e2)*(e1-e2)+dp *dp
void MCPizeroAnalyzer::endJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 279 of file MCPizeroAnalyzer.cc.

References gather_cfg::cout, fOutputFile_, nEvt_, and reco::return().

280 {
281 
282 
283 
284 
285  fOutputFile_->Write() ;
286  fOutputFile_->Close() ;
287 
288  edm::LogInfo("MCPizeroAnalyzer") << "Analyzed " << nEvt_ << "\n";
289  std::cout << "MCPizeroAnalyzer::endJob Analyzed " << nEvt_ << " events " << "\n";
290 
291  return ;
292 }
return(e1-e2)*(e1-e2)+dp *dp
float MCPizeroAnalyzer::etaTransformation ( float  a,
float  b 
)
private

Definition at line 108 of file MCPizeroAnalyzer.cc.

References ETA, etaBarrelEndcap, cmsBatch::log, PI, R_ECAL, funct::tan(), and Z_Endcap.

108  {
109 
110 //---Definitions
111  const float PI = 3.1415927;
112  //UNUSED const float TWOPI = 2.0*PI;
113 
114 //---Definitions for ECAL
115  const float R_ECAL = 136.5;
116  const float Z_Endcap = 328.0;
117  const float etaBarrelEndcap = 1.479;
118 
119 //---ETA correction
120 
121  float Theta = 0.0 ;
122  float ZEcal = R_ECAL*sinh(EtaParticle)+Zvertex;
123 
124  if(ZEcal != 0.0) Theta = atan(R_ECAL/ZEcal);
125  if(Theta<0.0) Theta = Theta+PI ;
126  float ETA = - log(tan(0.5*Theta));
127 
128  if( fabs(ETA) > etaBarrelEndcap )
129  {
130  float Zend = Z_Endcap ;
131  if(EtaParticle<0.0 ) Zend = -Zend ;
132  float Zlen = Zend - Zvertex ;
133  float RR = Zlen/sinh(EtaParticle);
134  Theta = atan(RR/Zend);
135  if(Theta<0.0) Theta = Theta+PI ;
136  ETA = - log(tan(0.5*Theta));
137  }
138 //---Return the result
139  return ETA;
140 //---end
141 }
#define ETA
Tan< T >::type tan(const T &t)
Definition: Tan.h:22
#define PI
Definition: QcdUeDQM.h:36
static const float etaBarrelEndcap
static const float Z_Endcap
static const float R_ECAL
float MCPizeroAnalyzer::phiNormalization ( float &  a)
private

Definition at line 143 of file MCPizeroAnalyzer.cc.

References phi, PI, and TWOPI.

144 {
145 //---Definitions
146  const float PI = 3.1415927;
147  const float TWOPI = 2.0*PI;
148 
149 
150  if(phi > PI) {phi = phi - TWOPI;}
151  if(phi < -PI) {phi = phi + TWOPI;}
152 
153  // cout << " Float_t PHInormalization out " << PHI << endl;
154  return phi;
155 
156 }
#define TWOPI
EgammaCoreTools.
Definition: DQMSourcePi0.cc:40
#define PI
Definition: QcdUeDQM.h:36

Member Data Documentation

TFile* MCPizeroAnalyzer::fOutputFile_
private

Definition at line 49 of file MCPizeroAnalyzer.h.

Referenced by beginJob(), and endJob().

std::string MCPizeroAnalyzer::fOutputFileName_
private

Definition at line 48 of file MCPizeroAnalyzer.h.

Referenced by beginJob().

TH1F* MCPizeroAnalyzer::h_BremEnergy_
private

Definition at line 80 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_BremFrac_
private

Definition at line 79 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

TH2F* MCPizeroAnalyzer::h_EleEvsPhoE_
private

Definition at line 82 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCConvPhoE_
private

Definition at line 87 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCConvPhoEta_
private

Definition at line 88 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCConvPhoPhi_
private

Definition at line 89 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCConvPhoR_
private

Definition at line 90 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCEleE_
private

Definition at line 76 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCEleEta_
private

Definition at line 77 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCElePhi_
private

Definition at line 78 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCPhoE_
private

Definition at line 84 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCPhoEta_
private

Definition at line 85 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCPhoPhi_
private

Definition at line 86 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCPiz1ConEta_
private

Definition at line 70 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCPiz2ConEta_
private

Definition at line 71 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCPizE_
private

Definition at line 67 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCPizEta_
private

Definition at line 68 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCPizMass1_
private

Definition at line 73 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCPizMass2_
private

Definition at line 74 of file MCPizeroAnalyzer.h.

Referenced by beginJob().

TH1F* MCPizeroAnalyzer::h_MCPizPhi_
private

Definition at line 72 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCPizUnEta_
private

Definition at line 69 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

std::string MCPizeroAnalyzer::HepMCLabel
private

Definition at line 61 of file MCPizeroAnalyzer.h.

double MCPizeroAnalyzer::mcEta_
private

Definition at line 59 of file MCPizeroAnalyzer.h.

double MCPizeroAnalyzer::mcPhi_
private

global variable for the MC photon

Definition at line 58 of file MCPizeroAnalyzer.h.

int MCPizeroAnalyzer::nEvt_
private

Definition at line 54 of file MCPizeroAnalyzer.h.

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

int MCPizeroAnalyzer::nMatched_
private

Definition at line 55 of file MCPizeroAnalyzer.h.

std::string MCPizeroAnalyzer::SimHitLabel
private

Definition at line 64 of file MCPizeroAnalyzer.h.

std::string MCPizeroAnalyzer::SimTkLabel
private

Definition at line 62 of file MCPizeroAnalyzer.h.

std::string MCPizeroAnalyzer::SimVtxLabel
private

Definition at line 63 of file MCPizeroAnalyzer.h.

PizeroMCTruthFinder* MCPizeroAnalyzer::thePizeroMCTruthFinder_
private

Definition at line 44 of file MCPizeroAnalyzer.h.

Referenced by analyze(), beginJob(), and ~MCPizeroAnalyzer().