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::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
 
SerialTaskQueueglobalLuminosityBlocksQueue () final
 
SerialTaskQueueglobalRunsQueue () final
 
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 &&)=default
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
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::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
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)
 
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
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< B > consumes (edm::InputTag tag) noexcept
 
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<Transition Tr = Transition::Event>
constexpr auto esConsumes () noexcept
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag) noexcept
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 

Detailed Description

Definition at line 20 of file MCPizeroAnalyzer.h.

Constructor & Destructor Documentation

◆ MCPizeroAnalyzer()

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

Definition at line 42 of file MCPizeroAnalyzer.cc.

43  : fOutputFileName_(pset.getUntrackedParameter<string>("HistOutFile", std::string("TestConversions.root"))),
44  fOutputFile_(nullptr) {}

◆ ~MCPizeroAnalyzer()

MCPizeroAnalyzer::~MCPizeroAnalyzer ( )
override

Definition at line 46 of file MCPizeroAnalyzer.cc.

46 { delete thePizeroMCTruthFinder_; }

References thePizeroMCTruthFinder_.

Member Function Documentation

◆ analyze()

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

Implements edm::one::EDAnalyzerBase.

Definition at line 140 of file MCPizeroAnalyzer.cc.

140  {
141  using namespace edm;
142  //UNUSED const float etaPhiDistance=0.01;
143  // Fiducial region
144  //UNUSED const float TRK_BARL =0.9;
145  //UNUSED const float BARL = 1.4442; // DAQ TDR p.290
146  //UNUSED const float END_LO = 1.566;
147  //UNUSED const float END_HI = 2.5;
148  // Electron mass
149  //UNUSED const Float_t mElec= 0.000511;
150 
151  nEvt_++;
152  LogInfo("MCPizeroAnalyzer") << "MCPizeroAnalyzer Analyzing event number: " << e.id() << " Global Counter " << nEvt_
153  << "\n";
154  // LogDebug("MCPizeroAnalyzer") << "MCPizeroAnalyzer Analyzing event number: " << e.id() << " Global Counter " << nEvt_ <<"\n";
155  std::cout << "MCPizeroAnalyzer Analyzing event number: " << e.id() << " Global Counter " << nEvt_ << "\n";
156 
158  std::cout << " MCPizeroAnalyzer Looking for MC truth "
159  << "\n";
160 
161  //get simtrack info
162  std::vector<SimTrack> theSimTracks;
163  std::vector<SimVertex> theSimVertices;
164 
167  e.getByLabel("g4SimHits", SimTk);
168  e.getByLabel("g4SimHits", SimVtx);
169 
170  theSimTracks.insert(theSimTracks.end(), SimTk->begin(), SimTk->end());
171  theSimVertices.insert(theSimVertices.end(), SimVtx->begin(), SimVtx->end());
172  std::cout << " MCPizeroAnalyzer This Event has " << theSimTracks.size() << " sim tracks " << std::endl;
173  std::cout << " MCPizeroAnalyzer This Event has " << theSimVertices.size() << " sim vertices " << std::endl;
174  if (theSimTracks.empty())
175  std::cout << " Event number " << e.id() << " has NO sim tracks " << std::endl;
176 
177  std::vector<PizeroMCTruth> MCPizeroeros = thePizeroMCTruthFinder_->find(theSimTracks, theSimVertices);
178  std::cout << " MCPizeroAnalyzer MCPizeroeros size " << MCPizeroeros.size() << std::endl;
179 
180  for (std::vector<PizeroMCTruth>::const_iterator iPiz = MCPizeroeros.begin(); iPiz != MCPizeroeros.end(); ++iPiz) {
181  h_MCPizE_->Fill((*iPiz).fourMomentum().e());
182  h_MCPizEta_->Fill((*iPiz).fourMomentum().pseudoRapidity());
183  h_MCPizPhi_->Fill((*iPiz).fourMomentum().phi());
184 
185  std::vector<PhotonMCTruth> mcPhotons = (*iPiz).photons();
186  std::cout << " MCPizeroAnalyzer mcPhotons size " << mcPhotons.size() << std::endl;
187 
188  float px = mcPhotons[0].fourMomentum().x() + mcPhotons[1].fourMomentum().x();
189  float py = mcPhotons[0].fourMomentum().y() + mcPhotons[1].fourMomentum().y();
190  float pz = mcPhotons[0].fourMomentum().z() + mcPhotons[1].fourMomentum().z();
191  float e = mcPhotons[0].fourMomentum().e() + mcPhotons[1].fourMomentum().e();
192  float invM = sqrt(e * e - px * px - py * py - pz * pz) * 1000;
193  h_MCPizMass1_->Fill(invM);
194 
195  int converted = 0;
196  for (std::vector<PhotonMCTruth>::const_iterator iPho = mcPhotons.begin(); iPho != mcPhotons.end(); ++iPho) {
197  h_MCPhoE_->Fill((*iPho).fourMomentum().e());
198  h_MCPhoEta_->Fill((*iPho).fourMomentum().pseudoRapidity());
199  h_MCPhoPhi_->Fill((*iPho).fourMomentum().phi());
200  if ((*iPho).isAConversion()) {
201  converted++;
202 
203  h_MCConvPhoE_->Fill((*iPho).fourMomentum().e());
204  h_MCConvPhoEta_->Fill((*iPho).fourMomentum().pseudoRapidity());
205  h_MCConvPhoPhi_->Fill((*iPho).fourMomentum().phi());
206  h_MCConvPhoR_->Fill((*iPho).vertex().perp());
207 
208  std::vector<ElectronMCTruth> mcElectrons = (*iPho).electrons();
209  std::cout << " MCPizeroAnalyzer mcElectrons size " << mcElectrons.size() << std::endl;
210 
211  for (std::vector<ElectronMCTruth>::const_iterator iEl = mcElectrons.begin(); iEl != mcElectrons.end(); ++iEl) {
212  if ((*iEl).fourMomentum().e() < 30)
213  continue;
214  h_MCEleE_->Fill((*iEl).fourMomentum().e());
215  h_MCEleEta_->Fill((*iEl).fourMomentum().pseudoRapidity());
216  h_MCElePhi_->Fill((*iEl).fourMomentum().phi());
217 
218  h_EleEvsPhoE_->Fill((*iPho).fourMomentum().e(), (*iEl).fourMomentum().e());
219 
220  float totBrem = 0;
221  for (unsigned int iBrem = 0; iBrem < (*iEl).bremVertices().size(); ++iBrem)
222  totBrem += (*iEl).bremMomentum()[iBrem].e();
223 
224  h_BremFrac_->Fill(totBrem / (*iEl).fourMomentum().e());
225  h_BremEnergy_->Fill(totBrem);
226  }
227  }
228  }
229 
230  if (converted > 0) {
231  h_MCPiz1ConEta_->Fill((*iPiz).fourMomentum().pseudoRapidity());
232  if (converted == 2)
233  h_MCPiz2ConEta_->Fill((*iPiz).fourMomentum().pseudoRapidity());
234  } else {
235  h_MCPizUnEta_->Fill((*iPiz).fourMomentum().pseudoRapidity());
236  }
237  }
238 }

References fileCollector2::converted, gather_cfg::cout, MillePedeFileConverter_cfg::e, PizeroMCTruthFinder::find(), 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_, nEvt_, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, mathSSE::sqrt(), and thePizeroMCTruthFinder_.

◆ beginJob()

void MCPizeroAnalyzer::beginJob ( void  )
overridevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 48 of file MCPizeroAnalyzer.cc.

48  {
49  nEvt_ = 0;
50 
52 
53  fOutputFile_ = new TFile(fOutputFileName_.c_str(), "RECREATE");
54 
56  h_MCPizE_ = new TH1F("MCPizE", "MC piz energy", 100, 0., 200.);
57  h_MCPizPhi_ = new TH1F("MCPizPhi", "MC piz phi", 40, -3.14, 3.14);
58  h_MCPizEta_ = new TH1F("MCPizEta", "MC piz eta", 40, -3., 3.);
59  h_MCPizUnEta_ = new TH1F("MCPizUnEta", "MC un piz eta", 40, -3., 3.);
60  h_MCPiz1ConEta_ = new TH1F("MCPiz1ConEta", "MC con piz eta: at least one converted photon", 40, -3., 3.);
61  h_MCPiz2ConEta_ = new TH1F("MCPiz2ConEta", "MC con piz eta: two converted photons", 40, -3., 3.);
62  h_MCPizMass1_ = new TH1F("MCPizMass1", "Piz mass unconverted ", 100, 0., 200);
63  h_MCPizMass2_ = new TH1F("MCPizMass2", "Piz mass converted ", 100, 0., 200);
64 
65  // All Photons from Pizeros
66  h_MCPhoE_ = new TH1F("MCPhoE", "MC photon energy", 100, 0., 200.);
67  h_MCPhoPhi_ = new TH1F("MCPhoPhi", "MC photon phi", 40, -3.14, 3.14);
68  h_MCPhoEta_ = new TH1F("MCPhoEta", "MC photon eta", 40, -3., 3.);
69 
70  // Converted photons
71  h_MCConvPhoE_ = new TH1F("MCConvPhoE", "MC converted photon energy", 100, 0., 200.);
72  h_MCConvPhoPhi_ = new TH1F("MCConvPhoPhi", "MC converted photon phi", 40, -3.14, 3.14);
73  h_MCConvPhoEta_ = new TH1F("MCConvPhoEta", "MC converted photon eta", 40, -3., 3.);
74  h_MCConvPhoR_ = new TH1F("MCConvPhoR", "MC converted photon R", 120, 0., 120.);
75  // Electrons from converted photons
76  h_MCEleE_ = new TH1F("MCEleE", "MC ele energy", 100, 0., 200.);
77  h_MCElePhi_ = new TH1F("MCElePhi", "MC ele phi", 40, -3.14, 3.14);
78  h_MCEleEta_ = new TH1F("MCEleEta", "MC ele eta", 40, -3., 3.);
79  h_BremFrac_ = new TH1F("bremFrac", "brem frac ", 50, 0., 1.);
80  h_BremEnergy_ = new TH1F("bremE", "Brem energy", 100, 0., 200.);
81 
82  h_EleEvsPhoE_ = new TH2F("eleEvsPhoE", "eleEvsPhoE", 100, 0., 200., 100, 0., 200.);
83 
84  return;
85 }

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_.

◆ endJob()

void MCPizeroAnalyzer::endJob ( void  )
overridevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 240 of file MCPizeroAnalyzer.cc.

240  {
241  fOutputFile_->Write();
242  fOutputFile_->Close();
243 
244  edm::LogInfo("MCPizeroAnalyzer") << "Analyzed " << nEvt_ << "\n";
245  std::cout << "MCPizeroAnalyzer::endJob Analyzed " << nEvt_ << " events "
246  << "\n";
247 
248  return;
249 }

References gather_cfg::cout, fOutputFile_, and nEvt_.

◆ etaTransformation()

float MCPizeroAnalyzer::etaTransformation ( float  a,
float  b 
)
private

Definition at line 87 of file MCPizeroAnalyzer.cc.

87  {
88  //---Definitions
89  const float PI = 3.1415927;
90  //UNUSED const float TWOPI = 2.0*PI;
91 
92  //---Definitions for ECAL
93  const float R_ECAL = 136.5;
94  const float Z_Endcap = 328.0;
95  const float etaBarrelEndcap = 1.479;
96 
97  //---ETA correction
98 
99  float Theta = 0.0;
100  float ZEcal = R_ECAL * sinh(EtaParticle) + Zvertex;
101 
102  if (ZEcal != 0.0)
103  Theta = atan(R_ECAL / ZEcal);
104  if (Theta < 0.0)
105  Theta = Theta + PI;
106  float ETA = -log(tan(0.5 * Theta));
107 
108  if (fabs(ETA) > etaBarrelEndcap) {
109  float Zend = Z_Endcap;
110  if (EtaParticle < 0.0)
111  Zend = -Zend;
112  float Zlen = Zend - Zvertex;
113  float RR = Zlen / sinh(EtaParticle);
114  Theta = atan(RR / Zend);
115  if (Theta < 0.0)
116  Theta = Theta + PI;
117  ETA = -log(tan(0.5 * Theta));
118  }
119  //---Return the result
120  return ETA;
121  //---end
122 }

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

◆ phiNormalization()

float MCPizeroAnalyzer::phiNormalization ( float &  a)
private

Definition at line 124 of file MCPizeroAnalyzer.cc.

124  {
125  //---Definitions
126  const float PI = 3.1415927;
127  const float TWOPI = 2.0 * PI;
128 
129  if (phi > PI) {
130  phi = phi - TWOPI;
131  }
132  if (phi < -PI) {
133  phi = phi + TWOPI;
134  }
135 
136  // cout << " Float_t PHInormalization out " << PHI << endl;
137  return phi;
138 }

References phi, PI, and TWOPI.

Member Data Documentation

◆ fOutputFile_

TFile* MCPizeroAnalyzer::fOutputFile_
private

Definition at line 38 of file MCPizeroAnalyzer.h.

Referenced by beginJob(), and endJob().

◆ fOutputFileName_

std::string MCPizeroAnalyzer::fOutputFileName_
private

Definition at line 37 of file MCPizeroAnalyzer.h.

Referenced by beginJob().

◆ h_BremEnergy_

TH1F* MCPizeroAnalyzer::h_BremEnergy_
private

Definition at line 65 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

◆ h_BremFrac_

TH1F* MCPizeroAnalyzer::h_BremFrac_
private

Definition at line 64 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

◆ h_EleEvsPhoE_

TH2F* MCPizeroAnalyzer::h_EleEvsPhoE_
private

Definition at line 67 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

◆ h_MCConvPhoE_

TH1F* MCPizeroAnalyzer::h_MCConvPhoE_
private

Definition at line 72 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

◆ h_MCConvPhoEta_

TH1F* MCPizeroAnalyzer::h_MCConvPhoEta_
private

Definition at line 73 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

◆ h_MCConvPhoPhi_

TH1F* MCPizeroAnalyzer::h_MCConvPhoPhi_
private

Definition at line 74 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

◆ h_MCConvPhoR_

TH1F* MCPizeroAnalyzer::h_MCConvPhoR_
private

Definition at line 75 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

◆ h_MCEleE_

TH1F* MCPizeroAnalyzer::h_MCEleE_
private

Definition at line 61 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

◆ h_MCEleEta_

TH1F* MCPizeroAnalyzer::h_MCEleEta_
private

Definition at line 62 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

◆ h_MCElePhi_

TH1F* MCPizeroAnalyzer::h_MCElePhi_
private

Definition at line 63 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

◆ h_MCPhoE_

TH1F* MCPizeroAnalyzer::h_MCPhoE_
private

Definition at line 69 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

◆ h_MCPhoEta_

TH1F* MCPizeroAnalyzer::h_MCPhoEta_
private

Definition at line 70 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

◆ h_MCPhoPhi_

TH1F* MCPizeroAnalyzer::h_MCPhoPhi_
private

Definition at line 71 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

◆ h_MCPiz1ConEta_

TH1F* MCPizeroAnalyzer::h_MCPiz1ConEta_
private

Definition at line 55 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

◆ h_MCPiz2ConEta_

TH1F* MCPizeroAnalyzer::h_MCPiz2ConEta_
private

Definition at line 56 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

◆ h_MCPizE_

TH1F* MCPizeroAnalyzer::h_MCPizE_
private

Definition at line 52 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

◆ h_MCPizEta_

TH1F* MCPizeroAnalyzer::h_MCPizEta_
private

Definition at line 53 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

◆ h_MCPizMass1_

TH1F* MCPizeroAnalyzer::h_MCPizMass1_
private

Definition at line 58 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

◆ h_MCPizMass2_

TH1F* MCPizeroAnalyzer::h_MCPizMass2_
private

Definition at line 59 of file MCPizeroAnalyzer.h.

Referenced by beginJob().

◆ h_MCPizPhi_

TH1F* MCPizeroAnalyzer::h_MCPizPhi_
private

Definition at line 57 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

◆ h_MCPizUnEta_

TH1F* MCPizeroAnalyzer::h_MCPizUnEta_
private

Definition at line 54 of file MCPizeroAnalyzer.h.

Referenced by analyze(), and beginJob().

◆ HepMCLabel

std::string MCPizeroAnalyzer::HepMCLabel
private

Definition at line 47 of file MCPizeroAnalyzer.h.

◆ mcEta_

double MCPizeroAnalyzer::mcEta_
private

Definition at line 45 of file MCPizeroAnalyzer.h.

◆ mcPhi_

double MCPizeroAnalyzer::mcPhi_
private

global variable for the MC photon

Definition at line 44 of file MCPizeroAnalyzer.h.

◆ nEvt_

int MCPizeroAnalyzer::nEvt_
private

Definition at line 40 of file MCPizeroAnalyzer.h.

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

◆ nMatched_

int MCPizeroAnalyzer::nMatched_
private

Definition at line 41 of file MCPizeroAnalyzer.h.

◆ SimHitLabel

std::string MCPizeroAnalyzer::SimHitLabel
private

Definition at line 50 of file MCPizeroAnalyzer.h.

◆ SimTkLabel

std::string MCPizeroAnalyzer::SimTkLabel
private

Definition at line 48 of file MCPizeroAnalyzer.h.

◆ SimVtxLabel

std::string MCPizeroAnalyzer::SimVtxLabel
private

Definition at line 49 of file MCPizeroAnalyzer.h.

◆ thePizeroMCTruthFinder_

PizeroMCTruthFinder* MCPizeroAnalyzer::thePizeroMCTruthFinder_
private

Definition at line 35 of file MCPizeroAnalyzer.h.

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

PI
Definition: PayloadInspector.h:20
MCPizeroAnalyzer::h_MCEleEta_
TH1F * h_MCEleEta_
Definition: MCPizeroAnalyzer.h:62
MCPizeroAnalyzer::h_MCPizPhi_
TH1F * h_MCPizPhi_
Definition: MCPizeroAnalyzer.h:57
PI
#define PI
Definition: QcdUeDQM.h:37
multPhiCorr_741_25nsDY_cfi.py
py
Definition: multPhiCorr_741_25nsDY_cfi.py:12
edm
HLT enums.
Definition: AlignableModifier.h:19
gather_cfg.cout
cout
Definition: gather_cfg.py:144
MCPizeroAnalyzer::nEvt_
int nEvt_
Definition: MCPizeroAnalyzer.h:40
MCPizeroAnalyzer::h_MCConvPhoR_
TH1F * h_MCConvPhoR_
Definition: MCPizeroAnalyzer.h:75
MCPizeroAnalyzer::h_MCConvPhoPhi_
TH1F * h_MCConvPhoPhi_
Definition: MCPizeroAnalyzer.h:74
MCPizeroAnalyzer::thePizeroMCTruthFinder_
PizeroMCTruthFinder * thePizeroMCTruthFinder_
Definition: MCPizeroAnalyzer.h:35
MCPizeroAnalyzer::h_MCEleE_
TH1F * h_MCEleE_
Definition: MCPizeroAnalyzer.h:61
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
MCPizeroAnalyzer::h_MCPizMass1_
TH1F * h_MCPizMass1_
Definition: MCPizeroAnalyzer.h:58
edm::Handle
Definition: AssociativeIterator.h:50
MCPizeroAnalyzer::h_MCPizEta_
TH1F * h_MCPizEta_
Definition: MCPizeroAnalyzer.h:53
PizeroMCTruthFinder
Definition: PizeroMCTruthFinder.h:15
MCPizeroAnalyzer::fOutputFile_
TFile * fOutputFile_
Definition: MCPizeroAnalyzer.h:38
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
MCPizeroAnalyzer::h_MCPiz2ConEta_
TH1F * h_MCPiz2ConEta_
Definition: MCPizeroAnalyzer.h:56
MCPizeroAnalyzer::h_BremFrac_
TH1F * h_BremFrac_
Definition: MCPizeroAnalyzer.h:64
MCPizeroAnalyzer::fOutputFileName_
std::string fOutputFileName_
Definition: MCPizeroAnalyzer.h:37
MCPizeroAnalyzer::h_MCElePhi_
TH1F * h_MCElePhi_
Definition: MCPizeroAnalyzer.h:63
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TWOPI
#define TWOPI
Definition: DQMSourcePi0.cc:36
MCPizeroAnalyzer::h_MCPizMass2_
TH1F * h_MCPizMass2_
Definition: MCPizeroAnalyzer.h:59
funct::tan
Tan< T >::type tan(const T &t)
Definition: Tan.h:22
MCPizeroAnalyzer::h_MCPhoEta_
TH1F * h_MCPhoEta_
Definition: MCPizeroAnalyzer.h:70
MCPizeroAnalyzer::h_MCPizE_
TH1F * h_MCPizE_
Definition: MCPizeroAnalyzer.h:52
MCPizeroAnalyzer::h_MCPhoPhi_
TH1F * h_MCPhoPhi_
Definition: MCPizeroAnalyzer.h:71
fileCollector2.converted
converted
Definition: fileCollector2.py:211
PizeroMCTruthFinder::find
std::vector< PizeroMCTruth > find(const std::vector< SimTrack > &simTracks, const std::vector< SimVertex > &simVertices)
Definition: PizeroMCTruthFinder.cc:18
DDAxes::phi
MCPizeroAnalyzer::h_BremEnergy_
TH1F * h_BremEnergy_
Definition: MCPizeroAnalyzer.h:65
multPhiCorr_741_25nsDY_cfi.px
px
Definition: multPhiCorr_741_25nsDY_cfi.py:10
MCPizeroAnalyzer::h_EleEvsPhoE_
TH2F * h_EleEvsPhoE_
Definition: MCPizeroAnalyzer.h:67
ETA
#define ETA
Definition: GenericBenchmark.cc:28
MCPizeroAnalyzer::h_MCConvPhoE_
TH1F * h_MCConvPhoE_
Definition: MCPizeroAnalyzer.h:72
dqm-mbProfile.log
log
Definition: dqm-mbProfile.py:17
MCPizeroAnalyzer::h_MCConvPhoEta_
TH1F * h_MCConvPhoEta_
Definition: MCPizeroAnalyzer.h:73
MCPizeroAnalyzer::h_MCPiz1ConEta_
TH1F * h_MCPiz1ConEta_
Definition: MCPizeroAnalyzer.h:55
ZEcal
static constexpr float ZEcal
Definition: L1TkEmParticleProducer.cc:40
MCPizeroAnalyzer::h_MCPizUnEta_
TH1F * h_MCPizUnEta_
Definition: MCPizeroAnalyzer.h:54
Z_Endcap
static constexpr float Z_Endcap
Definition: ECALPositionCalculator.cc:11
R_ECAL
static constexpr float R_ECAL
Definition: ECALPositionCalculator.cc:10
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
MCPizeroAnalyzer::h_MCPhoE_
TH1F * h_MCPhoE_
Definition: MCPizeroAnalyzer.h:69
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
etaBarrelEndcap
static constexpr float etaBarrelEndcap
Definition: ECALPositionCalculator.cc:12