CMS 3D CMS Logo

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

#include <PhotonsWithConversionsAnalyzer.h>

Inheritance diagram for PhotonsWithConversionsAnalyzer:
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
 
 PhotonsWithConversionsAnalyzer (const edm::ParameterSet &)
 
 ~PhotonsWithConversionsAnalyzer () 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)
 

Private Attributes

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_scEt_
 
TH1F * h_scEta_
 
TH1F * h_scPhi_
 
std::string HepMCLabel
 
int nEvt_
 
int nMatched_
 
int nMCPho_
 
std::string photonCollection_
 
std::string photonCollectionProducer_
 
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
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 PhotonsWithConversionsAnalyzer.h.

Constructor & Destructor Documentation

◆ PhotonsWithConversionsAnalyzer()

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

Definition at line 48 of file PhotonsWithConversionsAnalyzer.cc.

48  {
49  photonCollectionProducer_ = pset.getParameter<std::string>("phoProducer");
50  photonCollection_ = pset.getParameter<std::string>("photonCollection");
51  //
52 }

References muonDTDigis_cfi::pset, and AlCaHLTBitMon_QueryRunRegistry::string.

◆ ~PhotonsWithConversionsAnalyzer()

PhotonsWithConversionsAnalyzer::~PhotonsWithConversionsAnalyzer ( )
override

Definition at line 54 of file PhotonsWithConversionsAnalyzer.cc.

54 { delete thePhotonMCTruthFinder_; }

Member Function Documentation

◆ analyze()

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

Loop over recontructed photons

End loop over Reco particles

End loop over MC particles

Implements edm::one::EDAnalyzerBase.

Definition at line 134 of file PhotonsWithConversionsAnalyzer.cc.

134  {
135  using namespace edm;
136  const float etaPhiDistance = 0.01;
137  // Fiducial region
138  //UNUSED const float TRK_BARL =0.9;
139  //UNUSED const float BARL = 1.4442; // DAQ TDR p.290
140  //UNUSED const float END_LO = 1.566;
141  //UNUSED const float END_HI = 2.5;
142  // Electron mass
143  //UNUSED const Float_t mElec= 0.000511;
144 
145  nEvt_++;
146  LogInfo("ConvertedPhotonAnalyzer") << "ConvertedPhotonAnalyzer Analyzing event number: " << e.id()
147  << " Global Counter " << nEvt_ << "\n";
148  // LogDebug("ConvertedPhotonAnalyzer") << "ConvertedPhotonAnalyzer Analyzing event number: " << e.id() << " Global Counter " << nEvt_ <<"\n";
149  std::cout << "ConvertedPhotonAnalyzer Analyzing event number: " << e.id() << " Global Counter " << nEvt_ << "\n";
150 
152  Handle<reco::PhotonCollection> photonHandle;
153  e.getByLabel(photonCollectionProducer_, photonCollection_, photonHandle);
154  const reco::PhotonCollection photonCollection = *(photonHandle.product());
155  std::cout << "ConvertedPhotonAnalyzer Photons with conversions collection size " << photonCollection.size() << "\n";
156 
158  std::cout << " ConvertedPhotonAnalyzer 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 
173  std::vector<PhotonMCTruth> mcPhotons = thePhotonMCTruthFinder_->find(theSimTracks, theSimVertices);
174  std::cout << " ConvertedPhotonAnalyzer mcPhotons size " << mcPhotons.size() << std::endl;
175 
176  // Loop over simulated photons
177  //UNUSED int iDet=0;
178  //UNUSED int iRadius=-1;
179  //UNUSED int indPho=0;
180 
181  for (std::vector<PhotonMCTruth>::const_iterator mcPho = mcPhotons.begin(); mcPho != mcPhotons.end(); mcPho++) {
182  float mcPhi = (*mcPho).fourMomentum().phi();
183  float mcEta = (*mcPho).fourMomentum().pseudoRapidity();
184  mcEta = etaTransformation(mcEta, (*mcPho).primaryVertex().z());
185 
186  if ((*mcPho).fourMomentum().et() < 20)
187  continue;
188  // if ( ! ( fabs(mcEta) <= BARL || ( fabs(mcEta) >= END_LO && fabs(mcEta) <=END_HI ) ) ) {
189  // continue;
190  //} // all ecal fiducial region
191 
192  h_MCphoE_->Fill((*mcPho).fourMomentum().e());
193  h_MCphoEta_->Fill((*mcPho).fourMomentum().eta());
194  h_MCphoPhi_->Fill((*mcPho).fourMomentum().phi());
195 
196  // keep only visible conversions
197  if ((*mcPho).isAConversion() == 0)
198  continue;
199 
200  nMCPho_++;
201 
202  h_MCConvEta_->Fill(fabs((*mcPho).fourMomentum().pseudoRapidity()) - 0.001);
203 
204  bool REJECTED;
205 
207  //std::cout << " ConvertedPhotonAnalyzer Starting loop over photon candidates " << "\n";
208  for (reco::PhotonCollection::const_iterator iPho = photonCollection.begin(); iPho != photonCollection.end();
209  iPho++) {
210  REJECTED = false;
211 
212  // std::cout << " ConvertedPhotonAnalyzer Reco SC energy " << (*iPho).superCluster()->energy() << "\n";
213 
214  float phiClu = (*iPho).superCluster()->phi();
215  float etaClu = (*iPho).superCluster()->eta();
216  float deltaPhi = phiClu - mcPhi;
217  float deltaEta = etaClu - mcEta;
218 
219  if (deltaPhi > Geom::pi())
220  deltaPhi -= Geom::twoPi();
221  if (deltaPhi < -Geom::pi())
222  deltaPhi += Geom::twoPi();
223  deltaPhi = pow(deltaPhi, 2);
224  deltaEta = pow(deltaEta, 2);
225  float delta = deltaPhi + deltaEta;
226  if (delta >= etaPhiDistance)
227  REJECTED = true;
228 
229  // if ( ! ( fabs(etaClu) <= BARL || ( fabs(etaClu) >= END_LO && fabs(etaClu) <=END_HI ) ) ) REJECTED=true;
230 
231  if (REJECTED)
232  continue;
233  std::cout << " MATCHED " << std::endl;
234  nMatched_++;
235 
236  // std::cout << " ConvertedPhotonAnalyzer Matching candidate " << std::endl;
237 
238  // std::cout << " ConvertedPhotonAnalyzer Photons isAconversion " << (*mcPho).isAConversion() << " mcMatchingPhoton energy " << (*mcPho).fourMomentum().e() << " ConvertedPhotonAnalyzer conversion vertex R " << (*mcPho).vertex().perp() << " Z " << (*mcPho).vertex().z() << std::endl;
239 
240  h_ErecoEMC_->Fill((*iPho).superCluster()->energy() / (*mcPho).fourMomentum().e());
241  h_deltaPhi_->Fill((*iPho).superCluster()->position().phi() - mcPhi);
242  h_deltaEta_->Fill((*iPho).superCluster()->position().eta() - mcEta);
243 
244  h_scE_->Fill((*iPho).superCluster()->energy());
245  h_scEt_->Fill((*iPho).superCluster()->energy() / cosh((*iPho).superCluster()->position().eta()));
246  h_scEta_->Fill((*iPho).superCluster()->position().eta());
247  h_scPhi_->Fill((*iPho).superCluster()->position().phi());
248 
249  h_phoE_->Fill((*iPho).energy());
250  h_phoEta_->Fill((*iPho).eta());
251  h_phoPhi_->Fill((*iPho).phi());
252 
253  if (!(*iPho).hasConversionTracks())
254  continue;
255  // std::cout << " This photons has " << (*iPho).conversions().size() << " conversions candidates " << std::endl;
256  reco::ConversionRefVector conversions = (*iPho).conversions();
257  //std::vector<reco::ConversionRef> conversions = (*iPho).conversions();
258 
259  for (unsigned int i = 0; i < conversions.size(); i++) {
260  //std::cout << " Conversion candidate Energy " << (*iPho).energy() << " number of tracks " << conversions[i]->nTracks() << std::endl;
261  std::vector<edm::RefToBase<reco::Track> > tracks = conversions[i]->tracks();
262 
263  for (unsigned int i = 0; i < tracks.size(); i++) {
264  // std::cout << " ConvertedPhotonAnalyzer Reco Track charge " << tracks[i]->charge() << " Num of RecHits " << tracks[i]->recHitsSize() << " inner momentum " << sqrt ( tracks[i]->innerMomentum().Mag2() ) << "\n";
265 
266  h2_tk_nHitsVsR_->Fill((*mcPho).vertex().perp(), tracks[i]->recHitsSize());
267  h2_tk_inPtVsR_->Fill((*mcPho).vertex().perp(), sqrt(tracks[i]->innerMomentum().Mag2()));
268  }
269  }
270 
271  }
272 
273  }
274 }

References pwdgSkimBPark_cfi::conversions, gather_cfg::cout, dumpMFGeometry_cfg::delta, spr::deltaEta, SiPixelRawToDigiRegional_cfi::deltaPhi, MillePedeFileConverter_cfg::e, mps_fire::i, ExoticaDQM_cfi::photonCollection, Geom::pi(), funct::pow(), edm::Handle< T >::product(), mathSSE::sqrt(), PDWG_EXOHSCP_cff::tracks, and Geom::twoPi().

◆ beginJob()

void PhotonsWithConversionsAnalyzer::beginJob ( void  )
overridevirtual

Reco - MC

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 56 of file PhotonsWithConversionsAnalyzer.cc.

56  {
57  nEvt_ = 0;
58  nMCPho_ = 0;
59  nMatched_ = 0;
60 
62 
64 
66  h_ErecoEMC_ = fs->make<TH1F>("deltaE", " delta(reco-mc) energy", 100, 0., 2.);
67  h_deltaPhi_ = fs->make<TH1F>("deltaPhi", " delta(reco-mc) phi", 100, -0.1, 0.1);
68  h_deltaEta_ = fs->make<TH1F>("deltaEta", " delta(reco-mc) eta", 100, -0.05, 0.05);
69 
71  h_MCphoE_ = fs->make<TH1F>("MCphoE", "MC photon energy", 100, 0., 100.);
72  h_MCphoPhi_ = fs->make<TH1F>("MCphoPhi", "MC photon phi", 40, -3.14, 3.14);
73  h_MCphoEta_ = fs->make<TH1F>("MCphoEta", "MC photon eta", 40, -3., 3.);
74 
76  h_MCConvE_ = fs->make<TH1F>("MCConvE", "MC converted photon energy", 100, 0., 100.);
77  h_MCConvPt_ = fs->make<TH1F>("MCConvPt", "MC converted photon pt", 100, 0., 100.);
78  h_MCConvEta_ = fs->make<TH1F>("MCConvEta", "MC converted photon eta", 50, 0., 2.5);
79 
81  h_scE_ = fs->make<TH1F>("scE", "SC Energy ", 100, 0., 200.);
82  h_scEt_ = fs->make<TH1F>("scEt", "SC Et ", 100, 0., 200.);
83  h_scEta_ = fs->make<TH1F>("scEta", "SC Eta ", 40, -3., 3.);
84  h_scPhi_ = fs->make<TH1F>("scPhi", "SC Phi ", 40, -3.14, 3.14);
85  //
86  h_phoE_ = fs->make<TH1F>("phoE", "Photon Energy ", 100, 0., 200.);
87  h_phoEta_ = fs->make<TH1F>("phoEta", "Photon Eta ", 40, -3., 3.);
88  h_phoPhi_ = fs->make<TH1F>("phoPhi", "Photon Phi ", 40, -3.14, 3.14);
89 
90  // Recontructed tracks from converted photon candidates
91  h2_tk_nHitsVsR_ = fs->make<TH2F>("tknHitsVsR", "Tracks Hits vs R ", 12, 0., 120., 20, 0.5, 20.5);
92  h2_tk_inPtVsR_ = fs->make<TH2F>("tkInPtvsR", "Tracks inner Pt vs R ", 12, 0., 120., 100, 0., 100.);
93 
94  return;
95 }

References TFileService::make().

◆ endJob()

void PhotonsWithConversionsAnalyzer::endJob ( void  )
overridevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 276 of file PhotonsWithConversionsAnalyzer.cc.

276  {
277  // fOutputFile_->Write() ;
278  // fOutputFile_->Close() ;
279 
280  edm::LogInfo("ConvertedPhotonAnalyzer") << "Analyzed " << nEvt_ << "\n";
281  // std::cout << "::endJob Analyzed " << nEvt_ << " events " << " with total " << nPho_ << " Photons " << "\n";
282  std::cout << "ConvertedPhotonAnalyzer::endJob Analyzed " << nEvt_ << " events "
283  << "\n";
284 
285  return;
286 }

References gather_cfg::cout.

◆ etaTransformation()

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

Definition at line 97 of file PhotonsWithConversionsAnalyzer.cc.

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

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

Member Data Documentation

◆ fOutputFile_

TFile* PhotonsWithConversionsAnalyzer::fOutputFile_
private

Definition at line 37 of file PhotonsWithConversionsAnalyzer.h.

◆ fOutputFileName_

std::string PhotonsWithConversionsAnalyzer::fOutputFileName_
private

Definition at line 36 of file PhotonsWithConversionsAnalyzer.h.

◆ h2_tk_inPtVsR_

TH2F* PhotonsWithConversionsAnalyzer::h2_tk_inPtVsR_
private

Definition at line 78 of file PhotonsWithConversionsAnalyzer.h.

◆ h2_tk_nHitsVsR_

TH2F* PhotonsWithConversionsAnalyzer::h2_tk_nHitsVsR_
private

Definition at line 76 of file PhotonsWithConversionsAnalyzer.h.

◆ h_deltaEta_

TH1F* PhotonsWithConversionsAnalyzer::h_deltaEta_
private

Definition at line 53 of file PhotonsWithConversionsAnalyzer.h.

◆ h_deltaPhi_

TH1F* PhotonsWithConversionsAnalyzer::h_deltaPhi_
private

Definition at line 52 of file PhotonsWithConversionsAnalyzer.h.

◆ h_ErecoEMC_

TH1F* PhotonsWithConversionsAnalyzer::h_ErecoEMC_
private

Definition at line 51 of file PhotonsWithConversionsAnalyzer.h.

◆ h_MCConvE_

TH1F* PhotonsWithConversionsAnalyzer::h_MCConvE_
private

Definition at line 61 of file PhotonsWithConversionsAnalyzer.h.

◆ h_MCConvEta_

TH1F* PhotonsWithConversionsAnalyzer::h_MCConvEta_
private

Definition at line 63 of file PhotonsWithConversionsAnalyzer.h.

◆ h_MCConvPt_

TH1F* PhotonsWithConversionsAnalyzer::h_MCConvPt_
private

Definition at line 62 of file PhotonsWithConversionsAnalyzer.h.

◆ h_MCphoE_

TH1F* PhotonsWithConversionsAnalyzer::h_MCphoE_
private

Definition at line 56 of file PhotonsWithConversionsAnalyzer.h.

◆ h_MCphoEta_

TH1F* PhotonsWithConversionsAnalyzer::h_MCphoEta_
private

Definition at line 58 of file PhotonsWithConversionsAnalyzer.h.

◆ h_MCphoPhi_

TH1F* PhotonsWithConversionsAnalyzer::h_MCphoPhi_
private

Definition at line 57 of file PhotonsWithConversionsAnalyzer.h.

◆ h_phoE_

TH1F* PhotonsWithConversionsAnalyzer::h_phoE_
private

Definition at line 71 of file PhotonsWithConversionsAnalyzer.h.

◆ h_phoEta_

TH1F* PhotonsWithConversionsAnalyzer::h_phoEta_
private

Definition at line 72 of file PhotonsWithConversionsAnalyzer.h.

◆ h_phoPhi_

TH1F* PhotonsWithConversionsAnalyzer::h_phoPhi_
private

Definition at line 73 of file PhotonsWithConversionsAnalyzer.h.

◆ h_scE_

TH1F* PhotonsWithConversionsAnalyzer::h_scE_
private

Definition at line 66 of file PhotonsWithConversionsAnalyzer.h.

◆ h_scEt_

TH1F* PhotonsWithConversionsAnalyzer::h_scEt_
private

Definition at line 67 of file PhotonsWithConversionsAnalyzer.h.

◆ h_scEta_

TH1F* PhotonsWithConversionsAnalyzer::h_scEta_
private

Definition at line 68 of file PhotonsWithConversionsAnalyzer.h.

◆ h_scPhi_

TH1F* PhotonsWithConversionsAnalyzer::h_scPhi_
private

Definition at line 69 of file PhotonsWithConversionsAnalyzer.h.

◆ HepMCLabel

std::string PhotonsWithConversionsAnalyzer::HepMCLabel
private

Definition at line 43 of file PhotonsWithConversionsAnalyzer.h.

◆ nEvt_

int PhotonsWithConversionsAnalyzer::nEvt_
private

Definition at line 39 of file PhotonsWithConversionsAnalyzer.h.

◆ nMatched_

int PhotonsWithConversionsAnalyzer::nMatched_
private

Definition at line 41 of file PhotonsWithConversionsAnalyzer.h.

◆ nMCPho_

int PhotonsWithConversionsAnalyzer::nMCPho_
private

Definition at line 40 of file PhotonsWithConversionsAnalyzer.h.

◆ photonCollection_

std::string PhotonsWithConversionsAnalyzer::photonCollection_
private

Definition at line 49 of file PhotonsWithConversionsAnalyzer.h.

◆ photonCollectionProducer_

std::string PhotonsWithConversionsAnalyzer::photonCollectionProducer_
private

Definition at line 48 of file PhotonsWithConversionsAnalyzer.h.

◆ SimHitLabel

std::string PhotonsWithConversionsAnalyzer::SimHitLabel
private

Definition at line 46 of file PhotonsWithConversionsAnalyzer.h.

◆ SimTkLabel

std::string PhotonsWithConversionsAnalyzer::SimTkLabel
private

Definition at line 44 of file PhotonsWithConversionsAnalyzer.h.

◆ SimVtxLabel

std::string PhotonsWithConversionsAnalyzer::SimVtxLabel
private

Definition at line 45 of file PhotonsWithConversionsAnalyzer.h.

◆ thePhotonMCTruthFinder_

PhotonMCTruthFinder* PhotonsWithConversionsAnalyzer::thePhotonMCTruthFinder_
private

Definition at line 34 of file PhotonsWithConversionsAnalyzer.h.

PI
Definition: PayloadInspector.h:20
PhotonsWithConversionsAnalyzer::h_MCphoEta_
TH1F * h_MCphoEta_
Definition: PhotonsWithConversionsAnalyzer.h:58
PDWG_EXOHSCP_cff.tracks
tracks
Definition: PDWG_EXOHSCP_cff.py:28
PhotonsWithConversionsAnalyzer::h_MCphoPhi_
TH1F * h_MCphoPhi_
Definition: PhotonsWithConversionsAnalyzer.h:57
mps_fire.i
i
Definition: mps_fire.py:428
edm::Handle::product
T const * product() const
Definition: Handle.h:70
PhotonsWithConversionsAnalyzer::h2_tk_nHitsVsR_
TH2F * h2_tk_nHitsVsR_
Definition: PhotonsWithConversionsAnalyzer.h:76
PI
#define PI
Definition: QcdUeDQM.h:37
edm
HLT enums.
Definition: AlignableModifier.h:19
gather_cfg.cout
cout
Definition: gather_cfg.py:144
PhotonsWithConversionsAnalyzer::h_phoPhi_
TH1F * h_phoPhi_
Definition: PhotonsWithConversionsAnalyzer.h:73
PhotonsWithConversionsAnalyzer::h_scE_
TH1F * h_scE_
Definition: PhotonsWithConversionsAnalyzer.h:66
edm::RefVector< ConversionCollection >
PhotonsWithConversionsAnalyzer::h_MCConvPt_
TH1F * h_MCConvPt_
Definition: PhotonsWithConversionsAnalyzer.h:62
PhotonMCTruthFinder::find
std::vector< PhotonMCTruth > find(const std::vector< SimTrack > &simTracks, const std::vector< SimVertex > &simVertices)
Definition: PhotonMCTruthFinder.cc:17
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
edm::Handle< reco::PhotonCollection >
PhotonsWithConversionsAnalyzer::h2_tk_inPtVsR_
TH2F * h2_tk_inPtVsR_
Definition: PhotonsWithConversionsAnalyzer.h:78
PhotonsWithConversionsAnalyzer::h_deltaPhi_
TH1F * h_deltaPhi_
Definition: PhotonsWithConversionsAnalyzer.h:52
PhotonsWithConversionsAnalyzer::h_ErecoEMC_
TH1F * h_ErecoEMC_
Definition: PhotonsWithConversionsAnalyzer.h:51
PhotonsWithConversionsAnalyzer::h_scEta_
TH1F * h_scEta_
Definition: PhotonsWithConversionsAnalyzer.h:68
PhotonsWithConversionsAnalyzer::h_MCphoE_
TH1F * h_MCphoE_
Definition: PhotonsWithConversionsAnalyzer.h:56
spr::deltaEta
static const double deltaEta
Definition: CaloConstants.h:8
SiPixelRawToDigiRegional_cfi.deltaPhi
deltaPhi
Definition: SiPixelRawToDigiRegional_cfi.py:9
PhotonsWithConversionsAnalyzer::h_MCConvEta_
TH1F * h_MCConvEta_
Definition: PhotonsWithConversionsAnalyzer.h:63
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
Geom::pi
constexpr double pi()
Definition: Pi.h:31
Geom::twoPi
constexpr double twoPi()
Definition: Pi.h:32
PhotonsWithConversionsAnalyzer::h_scPhi_
TH1F * h_scPhi_
Definition: PhotonsWithConversionsAnalyzer.h:69
PhotonsWithConversionsAnalyzer::photonCollectionProducer_
std::string photonCollectionProducer_
Definition: PhotonsWithConversionsAnalyzer.h:48
PhotonMCTruthFinder
Definition: PhotonMCTruthFinder.h:20
PhotonsWithConversionsAnalyzer::h_phoEta_
TH1F * h_phoEta_
Definition: PhotonsWithConversionsAnalyzer.h:72
PhotonsWithConversionsAnalyzer::photonCollection_
std::string photonCollection_
Definition: PhotonsWithConversionsAnalyzer.h:49
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
PhotonsWithConversionsAnalyzer::nMCPho_
int nMCPho_
Definition: PhotonsWithConversionsAnalyzer.h:40
PhotonsWithConversionsAnalyzer::nMatched_
int nMatched_
Definition: PhotonsWithConversionsAnalyzer.h:41
PhotonsWithConversionsAnalyzer::thePhotonMCTruthFinder_
PhotonMCTruthFinder * thePhotonMCTruthFinder_
Definition: PhotonsWithConversionsAnalyzer.h:34
PhotonsWithConversionsAnalyzer::etaTransformation
float etaTransformation(float a, float b)
Definition: PhotonsWithConversionsAnalyzer.cc:97
PhotonsWithConversionsAnalyzer::h_deltaEta_
TH1F * h_deltaEta_
Definition: PhotonsWithConversionsAnalyzer.h:53
dumpMFGeometry_cfg.delta
delta
Definition: dumpMFGeometry_cfg.py:25
funct::tan
Tan< T >::type tan(const T &t)
Definition: Tan.h:22
edm::Service< TFileService >
PhotonsWithConversionsAnalyzer::h_MCConvE_
TH1F * h_MCConvE_
Definition: PhotonsWithConversionsAnalyzer.h:61
PhotonsWithConversionsAnalyzer::h_phoE_
TH1F * h_phoE_
Definition: PhotonsWithConversionsAnalyzer.h:71
PhotonsWithConversionsAnalyzer::nEvt_
int nEvt_
Definition: PhotonsWithConversionsAnalyzer.h:39
ETA
#define ETA
Definition: GenericBenchmark.cc:28
PhotonsWithConversionsAnalyzer::h_scEt_
TH1F * h_scEt_
Definition: PhotonsWithConversionsAnalyzer.h:67
dqm-mbProfile.log
log
Definition: dqm-mbProfile.py:17
reco::PhotonCollection
std::vector< Photon > PhotonCollection
collectin of Photon objects
Definition: PhotonFwd.h:9
funct::pow
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29
ExoticaDQM_cfi.photonCollection
photonCollection
Definition: ExoticaDQM_cfi.py:17
ZEcal
static constexpr float ZEcal
Definition: L1TkEmParticleProducer.cc:40
pwdgSkimBPark_cfi.conversions
conversions
Definition: pwdgSkimBPark_cfi.py:10
Z_Endcap
static constexpr float Z_Endcap
Definition: ECALPositionCalculator.cc:11
R_ECAL
static constexpr float R_ECAL
Definition: ECALPositionCalculator.cc:10
TFileService::make
T * make(const Args &... args) const
make new ROOT object
Definition: TFileService.h:64
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27
MillePedeFileConverter_cfg.e
e
Definition: MillePedeFileConverter_cfg.py:37
etaBarrelEndcap
static constexpr float etaBarrelEndcap
Definition: ECALPositionCalculator.cc:12