CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions | Private Attributes
PhotonsWithConversionsAnalyzer Class Reference
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
 
 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 &&)=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::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
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
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)
 

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 39 of file PhotonsWithConversionsAnalyzer.cc.

Constructor & Destructor Documentation

◆ PhotonsWithConversionsAnalyzer()

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

Definition at line 102 of file PhotonsWithConversionsAnalyzer.cc.

102  {
103  photonCollectionProducer_ = pset.getParameter<std::string>("phoProducer");
104  photonCollection_ = pset.getParameter<std::string>("photonCollection");
105  //
106 }

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

◆ ~PhotonsWithConversionsAnalyzer()

PhotonsWithConversionsAnalyzer::~PhotonsWithConversionsAnalyzer ( )
override

Definition at line 108 of file PhotonsWithConversionsAnalyzer.cc.

108 { 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 188 of file PhotonsWithConversionsAnalyzer.cc.

188  {
189  using namespace edm;
190  const float etaPhiDistance = 0.01;
191  // Fiducial region
192  //UNUSED const float TRK_BARL =0.9;
193  //UNUSED const float BARL = 1.4442; // DAQ TDR p.290
194  //UNUSED const float END_LO = 1.566;
195  //UNUSED const float END_HI = 2.5;
196  // Electron mass
197  //UNUSED const Float_t mElec= 0.000511;
198 
199  nEvt_++;
200  LogInfo("ConvertedPhotonAnalyzer") << "ConvertedPhotonAnalyzer Analyzing event number: " << e.id()
201  << " Global Counter " << nEvt_ << "\n";
202  // LogDebug("ConvertedPhotonAnalyzer") << "ConvertedPhotonAnalyzer Analyzing event number: " << e.id() << " Global Counter " << nEvt_ <<"\n";
203  std::cout << "ConvertedPhotonAnalyzer Analyzing event number: " << e.id() << " Global Counter " << nEvt_ << "\n";
204 
206  Handle<reco::PhotonCollection> photonHandle;
207  e.getByLabel(photonCollectionProducer_, photonCollection_, photonHandle);
208  const reco::PhotonCollection photonCollection = *(photonHandle.product());
209  std::cout << "ConvertedPhotonAnalyzer Photons with conversions collection size " << photonCollection.size() << "\n";
210 
212  std::cout << " ConvertedPhotonAnalyzer Looking for MC truth "
213  << "\n";
214 
215  //get simtrack info
216  std::vector<SimTrack> theSimTracks;
217  std::vector<SimVertex> theSimVertices;
218 
221  e.getByLabel("g4SimHits", SimTk);
222  e.getByLabel("g4SimHits", SimVtx);
223 
224  theSimTracks.insert(theSimTracks.end(), SimTk->begin(), SimTk->end());
225  theSimVertices.insert(theSimVertices.end(), SimVtx->begin(), SimVtx->end());
226 
227  std::vector<PhotonMCTruth> mcPhotons = thePhotonMCTruthFinder_->find(theSimTracks, theSimVertices);
228  std::cout << " ConvertedPhotonAnalyzer mcPhotons size " << mcPhotons.size() << std::endl;
229 
230  // Loop over simulated photons
231  //UNUSED int iDet=0;
232  //UNUSED int iRadius=-1;
233  //UNUSED int indPho=0;
234 
235  for (std::vector<PhotonMCTruth>::const_iterator mcPho = mcPhotons.begin(); mcPho != mcPhotons.end(); mcPho++) {
236  float mcPhi = (*mcPho).fourMomentum().phi();
237  float mcEta = (*mcPho).fourMomentum().pseudoRapidity();
238  mcEta = etaTransformation(mcEta, (*mcPho).primaryVertex().z());
239 
240  if ((*mcPho).fourMomentum().et() < 20)
241  continue;
242  // if ( ! ( fabs(mcEta) <= BARL || ( fabs(mcEta) >= END_LO && fabs(mcEta) <=END_HI ) ) ) {
243  // continue;
244  //} // all ecal fiducial region
245 
246  h_MCphoE_->Fill((*mcPho).fourMomentum().e());
247  h_MCphoEta_->Fill((*mcPho).fourMomentum().eta());
248  h_MCphoPhi_->Fill((*mcPho).fourMomentum().phi());
249 
250  // keep only visible conversions
251  if ((*mcPho).isAConversion() == 0)
252  continue;
253 
254  nMCPho_++;
255 
256  h_MCConvEta_->Fill(fabs((*mcPho).fourMomentum().pseudoRapidity()) - 0.001);
257 
258  bool REJECTED;
259 
261  //std::cout << " ConvertedPhotonAnalyzer Starting loop over photon candidates " << "\n";
262  for (reco::PhotonCollection::const_iterator iPho = photonCollection.begin(); iPho != photonCollection.end();
263  iPho++) {
264  REJECTED = false;
265 
266  // std::cout << " ConvertedPhotonAnalyzer Reco SC energy " << (*iPho).superCluster()->energy() << "\n";
267 
268  float phiClu = (*iPho).superCluster()->phi();
269  float etaClu = (*iPho).superCluster()->eta();
270  float deltaPhi = phiClu - mcPhi;
271  float deltaEta = etaClu - mcEta;
272 
273  if (deltaPhi > Geom::pi())
274  deltaPhi -= Geom::twoPi();
275  if (deltaPhi < -Geom::pi())
276  deltaPhi += Geom::twoPi();
277  deltaPhi = pow(deltaPhi, 2);
278  deltaEta = pow(deltaEta, 2);
279  float delta = deltaPhi + deltaEta;
280  if (delta >= etaPhiDistance)
281  REJECTED = true;
282 
283  // if ( ! ( fabs(etaClu) <= BARL || ( fabs(etaClu) >= END_LO && fabs(etaClu) <=END_HI ) ) ) REJECTED=true;
284 
285  if (REJECTED)
286  continue;
287  std::cout << " MATCHED " << std::endl;
288  nMatched_++;
289 
290  // std::cout << " ConvertedPhotonAnalyzer Matching candidate " << std::endl;
291 
292  // 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;
293 
294  h_ErecoEMC_->Fill((*iPho).superCluster()->energy() / (*mcPho).fourMomentum().e());
295  h_deltaPhi_->Fill((*iPho).superCluster()->position().phi() - mcPhi);
296  h_deltaEta_->Fill((*iPho).superCluster()->position().eta() - mcEta);
297 
298  h_scE_->Fill((*iPho).superCluster()->energy());
299  h_scEt_->Fill((*iPho).superCluster()->energy() / cosh((*iPho).superCluster()->position().eta()));
300  h_scEta_->Fill((*iPho).superCluster()->position().eta());
301  h_scPhi_->Fill((*iPho).superCluster()->position().phi());
302 
303  h_phoE_->Fill((*iPho).energy());
304  h_phoEta_->Fill((*iPho).eta());
305  h_phoPhi_->Fill((*iPho).phi());
306 
307  if (!(*iPho).hasConversionTracks())
308  continue;
309  // std::cout << " This photons has " << (*iPho).conversions().size() << " conversions candidates " << std::endl;
310  reco::ConversionRefVector conversions = (*iPho).conversions();
311  //std::vector<reco::ConversionRef> conversions = (*iPho).conversions();
312 
313  for (unsigned int i = 0; i < conversions.size(); i++) {
314  //std::cout << " Conversion candidate Energy " << (*iPho).energy() << " number of tracks " << conversions[i]->nTracks() << std::endl;
315  std::vector<edm::RefToBase<reco::Track> > tracks = conversions[i]->tracks();
316 
317  for (unsigned int i = 0; i < tracks.size(); i++) {
318  // std::cout << " ConvertedPhotonAnalyzer Reco Track charge " << tracks[i]->charge() << " Num of RecHits " << tracks[i]->recHitsSize() << " inner momentum " << sqrt ( tracks[i]->innerMomentum().Mag2() ) << "\n";
319 
320  h2_tk_nHitsVsR_->Fill((*mcPho).vertex().perp(), tracks[i]->recHitsSize());
321  h2_tk_inPtVsR_->Fill((*mcPho).vertex().perp(), sqrt(tracks[i]->innerMomentum().Mag2()));
322  }
323  }
324 
325  }
326 
327  }
328 }

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(), tracks, and Geom::twoPi().

◆ beginJob()

void PhotonsWithConversionsAnalyzer::beginJob ( void  )
overridevirtual

Reco - MC

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 110 of file PhotonsWithConversionsAnalyzer.cc.

110  {
111  nEvt_ = 0;
112  nMCPho_ = 0;
113  nMatched_ = 0;
114 
116 
118 
120  h_ErecoEMC_ = fs->make<TH1F>("deltaE", " delta(reco-mc) energy", 100, 0., 2.);
121  h_deltaPhi_ = fs->make<TH1F>("deltaPhi", " delta(reco-mc) phi", 100, -0.1, 0.1);
122  h_deltaEta_ = fs->make<TH1F>("deltaEta", " delta(reco-mc) eta", 100, -0.05, 0.05);
123 
125  h_MCphoE_ = fs->make<TH1F>("MCphoE", "MC photon energy", 100, 0., 100.);
126  h_MCphoPhi_ = fs->make<TH1F>("MCphoPhi", "MC photon phi", 40, -3.14, 3.14);
127  h_MCphoEta_ = fs->make<TH1F>("MCphoEta", "MC photon eta", 40, -3., 3.);
128 
130  h_MCConvE_ = fs->make<TH1F>("MCConvE", "MC converted photon energy", 100, 0., 100.);
131  h_MCConvPt_ = fs->make<TH1F>("MCConvPt", "MC converted photon pt", 100, 0., 100.);
132  h_MCConvEta_ = fs->make<TH1F>("MCConvEta", "MC converted photon eta", 50, 0., 2.5);
133 
135  h_scE_ = fs->make<TH1F>("scE", "SC Energy ", 100, 0., 200.);
136  h_scEt_ = fs->make<TH1F>("scEt", "SC Et ", 100, 0., 200.);
137  h_scEta_ = fs->make<TH1F>("scEta", "SC Eta ", 40, -3., 3.);
138  h_scPhi_ = fs->make<TH1F>("scPhi", "SC Phi ", 40, -3.14, 3.14);
139  //
140  h_phoE_ = fs->make<TH1F>("phoE", "Photon Energy ", 100, 0., 200.);
141  h_phoEta_ = fs->make<TH1F>("phoEta", "Photon Eta ", 40, -3., 3.);
142  h_phoPhi_ = fs->make<TH1F>("phoPhi", "Photon Phi ", 40, -3.14, 3.14);
143 
144  // Recontructed tracks from converted photon candidates
145  h2_tk_nHitsVsR_ = fs->make<TH2F>("tknHitsVsR", "Tracks Hits vs R ", 12, 0., 120., 20, 0.5, 20.5);
146  h2_tk_inPtVsR_ = fs->make<TH2F>("tkInPtvsR", "Tracks inner Pt vs R ", 12, 0., 120., 100, 0., 100.);
147 
148  return;
149 }

References TFileService::make().

◆ endJob()

void PhotonsWithConversionsAnalyzer::endJob ( void  )
overridevirtual

Reimplemented from edm::one::EDAnalyzerBase.

Definition at line 330 of file PhotonsWithConversionsAnalyzer.cc.

330  {
331  // fOutputFile_->Write() ;
332  // fOutputFile_->Close() ;
333 
334  edm::LogInfo("ConvertedPhotonAnalyzer") << "Analyzed " << nEvt_ << "\n";
335  // std::cout << "::endJob Analyzed " << nEvt_ << " events " << " with total " << nPho_ << " Photons " << "\n";
336  std::cout << "ConvertedPhotonAnalyzer::endJob Analyzed " << nEvt_ << " events "
337  << "\n";
338 
339  return;
340 }

References gather_cfg::cout.

◆ etaTransformation()

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

Definition at line 151 of file PhotonsWithConversionsAnalyzer.cc.

151  {
152  //---Definitions
153  const float PI = 3.1415927;
154  //UNUSED const float TWOPI = 2.0*PI;
155 
156  //---Definitions for ECAL
157  const float R_ECAL = 136.5;
158  const float Z_Endcap = 328.0;
159  const float etaBarrelEndcap = 1.479;
160 
161  //---ETA correction
162 
163  float Theta = 0.0;
164  float ZEcal = R_ECAL * sinh(EtaParticle) + Zvertex;
165 
166  if (ZEcal != 0.0)
167  Theta = atan(R_ECAL / ZEcal);
168  if (Theta < 0.0)
169  Theta = Theta + PI;
170  float ETA = -log(tan(0.5 * Theta));
171 
172  if (fabs(ETA) > etaBarrelEndcap) {
173  float Zend = Z_Endcap;
174  if (EtaParticle < 0.0)
175  Zend = -Zend;
176  float Zlen = Zend - Zvertex;
177  float RR = Zlen / sinh(EtaParticle);
178  Theta = atan(RR / Zend);
179  if (Theta < 0.0)
180  Theta = Theta + PI;
181  ETA = -log(tan(0.5 * Theta));
182  }
183  //---Return the result
184  return ETA;
185  //---end
186 }

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 56 of file PhotonsWithConversionsAnalyzer.cc.

◆ fOutputFileName_

std::string PhotonsWithConversionsAnalyzer::fOutputFileName_
private

Definition at line 55 of file PhotonsWithConversionsAnalyzer.cc.

◆ h2_tk_inPtVsR_

TH2F* PhotonsWithConversionsAnalyzer::h2_tk_inPtVsR_
private

Definition at line 97 of file PhotonsWithConversionsAnalyzer.cc.

◆ h2_tk_nHitsVsR_

TH2F* PhotonsWithConversionsAnalyzer::h2_tk_nHitsVsR_
private

Definition at line 95 of file PhotonsWithConversionsAnalyzer.cc.

◆ h_deltaEta_

TH1F* PhotonsWithConversionsAnalyzer::h_deltaEta_
private

Definition at line 72 of file PhotonsWithConversionsAnalyzer.cc.

◆ h_deltaPhi_

TH1F* PhotonsWithConversionsAnalyzer::h_deltaPhi_
private

Definition at line 71 of file PhotonsWithConversionsAnalyzer.cc.

◆ h_ErecoEMC_

TH1F* PhotonsWithConversionsAnalyzer::h_ErecoEMC_
private

Definition at line 70 of file PhotonsWithConversionsAnalyzer.cc.

◆ h_MCConvE_

TH1F* PhotonsWithConversionsAnalyzer::h_MCConvE_
private

Definition at line 80 of file PhotonsWithConversionsAnalyzer.cc.

◆ h_MCConvEta_

TH1F* PhotonsWithConversionsAnalyzer::h_MCConvEta_
private

Definition at line 82 of file PhotonsWithConversionsAnalyzer.cc.

◆ h_MCConvPt_

TH1F* PhotonsWithConversionsAnalyzer::h_MCConvPt_
private

Definition at line 81 of file PhotonsWithConversionsAnalyzer.cc.

◆ h_MCphoE_

TH1F* PhotonsWithConversionsAnalyzer::h_MCphoE_
private

Definition at line 75 of file PhotonsWithConversionsAnalyzer.cc.

◆ h_MCphoEta_

TH1F* PhotonsWithConversionsAnalyzer::h_MCphoEta_
private

Definition at line 77 of file PhotonsWithConversionsAnalyzer.cc.

◆ h_MCphoPhi_

TH1F* PhotonsWithConversionsAnalyzer::h_MCphoPhi_
private

Definition at line 76 of file PhotonsWithConversionsAnalyzer.cc.

◆ h_phoE_

TH1F* PhotonsWithConversionsAnalyzer::h_phoE_
private

Definition at line 90 of file PhotonsWithConversionsAnalyzer.cc.

◆ h_phoEta_

TH1F* PhotonsWithConversionsAnalyzer::h_phoEta_
private

Definition at line 91 of file PhotonsWithConversionsAnalyzer.cc.

◆ h_phoPhi_

TH1F* PhotonsWithConversionsAnalyzer::h_phoPhi_
private

Definition at line 92 of file PhotonsWithConversionsAnalyzer.cc.

◆ h_scE_

TH1F* PhotonsWithConversionsAnalyzer::h_scE_
private

Definition at line 85 of file PhotonsWithConversionsAnalyzer.cc.

◆ h_scEt_

TH1F* PhotonsWithConversionsAnalyzer::h_scEt_
private

Definition at line 86 of file PhotonsWithConversionsAnalyzer.cc.

◆ h_scEta_

TH1F* PhotonsWithConversionsAnalyzer::h_scEta_
private

Definition at line 87 of file PhotonsWithConversionsAnalyzer.cc.

◆ h_scPhi_

TH1F* PhotonsWithConversionsAnalyzer::h_scPhi_
private

Definition at line 88 of file PhotonsWithConversionsAnalyzer.cc.

◆ HepMCLabel

std::string PhotonsWithConversionsAnalyzer::HepMCLabel
private

Definition at line 62 of file PhotonsWithConversionsAnalyzer.cc.

◆ nEvt_

int PhotonsWithConversionsAnalyzer::nEvt_
private

Definition at line 58 of file PhotonsWithConversionsAnalyzer.cc.

◆ nMatched_

int PhotonsWithConversionsAnalyzer::nMatched_
private

Definition at line 60 of file PhotonsWithConversionsAnalyzer.cc.

◆ nMCPho_

int PhotonsWithConversionsAnalyzer::nMCPho_
private

Definition at line 59 of file PhotonsWithConversionsAnalyzer.cc.

◆ photonCollection_

std::string PhotonsWithConversionsAnalyzer::photonCollection_
private

Definition at line 68 of file PhotonsWithConversionsAnalyzer.cc.

◆ photonCollectionProducer_

std::string PhotonsWithConversionsAnalyzer::photonCollectionProducer_
private

Definition at line 67 of file PhotonsWithConversionsAnalyzer.cc.

◆ SimHitLabel

std::string PhotonsWithConversionsAnalyzer::SimHitLabel
private

Definition at line 65 of file PhotonsWithConversionsAnalyzer.cc.

◆ SimTkLabel

std::string PhotonsWithConversionsAnalyzer::SimTkLabel
private

Definition at line 63 of file PhotonsWithConversionsAnalyzer.cc.

◆ SimVtxLabel

std::string PhotonsWithConversionsAnalyzer::SimVtxLabel
private

Definition at line 64 of file PhotonsWithConversionsAnalyzer.cc.

◆ thePhotonMCTruthFinder_

PhotonMCTruthFinder* PhotonsWithConversionsAnalyzer::thePhotonMCTruthFinder_
private

Definition at line 53 of file PhotonsWithConversionsAnalyzer.cc.

PI
Definition: PayloadInspector.h:21
PhotonsWithConversionsAnalyzer::h_MCphoEta_
TH1F * h_MCphoEta_
Definition: PhotonsWithConversionsAnalyzer.cc:77
PhotonsWithConversionsAnalyzer::h_MCphoPhi_
TH1F * h_MCphoPhi_
Definition: PhotonsWithConversionsAnalyzer.cc:76
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.cc:95
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.cc:92
PhotonsWithConversionsAnalyzer::h_scE_
TH1F * h_scE_
Definition: PhotonsWithConversionsAnalyzer.cc:85
edm::RefVector< ConversionCollection >
PhotonsWithConversionsAnalyzer::h_MCConvPt_
TH1F * h_MCConvPt_
Definition: PhotonsWithConversionsAnalyzer.cc:81
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.cc:97
PhotonsWithConversionsAnalyzer::h_deltaPhi_
TH1F * h_deltaPhi_
Definition: PhotonsWithConversionsAnalyzer.cc:71
PhotonsWithConversionsAnalyzer::h_ErecoEMC_
TH1F * h_ErecoEMC_
Definition: PhotonsWithConversionsAnalyzer.cc:70
PhotonsWithConversionsAnalyzer::h_scEta_
TH1F * h_scEta_
Definition: PhotonsWithConversionsAnalyzer.cc:87
PhotonsWithConversionsAnalyzer::h_MCphoE_
TH1F * h_MCphoE_
Definition: PhotonsWithConversionsAnalyzer.cc:75
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.cc:82
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.cc:88
PhotonsWithConversionsAnalyzer::photonCollectionProducer_
std::string photonCollectionProducer_
Definition: PhotonsWithConversionsAnalyzer.cc:67
PhotonMCTruthFinder
Definition: PhotonMCTruthFinder.h:20
PhotonsWithConversionsAnalyzer::h_phoEta_
TH1F * h_phoEta_
Definition: PhotonsWithConversionsAnalyzer.cc:91
PhotonsWithConversionsAnalyzer::photonCollection_
std::string photonCollection_
Definition: PhotonsWithConversionsAnalyzer.cc:68
PhotonsWithConversionsAnalyzer::nMCPho_
int nMCPho_
Definition: PhotonsWithConversionsAnalyzer.cc:59
PhotonsWithConversionsAnalyzer::nMatched_
int nMatched_
Definition: PhotonsWithConversionsAnalyzer.cc:60
PhotonsWithConversionsAnalyzer::thePhotonMCTruthFinder_
PhotonMCTruthFinder * thePhotonMCTruthFinder_
Definition: PhotonsWithConversionsAnalyzer.cc:53
tracks
const uint32_t *__restrict__ const HitContainer *__restrict__ TkSoA *__restrict__ tracks
Definition: CAHitNtupletGeneratorKernelsImpl.h:176
PhotonsWithConversionsAnalyzer::etaTransformation
float etaTransformation(float a, float b)
Definition: PhotonsWithConversionsAnalyzer.cc:151
PhotonsWithConversionsAnalyzer::h_deltaEta_
TH1F * h_deltaEta_
Definition: PhotonsWithConversionsAnalyzer.cc:72
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.cc:80
PhotonsWithConversionsAnalyzer::h_phoE_
TH1F * h_phoE_
Definition: PhotonsWithConversionsAnalyzer.cc:90
TFileService::make
T * make(const Args &...args) const
make new ROOT object
Definition: TFileService.h:64
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
PhotonsWithConversionsAnalyzer::nEvt_
int nEvt_
Definition: PhotonsWithConversionsAnalyzer.cc:58
ETA
#define ETA
Definition: GenericBenchmark.cc:28
PhotonsWithConversionsAnalyzer::h_scEt_
TH1F * h_scEt_
Definition: PhotonsWithConversionsAnalyzer.cc:86
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:37
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
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