CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
MCPizeroAnalyzer Class Reference
Inheritance diagram for MCPizeroAnalyzer:
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
 
 MCPizeroAnalyzer (const edm::ParameterSet &)
 
 ~MCPizeroAnalyzer () override
 
- Public Member Functions inherited from edm::one::EDAnalyzer<>
 EDAnalyzer ()=default
 
 EDAnalyzer (const EDAnalyzer &)=delete
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
const EDAnalyzeroperator= (const EDAnalyzer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () 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
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex >
const & 
esGetTokenRecordIndicesVector (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::array< std::vector< ModuleDescription const * > *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, 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 selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
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)
 
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::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)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< Bconsumes (edm::InputTag tag) noexcept
 
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<Transition Tr = Transition::Event>
constexpr auto esConsumes ()
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag)
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
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)
 
void resetItemsToGetFrom (BranchType iType)
 

Detailed Description

Definition at line 31 of file MCPizeroAnalyzer.cc.

Constructor & Destructor Documentation

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

Definition at line 94 of file MCPizeroAnalyzer.cc.

95  : fOutputFileName_(pset.getUntrackedParameter<string>("HistOutFile", std::string("TestConversions.root"))),
96  fOutputFile_(nullptr) {}
T getUntrackedParameter(std::string const &, T const &) const
std::string fOutputFileName_
MCPizeroAnalyzer::~MCPizeroAnalyzer ( )
override

Definition at line 98 of file MCPizeroAnalyzer.cc.

References thePizeroMCTruthFinder_.

98 { delete thePizeroMCTruthFinder_; }
PizeroMCTruthFinder * thePizeroMCTruthFinder_

Member Function Documentation

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

Implements edm::one::EDAnalyzerBase.

Definition at line 192 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_.

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

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 100 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_, and thePizeroMCTruthFinder_.

100  {
101  nEvt_ = 0;
102 
104 
105  fOutputFile_ = new TFile(fOutputFileName_.c_str(), "RECREATE");
106 
108  h_MCPizE_ = new TH1F("MCPizE", "MC piz energy", 100, 0., 200.);
109  h_MCPizPhi_ = new TH1F("MCPizPhi", "MC piz phi", 40, -3.14, 3.14);
110  h_MCPizEta_ = new TH1F("MCPizEta", "MC piz eta", 40, -3., 3.);
111  h_MCPizUnEta_ = new TH1F("MCPizUnEta", "MC un piz eta", 40, -3., 3.);
112  h_MCPiz1ConEta_ = new TH1F("MCPiz1ConEta", "MC con piz eta: at least one converted photon", 40, -3., 3.);
113  h_MCPiz2ConEta_ = new TH1F("MCPiz2ConEta", "MC con piz eta: two converted photons", 40, -3., 3.);
114  h_MCPizMass1_ = new TH1F("MCPizMass1", "Piz mass unconverted ", 100, 0., 200);
115  h_MCPizMass2_ = new TH1F("MCPizMass2", "Piz mass converted ", 100, 0., 200);
116 
117  // All Photons from Pizeros
118  h_MCPhoE_ = new TH1F("MCPhoE", "MC photon energy", 100, 0., 200.);
119  h_MCPhoPhi_ = new TH1F("MCPhoPhi", "MC photon phi", 40, -3.14, 3.14);
120  h_MCPhoEta_ = new TH1F("MCPhoEta", "MC photon eta", 40, -3., 3.);
121 
122  // Converted photons
123  h_MCConvPhoE_ = new TH1F("MCConvPhoE", "MC converted photon energy", 100, 0., 200.);
124  h_MCConvPhoPhi_ = new TH1F("MCConvPhoPhi", "MC converted photon phi", 40, -3.14, 3.14);
125  h_MCConvPhoEta_ = new TH1F("MCConvPhoEta", "MC converted photon eta", 40, -3., 3.);
126  h_MCConvPhoR_ = new TH1F("MCConvPhoR", "MC converted photon R", 120, 0., 120.);
127  // Electrons from converted photons
128  h_MCEleE_ = new TH1F("MCEleE", "MC ele energy", 100, 0., 200.);
129  h_MCElePhi_ = new TH1F("MCElePhi", "MC ele phi", 40, -3.14, 3.14);
130  h_MCEleEta_ = new TH1F("MCEleEta", "MC ele eta", 40, -3., 3.);
131  h_BremFrac_ = new TH1F("bremFrac", "brem frac ", 50, 0., 1.);
132  h_BremEnergy_ = new TH1F("bremE", "Brem energy", 100, 0., 200.);
133 
134  h_EleEvsPhoE_ = new TH2F("eleEvsPhoE", "eleEvsPhoE", 100, 0., 200., 100, 0., 200.);
135 
136  return;
137 }
std::string fOutputFileName_
PizeroMCTruthFinder * thePizeroMCTruthFinder_
void MCPizeroAnalyzer::endJob ( void  )
overridevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 292 of file MCPizeroAnalyzer.cc.

References gather_cfg::cout, fOutputFile_, and nEvt_.

292  {
293  fOutputFile_->Write();
294  fOutputFile_->Close();
295 
296  edm::LogInfo("MCPizeroAnalyzer") << "Analyzed " << nEvt_ << "\n";
297  std::cout << "MCPizeroAnalyzer::endJob Analyzed " << nEvt_ << " events "
298  << "\n";
299 
300  return;
301 }
Log< level::Info, false > LogInfo
tuple cout
Definition: gather_cfg.py:144
float MCPizeroAnalyzer::etaTransformation ( float  a,
float  b 
)
private

Definition at line 139 of file MCPizeroAnalyzer.cc.

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

139  {
140  //---Definitions
141  const float PI = 3.1415927;
142  //UNUSED const float TWOPI = 2.0*PI;
143 
144  //---Definitions for ECAL
145  const float R_ECAL = 136.5;
146  const float Z_Endcap = 328.0;
147  const float etaBarrelEndcap = 1.479;
148 
149  //---ETA correction
150 
151  float Theta = 0.0;
152  float ZEcal = R_ECAL * sinh(EtaParticle) + Zvertex;
153 
154  if (ZEcal != 0.0)
155  Theta = atan(R_ECAL / ZEcal);
156  if (Theta < 0.0)
157  Theta = Theta + PI;
158  float ETA = -log(tan(0.5 * Theta));
159 
160  if (fabs(ETA) > etaBarrelEndcap) {
161  float Zend = Z_Endcap;
162  if (EtaParticle < 0.0)
163  Zend = -Zend;
164  float Zlen = Zend - Zvertex;
165  float RR = Zlen / sinh(EtaParticle);
166  Theta = atan(RR / Zend);
167  if (Theta < 0.0)
168  Theta = Theta + PI;
169  ETA = -log(tan(0.5 * Theta));
170  }
171  //---Return the result
172  return ETA;
173  //---end
174 }
static std::vector< std::string > checklist log
static constexpr float R_ECAL
#define ETA
Tan< T >::type tan(const T &t)
Definition: Tan.h:22
static constexpr float etaBarrelEndcap
#define PI
Definition: QcdUeDQM.h:37
static constexpr float ZEcal
static constexpr float Z_Endcap
float MCPizeroAnalyzer::phiNormalization ( float &  a)
private

Definition at line 176 of file MCPizeroAnalyzer.cc.

References phi, PI, and TWOPI.

176  {
177  //---Definitions
178  const float PI = 3.1415927;
179  const float TWOPI = 2.0 * PI;
180 
181  if (phi > PI) {
182  phi = phi - TWOPI;
183  }
184  if (phi < -PI) {
185  phi = phi + TWOPI;
186  }
187 
188  // cout << " Float_t PHInormalization out " << PHI << endl;
189  return phi;
190 }
#define PI
Definition: QcdUeDQM.h:37
const float TWOPI
2.0 * PI
Definition: IceTypes.h:23

Member Data Documentation

TFile* MCPizeroAnalyzer::fOutputFile_
private

Definition at line 49 of file MCPizeroAnalyzer.cc.

Referenced by beginJob(), and endJob().

std::string MCPizeroAnalyzer::fOutputFileName_
private

Definition at line 48 of file MCPizeroAnalyzer.cc.

Referenced by beginJob().

TH1F* MCPizeroAnalyzer::h_BremEnergy_
private

Definition at line 76 of file MCPizeroAnalyzer.cc.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_BremFrac_
private

Definition at line 75 of file MCPizeroAnalyzer.cc.

Referenced by analyze(), and beginJob().

TH2F* MCPizeroAnalyzer::h_EleEvsPhoE_
private

Definition at line 78 of file MCPizeroAnalyzer.cc.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCConvPhoE_
private

Definition at line 83 of file MCPizeroAnalyzer.cc.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCConvPhoEta_
private

Definition at line 84 of file MCPizeroAnalyzer.cc.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCConvPhoPhi_
private

Definition at line 85 of file MCPizeroAnalyzer.cc.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCConvPhoR_
private

Definition at line 86 of file MCPizeroAnalyzer.cc.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCEleE_
private

Definition at line 72 of file MCPizeroAnalyzer.cc.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCEleEta_
private

Definition at line 73 of file MCPizeroAnalyzer.cc.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCElePhi_
private

Definition at line 74 of file MCPizeroAnalyzer.cc.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCPhoE_
private

Definition at line 80 of file MCPizeroAnalyzer.cc.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCPhoEta_
private

Definition at line 81 of file MCPizeroAnalyzer.cc.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCPhoPhi_
private

Definition at line 82 of file MCPizeroAnalyzer.cc.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCPiz1ConEta_
private

Definition at line 66 of file MCPizeroAnalyzer.cc.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCPiz2ConEta_
private

Definition at line 67 of file MCPizeroAnalyzer.cc.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCPizE_
private

Definition at line 63 of file MCPizeroAnalyzer.cc.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCPizEta_
private

Definition at line 64 of file MCPizeroAnalyzer.cc.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCPizMass1_
private

Definition at line 69 of file MCPizeroAnalyzer.cc.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCPizMass2_
private

Definition at line 70 of file MCPizeroAnalyzer.cc.

Referenced by beginJob().

TH1F* MCPizeroAnalyzer::h_MCPizPhi_
private

Definition at line 68 of file MCPizeroAnalyzer.cc.

Referenced by analyze(), and beginJob().

TH1F* MCPizeroAnalyzer::h_MCPizUnEta_
private

Definition at line 65 of file MCPizeroAnalyzer.cc.

Referenced by analyze(), and beginJob().

std::string MCPizeroAnalyzer::HepMCLabel
private

Definition at line 58 of file MCPizeroAnalyzer.cc.

double MCPizeroAnalyzer::mcEta_
private

Definition at line 56 of file MCPizeroAnalyzer.cc.

double MCPizeroAnalyzer::mcPhi_
private

global variable for the MC photon

Definition at line 55 of file MCPizeroAnalyzer.cc.

int MCPizeroAnalyzer::nEvt_
private

Definition at line 51 of file MCPizeroAnalyzer.cc.

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

int MCPizeroAnalyzer::nMatched_
private

Definition at line 52 of file MCPizeroAnalyzer.cc.

std::string MCPizeroAnalyzer::SimHitLabel
private

Definition at line 61 of file MCPizeroAnalyzer.cc.

std::string MCPizeroAnalyzer::SimTkLabel
private

Definition at line 59 of file MCPizeroAnalyzer.cc.

std::string MCPizeroAnalyzer::SimVtxLabel
private

Definition at line 60 of file MCPizeroAnalyzer.cc.

PizeroMCTruthFinder* MCPizeroAnalyzer::thePizeroMCTruthFinder_
private

Definition at line 46 of file MCPizeroAnalyzer.cc.

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