ATLAS Offline Software
TrigEgammaMonitorBaseAlgorithm.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
7 
8 
9 TrigEgammaMonitorBaseAlgorithm::TrigEgammaMonitorBaseAlgorithm( const std::string& name, ISvcLocator* pSvcLocator )
10  : AthMonitorAlgorithm(name,pSvcLocator),
11  m_trigdec("Trig::TrigDecisionTool/TrigDecisionTool"),
12  m_matchTool("Trig::TrigEgammaMatchingToolMT/TrigEgammaMatchingToolMT")
13 {
14  declareProperty( "MatchTool" , m_matchTool );
15  declareProperty( "EmulationTool" , m_emulatorTool );
16 }
17 
18 
20 
21 
22 
23 
25 {
26 
28  ATH_CHECK(m_trigdec.retrieve());
29  ATH_CHECK(m_photonIsEMTool.retrieve());
30  ATH_CHECK(m_electronIsEMTool.retrieve());
31  ATH_CHECK(m_electronLHTool.retrieve());
32  ATH_CHECK(m_electronDNNTool.retrieve());
33 
34  std::vector<std::string> steps = {"L1Calo","L2Calo","L2","EFCalo","EFTrack","HLT"};
35  for(const auto& step:steps)
37 
38 
39 
40  return StatusCode::SUCCESS;
41 }
42 
43 
44 // ************************************************************************************************
45 
46 
47 
48 
49 bool TrigEgammaMonitorBaseAlgorithm::ApplyElectronPid( const xAOD::Electron *eg, const std::string& pidname) const
50 {
51  const auto& ctx = Gaudi::Hive::currentContext() ;
52  if (pidname == "tight"){
53  return (bool) this->m_electronIsEMTool[0]->accept(ctx,eg);
54  }
55  else if (pidname == "medium"){
56  return (bool) this->m_electronIsEMTool[1]->accept(ctx,eg);
57  }
58  else if (pidname == "loose"){
59  return (bool) this->m_electronIsEMTool[2]->accept(ctx,eg);
60  }
61  else if (pidname == "lhtight"){
62  return (bool) this->m_electronLHTool[0]->accept(ctx,eg);
63  }
64  else if (pidname == "lhmedium"){
65  return (bool) this->m_electronLHTool[1]->accept(ctx,eg);
66  }
67  else if (pidname == "lhloose"){
68  return (bool) this->m_electronLHTool[2]->accept(ctx,eg);
69  }
70  else if (pidname == "lhvloose"){
71  return (bool) this->m_electronLHTool[3]->accept(ctx,eg);
72  }
73  else if (pidname == "dnntight"){
74  return (bool) this->m_electronDNNTool[0]->accept(ctx,eg);
75  }
76  else if (pidname == "dnnmedium"){
77  return (bool) this->m_electronDNNTool[1]->accept(ctx,eg);
78  }
79  else if (pidname == "dnnloose"){
80  return (bool) this->m_electronDNNTool[2]->accept(ctx,eg);
81  }
82  else ATH_MSG_DEBUG("No Pid tool, continue without PID");
83  return false;
84 }
85 
86 
87 
88 // ************************************************************************************************
89 
90 
91 bool TrigEgammaMonitorBaseAlgorithm::ApplyPhotonPid( const xAOD::Photon *eg, const std::string& pidname) const
92 {
93  const auto& ctx = Gaudi::Hive::currentContext() ;
94  if (pidname == "tight"){
95  return (bool) this->m_photonIsEMTool[0]->accept(ctx,eg);
96  }
97  else if (pidname == "medium"){
98  return (bool) this->m_photonIsEMTool[1]->accept(ctx,eg);
99  }
100  else if (pidname == "loose"){
101  return (bool) this->m_photonIsEMTool[2]->accept(ctx,eg);
102  }
103  else ATH_MSG_DEBUG("No Pid tool, continue without PID");
104  return false;
105 }
106 
107 
108 // ************************************************************************************************
109 
110 
111 
112 bool TrigEgammaMonitorBaseAlgorithm::isIsolated(const xAOD::Electron *eg, const std::string& isolation) const {
113  ATH_MSG_DEBUG("Apply Isolation " << isolation);
114  float ptcone20=0;
115  bool isoStat=eg->isolationValue(ptcone20, xAOD::Iso::ptcone20);
116  if (!isoStat) {
117  ATH_MSG_DEBUG("Electron doesn't provide isolation for ptcone20");
118  return false;
119  }
120  if (!(fabs(eg->pt()) > 0)) {
121  ATH_MSG_DEBUG("Electron pt is zero, can't calculate relative isolation");
122  return false;
123  }
124  ATH_MSG_DEBUG("ptcone20 " << ptcone20);
125  float ptcone20_rel = ptcone20/eg->pt();
126  ATH_MSG_DEBUG("Relative isolation value " << ptcone20_rel);
127  if (isolation == "loose"){
128  if (ptcone20_rel > 0.1) {
129  ATH_MSG_DEBUG("Probe failing isolation");
130  return false;
131  } else {
132  ATH_MSG_DEBUG("Probe passing isolation");
133  return true;
134  }
135  }
136  else {
137  ATH_MSG_DEBUG("No valid working point defined for " << isolation << " continue without isolation");
138  }
139  return false;
140 }
141 
142 
143 
144 bool TrigEgammaMonitorBaseAlgorithm::isPrescaled(const std::string& trigger) const {
145 
146  bool efprescale=false;
147  bool l1prescale=false;
148  bool prescale=false;
149  bool rerun=true; //assume rerun for l1
150  std::string l1item="";
151 
152  if(trigger.starts_with( "L1" ))
153  l1item=trigger;
154  if(trigger.starts_with("HLT")){
155  l1item = getL1Item(trigger);
156  const unsigned int bit=tdt()->isPassedBits(trigger);
157  efprescale=bit & TrigDefs::EF_prescaled;
158  rerun=bit&TrigDefs::EF_resurrected; //Rerun, only check for HLT
159  }
160 
161 
162  ATH_MSG_DEBUG("Checking prescale for " << trigger << " " << l1item);
163  const unsigned int l1bit=tdt()->isPassedBits(l1item);
164  bool l1_afterpre=l1bit&TrigDefs::L1_isPassedAfterPrescale;
165  bool l1_beforepre=l1bit&TrigDefs::L1_isPassedBeforePrescale;
166  l1prescale=l1_beforepre && !l1_afterpre;
167  prescale=efprescale || l1prescale;
168  ATH_MSG_DEBUG("L1 prescale " << l1item << " " << l1prescale << " before " << l1_beforepre << " after " << l1_afterpre);
169  ATH_MSG_DEBUG("EF prescale " << trigger << " " << efprescale << " Prescale " << prescale);
170  if(rerun) return false; // Rerun use the event
171  if(prescale) return true; // Prescaled, reject event
172  return false; // Not prescaled, use event
173 }
174 
175 
176 
178 
179  ATH_MSG_DEBUG("setAccept");
180 
181  unsigned int condition=TrigDefs::includeFailedDecisions;
182 
183  asg::AcceptData acceptData (&m_accept);
184 
185  bool passedL1Calo=false;
186  bool passedL2Calo=false;
187  bool passedEFCalo=false;
188  bool passedL2=false;
189  bool passedEFTrk=false;
190  bool passedEF=false;
191 
192  if (dec) {
193 
194  auto trigger = info.trigger;
195  // Step 1
196  passedL1Calo = match()->ancestorPassed<TrigRoiDescriptorCollection>( dec , trigger , "initialRois", condition);
197 
198  if( passedL1Calo ){ // HLT item get full decision
199  // Step 2
200  passedL2Calo = match()->ancestorPassed<xAOD::TrigEMClusterContainer>(dec, trigger, match()->key("FastCalo"), condition);
201 
202  if(passedL2Calo){
203 
204  // Step 3
205  if(info.signature == "Electron"){
206  std::string key = match()->key("FastElectrons");
207  if(info.lrt) key = match()->key("FastElectrons_LRT");
208  passedL2 = match()->ancestorPassed<xAOD::TrigElectronContainer>(dec, trigger, key, condition);
209  }else if(info.signature == "Photon"){
210  passedL2 = match()->ancestorPassed<xAOD::TrigPhotonContainer>(dec, trigger, match()->key("FastPhotons"), condition);
211  }
212 
213  if(passedL2){
214 
215  // Step 4
216  std::string key = match()->key("PrecisionCalo_Electron");
217  if(info.signature == "Photon") key = match()->key("PrecisionCalo_Photon");
218  if(info.lrt) key = match()->key("PrecisionCalo_LRT");
219  if(info.ion) key = match()->key("PrecisionCalo_HI");
220 
221  passedEFCalo = match()->ancestorPassed<xAOD::CaloClusterContainer>(dec, trigger, key, condition);
222 
223  if(passedEFCalo){
224 
225  // Step 5
226  passedEFTrk=true;// Assume true for photons
227 
228  // Step 6
229  if(info.signature == "Electron"){
230  if( info.etcut || info.idperf){// etcut or idperf
231  passedEF = true; // since we dont run the preciseElectron step
232  }else{
233  std::string key = match()->key("Electrons_GSF");
234  if(info.lrt) key = match()->key("Electrons_LRT");
235  if(info.nogsf) key = match()->key("Electrons");
236  passedEF = match()->ancestorPassed<xAOD::ElectronContainer>(dec, trigger, key, condition);
237  }
238 
239  }else if(info.signature == "Photon"){
240  if (info.etcut){
241  passedEF = true; // since we dont run the precisePhoton step
242  }else{
243  passedEF = match()->ancestorPassed<xAOD::PhotonContainer>(dec, trigger, match()->key("Photons"), condition);
244  }
245  }
246  } // EFCalo
247  }// L2
248  }// L2Calo
249  }// L2Calo
250 
251  }
252 
253  acceptData.setCutResult("L1Calo",passedL1Calo);
254  acceptData.setCutResult("L2Calo",passedL2Calo);
255  acceptData.setCutResult("L2",passedL2);
256  acceptData.setCutResult("EFCalo",passedEFCalo);
257  acceptData.setCutResult("EFTrack",passedEFTrk);
258  acceptData.setCutResult("HLT",passedEF);
259  ATH_MSG_DEBUG("Accept results:");
260  ATH_MSG_DEBUG("L1: "<< passedL1Calo);
261  ATH_MSG_DEBUG("L2Calo: " << passedL2Calo);
262  ATH_MSG_DEBUG("L2: "<< passedL2);
263  ATH_MSG_DEBUG("EFCalo: "<< passedEFCalo);
264  ATH_MSG_DEBUG("HLT: "<<passedEF);
265 
266  return acceptData;
267 }
268 
269 
270 
271 
272 float TrigEgammaMonitorBaseAlgorithm::dR(const float eta1, const float phi1, const float eta2, const float phi2) const {
273  float deta = fabs(eta1 - eta2);
274  float dphi = fabs(phi1 - phi2) < TMath::Pi() ? fabs(phi1 - phi2) : 2*TMath:: \
275  Pi() - fabs(phi1 - phi2);
276  return sqrt(deta*deta + dphi*dphi);
277 }
278 
279 
280 
281 
283  if(eg && (eg->caloCluster())){
284  const xAOD::CaloCluster* cluster = eg->caloCluster();
285  return fabs(cluster->etaBE(2));
286  }
287  else return -99.;
288 }
289 
290 
292  if(eg && (eg->caloCluster()) && (eg->trackParticle())){
293  const xAOD::TrackParticle *trk=eg->trackParticle();
294  const xAOD::CaloCluster *clus=eg->caloCluster();
295  float eta = fabs(trk->eta());
296  return clus->e()/cosh(eta);
297  }
298  else return -99.;
299 }
300 
301 
303  if(eg && (eg->caloCluster())){
304  const xAOD::CaloCluster* cluster = eg->caloCluster();
305  float eta2 = fabs(cluster->etaBE(2));
306  return cluster->e()/cosh(eta2);
307  }
308  else return -99.;
309 }
310 
311 
313  if(eg){
314  float emax2=0.;
315  eg->showerShapeValue(emax2, xAOD::EgammaParameters::e2tsts1);
316  float emax=0.;
317  eg->showerShapeValue(emax, xAOD::EgammaParameters::emaxs1);
318  float den = emax+emax2;
319 
320  if (fabs(den) < 1e-6) return -99.;
321 
322  float val = (emax-emax2)/(den);
323  return val;
324  }
325  else return -99.;
326 }
327 
328 
330  if(eg && eg->trackParticle()){
331  uint8_t trtHits = 0;
332  eg->trackParticleSummaryValue(trtHits,xAOD::numberOfTRTHits);
333  uint8_t trtHTHits = 0;
334  eg->trackParticleSummaryValue(trtHTHits,xAOD::numberOfTRTHighThresholdHits);
335  if (fabs(trtHits) < 1e-6) {
336  return -99.;
337  }
338  else{
339  return ( (double)trtHTHits / (double)trtHits );
340  }
341  }
342  else return -99.;
343 }
344 
345 
347  const xAOD::TrackParticle* t = eg->trackParticle();
348  float d0sigma=0.;
349  if (t)
350  {
351  float vard0 = t->definingParametersCovMatrix()(0,0);
352  if (vard0 > 0) {
353  d0sigma=sqrtf(vard0);
354  }
355  else return -99.;
356  return d0sigma;
357  }
358  else return -99.;
359 }
360 
361 
363  const xAOD::TrackParticle* t = eg->trackParticle();
364  float d0sigma=0.;
365  if (t)
366  {
367  float vard0 = t->definingParametersCovMatrix()(0,0);
368  if (vard0 > 0) {
369  d0sigma=sqrtf(vard0);
370  }
371  else return -99.;
372 
373  if (fabs(d0sigma) < 1e-6) return -99.;
374  return t->d0()/d0sigma;
375  }
376  else return -99.;
377 }
378 
379 
381  if(eg && (eg->caloCluster())){
382  const xAOD::CaloCluster* cluster = eg->caloCluster();
383  return cluster->energyBE(0);
384  }
385  else return 0;
386 }
387 
388 
390  if(eg && (eg->caloCluster())){
391  const xAOD::CaloCluster* cluster = eg->caloCluster();
392  return cluster->energyBE(1);
393  }
394  else return 0.;
395 }
396 
397 
399  if(eg && (eg->caloCluster())){
400  const xAOD::CaloCluster* cluster = eg->caloCluster();
401  return cluster->energyBE(2);
402  }
403  else return 0.;
404 }
405 
406 
408  if(eg && (eg->caloCluster())){
409  const xAOD::CaloCluster* cluster = eg->caloCluster();
410  return cluster->energyBE(3);
411  }
412  else return 0.;
413 }
414 
415 
417  if(eg && (eg->caloCluster())){
418  const xAOD::CaloCluster* cluster = eg->caloCluster();
419  float ebe1 = cluster->energyBE(1);
420  float ebe2 = cluster->energyBE(2);
421  float ebe3 = cluster->energyBE(3);
422  return (ebe1+ebe2+ebe3);
423  }
424  else return 0.;
425 }
426 
427 
429  if(eg && (eg->caloCluster())){
430  const xAOD::CaloCluster* cluster = eg->caloCluster();
431  float ebe0 = cluster->energyBE(0);
432  float ebe1 = cluster->energyBE(1);
433  float ebe2 = cluster->energyBE(2);
434  float ebe3 = cluster->energyBE(3);
435  float eacc = ebe1+ebe2+ebe3;
436  if(eacc==0.) return 0.;
437  return (ebe0/eacc);
438  }
439  else return 0.;
440 }
441 
442 
444 #define GETTER(_name_) float TrigEgammaMonitorBaseAlgorithm::getShowerShape_##_name_(const xAOD::Egamma* eg) const \
445 { float val{-99}; \
446  eg->showerShapeValue(val,xAOD::EgammaParameters::_name_); \
447  return val; }
448  GETTER(e011)
449  GETTER(e132)
450  GETTER(e237)
451  GETTER(e277)
452  GETTER(ethad)
453  GETTER(ethad1)
454  GETTER(weta1)
455  GETTER(weta2)
456  GETTER(f1)
457  GETTER(e2tsts1)
458  GETTER(emins1)
459  GETTER(emaxs1)
460  GETTER(wtots1)
461  GETTER(fracs1)
462  GETTER(Reta)
463  GETTER(Rphi)
464  GETTER(f3)
465  GETTER(f3core)
466  GETTER(Eratio)
467  GETTER(Rhad)
468  GETTER(Rhad1)
469  GETTER(DeltaE)
470 #undef GETTER
471 
472 
473 // GETTER for Isolation monitoring
474 #define GETTER(_name_) float TrigEgammaMonitorBaseAlgorithm::getIsolation_##_name_(const xAOD::Electron* eg) const\
475 { float val{-99}; \
476  eg->isolationValue(val,xAOD::Iso::_name_); \
477  return val; }
484 #undef GETTER
485 
486 
487 #define GETTER(_name_) float TrigEgammaMonitorBaseAlgorithm::getIsolation_##_name_(const xAOD::Egamma* eg) const\
488 { float val{-99}; \
489  eg->isolationValue(val,xAOD::Iso::_name_); \
490  return val; }
498 #undef GETTER
499 
500 
501 // GETTERs for CaloCluster monitoring
502 #define GETTER(_name_) float TrigEgammaMonitorBaseAlgorithm::getCluster_##_name_(const xAOD::Egamma* eg) const\
503 { if(eg && eg->caloCluster()) \
504  return eg->caloCluster()->_name_(); \
505  else return -99.;}
506  GETTER(et)
507  GETTER(phi)
508  GETTER(eta)
509 #undef GETTER
510 
511 
512 // GETTERs for Track monitoring
513 #define GETTER(_name_) float TrigEgammaMonitorBaseAlgorithm::getTrack_##_name_(const xAOD::Electron* eg) const\
514 { if(eg && eg->trackParticle()) \
515  return eg->trackParticle()->_name_(); \
516  else return -99.;}
517  GETTER(pt)
518  GETTER(phi)
519  GETTER(eta)
520  GETTER(d0)
521  GETTER(z0)
522 #undef GETTER
523 
524 
525 // GETTERs for Track details monitoring
526 #define GETTER(_name_) float TrigEgammaMonitorBaseAlgorithm::getTrackSummary_##_name_(const xAOD::Electron* eg) const \
527 { uint8_t val_uint8{0}; \
528  if(eg){ \
529  eg->trackParticleSummaryValue(val_uint8,xAOD::_name_); \
530  return val_uint8; } \
531  else return -99; }
546 #undef GETTER
547 
548 
549 #define GETTER(_name_) float TrigEgammaMonitorBaseAlgorithm::getTrackSummaryFloat_##_name_(const xAOD::Electron* eg) const\
550 { float val_float{0}; \
551  if(eg){ \
552  eg->trackParticleSummaryValue(val_float,xAOD::_name_); \
553  return val_float; } \
554  else return -99; }
558 #undef GETTER
559 
560 
561 // GETTERs for Calo-Track monitoring
562 #define GETTER(_name_) float TrigEgammaMonitorBaseAlgorithm::getCaloTrackMatch_##_name_(const xAOD::Electron* eg) const\
563 { float val={-99.}; \
564  if(eg){ \
565  eg->trackCaloMatchValue(val,xAOD::EgammaParameters::_name_);} \
566  return val; }
579 #undef GETTER
580 
581 
582 
584  return m_trigInfo.at(trigger);
585 }
586 
587 
588 
589 // This is not const function and can not be used in execute mode (not thread safe)
590 // adds entry in TrigInfo map to retrieve later via trigger name
592 
593  /********************************************
594  // Trigger Information struct
595  typedef struct _triginfo
596  {
597  // L1 information
598  bool L1Legacy;
599  std::string L1Threshold; //EM22VHI
600  // HLT information
601  std::string trigger; //Trigger Name
602  std::string signature; //Electron or Photon
603  float etthr; // HLT Et threshold
604  // if trigger is etcut OR idperf, pidname should be default (usually lhloose)
605  std::string pidname; // Offline loose, medium, tight, etc...
606  // extra HLT information
607  bool idperf; // Performance chain
608  bool etcut; // Et cut only chain
609  bool nogsf; // chain without gsf reconstruction
610  bool lrt; // LRT chain
611  bool ion; // Heavy Ion chain
612  std::string isolation;
613  bool isolated;
614  } TrigInfo;
615  *******************************************/
616 
617  std::map<std::string, std::string> pidMap = { {"vloose" , "loose" },
618  {"loose" , "loose" },
619  {"medium" , "medium" },
620  {"tight" , "tight" },
621  {"loose1" , "loose" },
622  {"medium1" , "medium" },
623  {"tight1" , "tight" },
624  {"lhvloose" , "lhvloose" },
625  {"lhloose" , "lhloose" },
626  {"lhmedium" , "lhmedium" },
627  {"lhtight" , "lhtight" },
628  {"dnnloose" , "dnnloose" },
629  {"dnnmedium", "dnnmedium"},
630  {"dnntight" , "dnntight" } };
631 
632  std::vector<std::string> isoNames = {"ivarloose","ivarmedium","ivartight","icaloloose","icalomedium","icalotight"};
633 
634  bool nogsf = false;
635  bool lrt = false;
636  bool ion = false;
637  bool etcut = false;
638  bool idperf = false;
639  bool isolated = false;
640 
641  std::string isolation="";
642  bool l1legacy=true;
643 
644  std::string hltinfo=trigger;
645  std::string signature = "";
646  float threshold = 0;
647  // HLT_e/gXX_(pidname/etcut/idperf)_*_L1EMXX to e/gXX_(pidname/etcut/idperf)_*_L1EMXX
648  if(boost::contains(hltinfo,"HLT")) hltinfo.erase(0,4);
649 
650 
651  std::vector<std::string> parts;
652  boost::split(parts,hltinfo,boost::is_any_of("_"));
653  std::string pidname;
654 
655  // e/gXX_(pidname/etcut/idperf)_*_L1EMXX
656  if(boost::contains(parts.at(0),"e")) {
657  signature = "Electron";
658  pidname = m_defaultProbePidElectron;
659  }else if(boost::contains(parts.at(0),"g")) {
660  signature = "Photon";
661  pidname = m_defaultProbePidPhoton;
662  }else {
663  ATH_MSG_ERROR("Cannot set trigger type from name");
664  }
665 
666  ATH_MSG_DEBUG(parts.at(1));
667  if(parts.at(1) == "idperf"){
668  ATH_MSG_DEBUG("This is idperf");
669  idperf=true;
670  }
671  else if( parts.at(1)== "etcut"){
672  ATH_MSG_DEBUG("This is etcut");
673  etcut=true;
674  }
675  else { // remap online pidname to offline pidname
676  ATH_MSG_DEBUG("This is nominal");
677  pidname = pidMap.at(parts.at(1));
678  }
679 
680 
681  // extra information
682  nogsf = boost::contains(trigger,"nogsf");
683  lrt = boost::contains(trigger,"lrt");
684  ion = boost::contains(trigger,"ion");
685 
686  for(auto& iso : isoNames){
687  if(boost::contains(trigger, iso)){
688  isolation=iso; isolated=true; break;
689  }
690  }
691 
692  // Get the threshold
693  std::string str_thr = parts.at(0);
694  str_thr.erase( 0, 1);
695  threshold = atof(str_thr.c_str());
696 
697  // L1EMXX
698  std::string l1seed = getL1Item(trigger);
699  l1legacy = !boost::contains(l1seed, "eEM");
700 
701 
702  ATH_MSG_DEBUG("=================== Chain Parser =======================");
703  ATH_MSG_DEBUG( "trigger : " << trigger );
704  ATH_MSG_DEBUG( "threshold : " << threshold);
705  ATH_MSG_DEBUG( "Pidname : " << pidname );
706  ATH_MSG_DEBUG( "signature : " << signature);
707  ATH_MSG_DEBUG( "etcut : " << (etcut?"Yes":"No"));
708  ATH_MSG_DEBUG( "idperf : " << (idperf?"Yes":"No"));
709  ATH_MSG_DEBUG( "nogsf : " << (nogsf?"Yes":"No"));
710  ATH_MSG_DEBUG( "lrt : " << (lrt?"Yes":"No"));
711  ATH_MSG_DEBUG( "HeavyIon : " << (ion?"Yes":"No"));
712  ATH_MSG_DEBUG( "Isolation : " << isolation);
713  ATH_MSG_DEBUG( "Isolated : " << (isolated?"Yes":"No"));
714  ATH_MSG_DEBUG( "L1Seed : " << l1seed << " (Is Legacy? " << (l1legacy?"Yes":"No") << ")");
715  ATH_MSG_DEBUG("========================================================");
716 
717  TrigInfo info{l1legacy,l1seed,trigger,signature,threshold,pidname,idperf,etcut,nogsf,lrt,ion,isolation,isolated};
719 
720 }
721 
722 
723 // For Run-3, all triggers must have the L1 seed in name (last part)
724 std::string TrigEgammaMonitorBaseAlgorithm::getL1Item(const std::string& trigger) const{
725  std::vector<std::string> parts;
726  boost::split(parts,trigger,boost::is_any_of("_"));
727  // L1EMXX
728  std::string l1seed = parts.back();
729  return l1seed;
730 }
731 
732 
734  return m_trigdec->ExperimentalAndExpertMethods().isHLTTruncated();
735 }
736 
737 
738 
739 
741 
742 // Define the parser
743 #include "GaudiKernel/ParsersFactory.h"
744 
745 namespace Gaudi
746 {
747  namespace Parsers
748  {
749  // Parse function... nothing special, but it must be done explicitely.
750  StatusCode parse( VecDict_t& result, const std::string& input ) { return parse_( result, input ); }
751  }
752 }
753 
754 // We also need to be able to print an object of our type as a string that both
755 // Python and our parser can understand,
756 #include "GaudiKernel/ToStream.h"
757 namespace std
758 {
759  // This is an example valid for any mapping type.
760  ostream& operator<<( ostream& s, const Gaudi::Parsers::VecDict_t& vecDict )
761  {
762  s << '{';
763  for ( const auto& dict : vecDict ) {
764  Gaudi::Utils::toStream( dict, s );
765  }
766  s << '}';
767  return s;
768  }
769 }
770 
grepfile.info
info
Definition: grepfile.py:38
TrigEgammaMonitorBaseAlgorithm::getDEmaxs1
float getDEmaxs1(const xAOD::Egamma *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:312
xAOD::Iso::ptvarcone30
@ ptvarcone30
Definition: IsolationType.h:56
TrigEgammaMonitorBaseAlgorithm::m_photonIsEMTool
ToolHandleArray< IAsgPhotonIsEMSelector > m_photonIsEMTool
Offline isEM Photon Selectors.
Definition: TrigEgammaMonitorBaseAlgorithm.h:100
TrigEgammaMonitorBaseAlgorithm::isIsolated
bool isIsolated(const xAOD::Electron *, const std::string &) const
Check if electron fulfils isolation criteria.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:112
TrigEgammaMonitorBaseAlgorithm::getEnergyBE1
float getEnergyBE1(const xAOD::Egamma *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:389
TrigEgammaMonitorBaseAlgorithm::dR
float dR(const float, const float, const float, const float) const
Get delta R.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:272
et
Extra patterns decribing particle interation process.
xAOD::EgammaParameters::deltaPhi0
@ deltaPhi0
difference between the cluster phi (presampler) and the eta of the track extrapolated to the presampl...
Definition: EgammaEnums.h:193
python.SystemOfUnits.s
int s
Definition: SystemOfUnits.py:131
xAOD::Iso::topoetcone20
@ topoetcone20
Topo-cluster ET-sum.
Definition: IsolationType.h:48
get_generator_info.result
result
Definition: get_generator_info.py:21
xAOD::Iso::ptvarcone20
@ ptvarcone20
Mini-Isolation http://arxiv.org/abs/1007.2221.
Definition: IsolationType.h:55
xAOD::eProbabilityComb
@ eProbabilityComb
Electron probability from combining the below probabilities [float].
Definition: TrackingPrimitives.h:300
xAOD::EgammaParameters::deltaPhi3
@ deltaPhi3
difference between the cluster eta (3rd sampling) and the eta of the track extrapolated to the 3rd sa...
Definition: EgammaEnums.h:207
ParticleGun_SamplingFraction.eta2
eta2
Definition: ParticleGun_SamplingFraction.py:96
Gaudi::Parsers::parse
StatusCode parse(std::tuple< Tup... > &tup, const Gaudi::Parsers::InputData &input)
Definition: CaloGPUClusterAndCellDataMonitorOptions.h:284
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:64
TrigEgammaMonitorBaseAlgorithm::m_trigdec
ToolHandle< Trig::TrigDecisionTool > m_trigdec
Trigger decision tool.
Definition: TrigEgammaMonitorBaseAlgorithm.h:77
xAOD::uint8_t
uint8_t
Definition: Muon_v1.cxx:575
ParticleTest.eg
eg
Definition: ParticleTest.py:29
xAOD::EgammaParameters::Reta
@ Reta
e237/e277
Definition: EgammaEnums.h:154
_triginfo
Definition: TrigEgammaMonitorBaseAlgorithm.h:42
TrigEgammaMonitorBaseAlgorithm::getEt
float getEt(const xAOD::Electron *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:291
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:79
AthCommonDataStore< AthCommonMsg< Gaudi::Algorithm > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
xAOD::TrackParticle_v1::eta
virtual double eta() const override final
The pseudorapidity ( ) of the particle.
Definition: TrackParticle_v1.cxx:77
xAOD::numberOfTRTXenonHits
@ numberOfTRTXenonHits
number of TRT hits on track in straws with xenon [unit8_t].
Definition: TrackingPrimitives.h:284
TrigEgammaMonitorBaseAlgorithm::ApplyPhotonPid
bool ApplyPhotonPid(const xAOD::Photon *eg, const std::string &) const
Get offline electron decision.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:91
xAOD::EgammaParameters::deltaEta0
@ deltaEta0
difference between the cluster eta (presampler) and the eta of the track extrapolated to the presampl...
Definition: EgammaEnums.h:176
xAOD::Iso::ptcone30
@ ptcone30
Definition: IsolationType.h:41
test_pyathena.pt
pt
Definition: test_pyathena.py:11
xAOD::EgammaParameters::deltaEta2
@ deltaEta2
difference between the cluster eta (second sampling) and the eta of the track extrapolated to the sec...
Definition: EgammaEnums.h:187
xAOD::Iso::ptcone20
@ ptcone20
Track isolation.
Definition: IsolationType.h:40
xAOD::Iso::etcone40
@ etcone40
Definition: IsolationType.h:34
xAOD::EgammaParameters::ethad1
@ ethad1
transverse energy in the first sampling of the hadronic calorimeters behind the cluster calculated fr...
Definition: EgammaEnums.h:42
xAOD::Iso::topoetcone30
@ topoetcone30
Definition: IsolationType.h:49
xAOD::eta1
setEt setPhi setE277 setWeta2 eta1
Definition: TrigEMCluster_v1.cxx:41
LArG4GenerateShowerLib.condition
condition
Definition: LArG4GenerateShowerLib.py:19
xAOD::numberOfPixelHits
@ numberOfPixelHits
these are the pixel hits, including the b-layer [unit8_t].
Definition: TrackingPrimitives.h:259
xAOD::expectInnermostPixelLayerHit
@ expectInnermostPixelLayerHit
Do we expect a 0th-layer barrel hit for this track?
Definition: TrackingPrimitives.h:236
xAOD::EgammaParameters::deltaPhiRescaled3
@ deltaPhiRescaled3
difference between the cluster eta (3rd sampling) and the eta of the track extrapolated to the 3rd sa...
Definition: EgammaEnums.h:230
xAOD::numberOfTRTHits
@ numberOfTRTHits
number of TRT hits [unit8_t].
Definition: TrackingPrimitives.h:275
xAOD::Egamma_v1
Definition: Egamma_v1.h:56
xAOD::Iso::etcone30
@ etcone30
Definition: IsolationType.h:33
xAOD::EgammaParameters::Rphi
@ Rphi
e233/e237
Definition: EgammaEnums.h:156
TrigEgammaMonitorBaseAlgorithm::tdt
const ToolHandle< Trig::TrigDecisionTool > & tdt() const
Get the TDT
Definition: TrigEgammaMonitorBaseAlgorithm.h:133
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
xAOD::Iso::ptvarcone40
@ ptvarcone40
Definition: IsolationType.h:57
TrigEgammaMonitorBaseAlgorithm::getE0Eaccordion
float getE0Eaccordion(const xAOD::Egamma *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:428
xAOD::EgammaParameters::wtots1
@ wtots1
shower width is determined in a window detaxdphi = 0,0625 ×~0,2, corresponding typically to 20 strips...
Definition: EgammaEnums.h:140
TrigEgammaMonitorBaseAlgorithm::getEnergyBE0
float getEnergyBE0(const xAOD::Egamma *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:380
TrigEgammaMonitorBaseAlgorithm::getEnergyBE3
float getEnergyBE3(const xAOD::Egamma *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:407
xAOD::numberOfTRTHighThresholdHits
@ numberOfTRTHighThresholdHits
number of TRT hits which pass the high threshold (only xenon counted) [unit8_t].
Definition: TrackingPrimitives.h:278
TrigEgammaMonitorBaseAlgorithm::setAccept
asg::AcceptData setAccept(const TrigCompositeUtils::Decision *, const TrigInfo &) const
Set the accept object for all trigger levels.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:177
xAOD::EgammaParameters::deltaPhi1
@ deltaPhi1
difference between the cluster eta (1st sampling) and the eta of the track extrapolated to the 1st sa...
Definition: EgammaEnums.h:196
AthMonitorAlgorithm
Base class for Athena Monitoring Algorithms.
Definition: AthMonitorAlgorithm.h:36
xAOD::EgammaParameters::f3
@ f3
fraction of energy reconstructed in 3rd sampling
Definition: EgammaEnums.h:54
xAOD::CaloCluster_v1::etaBE
float etaBE(const unsigned layer) const
Get the eta in one layer of the EM Calo.
Definition: CaloCluster_v1.cxx:644
TrigEgammaMonitorBaseAlgorithm::isHLTTruncated
bool isHLTTruncated() const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:733
xAOD::numberOfInnermostPixelLayerOutliers
@ numberOfInnermostPixelLayerOutliers
number of 0th layer barrel outliers
Definition: TrackingPrimitives.h:238
xAOD::EgammaParameters::ethad
@ ethad
ET leakage into hadronic calorimeter with exclusion of energy in CaloSampling::TileGap3.
Definition: EgammaEnums.h:45
TrigEgammaMonitorBaseAlgorithm::getTrigInfo
TrigInfo getTrigInfo(const std::string &) const
Get the trigger info parsed from the chain name (only single lepton triggers)
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:583
TrigEgammaMonitorBaseAlgorithm::m_accept
asg::AcceptInfo m_accept
Definition: TrigEgammaMonitorBaseAlgorithm.h:122
xAOD::numberOfTRTHighThresholdOutliers
@ numberOfTRTHighThresholdOutliers
number of TRT high threshold outliers (only xenon counted) [unit8_t].
Definition: TrackingPrimitives.h:281
xAOD::CaloCluster_v1
Description of a calorimeter cluster.
Definition: CaloCluster_v1.h:59
beamspotman.steps
int steps
Definition: beamspotman.py:505
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
TrigEgammaMonitorBaseAlgorithm::m_trigInfo
std::map< std::string, TrigInfo > m_trigInfo
creates map of trigger name and TrigInfo struct
Definition: TrigEgammaMonitorBaseAlgorithm.h:84
TrigEgammaMonitorBaseAlgorithm::m_defaultProbePidElectron
Gaudi::Property< std::string > m_defaultProbePidElectron
default probe pid for electron trigitems that don't have pid in their name
Definition: TrigEgammaMonitorBaseAlgorithm.h:109
TrigEgammaMonitorBaseAlgorithm::setTrigInfo
void setTrigInfo(const std::string &)
Set the trigger info parsed from the chain name.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:591
xAOD::Iso::etcone20
@ etcone20
Calorimeter isolation.
Definition: IsolationType.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
xAOD::EgammaParameters::emins1
@ emins1
energy reconstructed in the strip with the minimal value between the first and second maximum
Definition: EgammaEnums.h:143
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
TrigEgammaMonitorBaseAlgorithm::m_emulatorTool
ToolHandle< Trig::TrigEgammaEmulationToolMT > m_emulatorTool
Definition: TrigEgammaMonitorBaseAlgorithm.h:92
contains
bool contains(const std::string &s, const std::string &regx)
does a string contain the substring
Definition: hcg.cxx:111
xAOD::EgammaParameters::e011
@ e011
uncalibrated energy (sum of cells) in presampler in a 1x1 window in cells in eta X phi
Definition: EgammaEnums.h:30
TRT::Track::d0
@ d0
Definition: InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h:62
xAOD::EgammaParameters::deltaEta3
@ deltaEta3
difference between the cluster eta (3rd sampling) and the eta of the track extrapolated to the 3rd sa...
Definition: EgammaEnums.h:190
xAOD::numberOfPixelOutliers
@ numberOfPixelOutliers
these are the pixel outliers, including the b-layer [unit8_t].
Definition: TrackingPrimitives.h:260
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
xAOD::EgammaParameters::deltaPhiRescaled2
@ deltaPhiRescaled2
difference between the cluster phi (second sampling) and the phi of the track extrapolated to the sec...
Definition: EgammaEnums.h:225
TrigEgammaMonitorBaseAlgorithm::m_electronIsEMTool
ToolHandleArray< IAsgElectronIsEMSelector > m_electronIsEMTool
Offline isEM Selectors.
Definition: TrigEgammaMonitorBaseAlgorithm.h:94
TRT::Track::z0
@ z0
Definition: InnerDetector/InDetCalibEvent/TRT_CalibData/TRT_CalibData/TrackInfo.h:63
xAOD::EgammaParameters::deltaPhiRescaled0
@ deltaPhiRescaled0
difference between the cluster phi (presampler) and the eta of the track extrapolated to the presampl...
Definition: EgammaEnums.h:215
xAOD::TrigComposite_v1
Class used to describe composite objects in the HLT.
Definition: TrigComposite_v1.h:52
TrigEgammaMonitorBaseAlgorithm::getEaccordion
float getEaccordion(const xAOD::Egamma *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:416
TrigEgammaMonitorBaseAlgorithm::m_electronLHTool
ToolHandleArray< IAsgElectronLikelihoodTool > m_electronLHTool
Offline LH Selectors.
Definition: TrigEgammaMonitorBaseAlgorithm.h:96
DataVector
Derived DataVector<T>.
Definition: DataVector.h:581
xAOD::EgammaParameters::Rhad1
@ Rhad1
ethad1/et
Definition: EgammaEnums.h:162
CxxUtils::atof
double atof(std::string_view str)
Converts a string into a double / float.
Definition: Control/CxxUtils/Root/StringUtils.cxx:91
TrigEgammaMonitorBaseAlgorithm::getEta2
float getEta2(const xAOD::Egamma *eg) const
Features helper.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:282
TrigEgammaMonitorBaseAlgorithm::ApplyElectronPid
bool ApplyElectronPid(const xAOD::Electron *eg, const std::string &) const
Get offline electron decision.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:49
TrigEgammaMonitorBaseAlgorithm::getSigmaD0
float getSigmaD0(const xAOD::Electron *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:346
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
threshold
Definition: chainparser.cxx:74
xAOD::EgammaParameters::deltaPhi2
@ deltaPhi2
difference between the cluster phi (second sampling) and the phi of the track extrapolated to the sec...
Definition: EgammaEnums.h:204
operator<<
std::ostream & operator<<(std::ostream &lhs, const TestGaudiProperty &rhs)
Definition: TestGaudiProperty.cxx:69
Gaudi::Parsers::VecDict_t
std::vector< Dict_t > VecDict_t
Definition: TrigEgammaMonitorBaseAlgorithm.h:294
TrigEgammaMonitorBaseAlgorithm::m_matchTool
ToolHandle< TrigEgammaMatchingToolMT > m_matchTool
Definition: TrigEgammaMonitorBaseAlgorithm.h:90
xAOD::Electron_v1
Definition: Electron_v1.h:34
TrigEgammaMonitorBaseAlgorithm::TrigEgammaMonitorBaseAlgorithm
TrigEgammaMonitorBaseAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:9
TrigEgammaMonitorBaseAlgorithm::match
const ToolHandle< TrigEgammaMatchingToolMT > & match() const
Get the e/g match tool.
Definition: TrigEgammaMonitorBaseAlgorithm.h:135
AthMonitorAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition: AthMonitorAlgorithm.cxx:18
xAOD::Iso::ptcone40
@ ptcone40
Definition: IsolationType.h:42
xAOD::numberOfTRTOutliers
@ numberOfTRTOutliers
number of TRT outliers [unit8_t].
Definition: TrackingPrimitives.h:276
xAOD::pixeldEdx
@ pixeldEdx
the dE/dx estimate, calculated using the pixel clusters [?]
Definition: TrackingPrimitives.h:304
xAOD::EgammaParameters::deltaPhiRescaled1
@ deltaPhiRescaled1
difference between the cluster eta (1st sampling) and the eta of the track extrapolated to the 1st sa...
Definition: EgammaEnums.h:220
TrigEgammaMonitorBaseAlgorithm::m_electronDNNTool
ToolHandleArray< IAsgElectronLikelihoodTool > m_electronDNNTool
Offline DNN Selectors.
Definition: TrigEgammaMonitorBaseAlgorithm.h:98
DiTauMassTools::MaxHistStrategyV2::e
e
Definition: PhysicsAnalysis/TauID/DiTauMassTools/DiTauMassTools/HelperFunctions.h:26
TrigEgammaMonitorBaseAlgorithm::getD0sig
float getD0sig(const xAOD::Electron *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:362
asg::AcceptData::setCutResult
void setCutResult(const std::string &cutName, bool cutResult)
Set the result of a cut, based on the cut name (safer)
Definition: AcceptData.h:134
Gaudi::Utils::toStream
std::ostream &GAUDI_API toStream(const SG::VarHandleKeyArray &v, std::ostream &o)
Gaudi function used to convert a property to a string.
Definition: StoreGate/src/VarHandleKeyArray.cxx:49
xAOD::Photon_v1
Definition: Photon_v1.h:37
xAOD::numberOfSCTOutliers
@ numberOfSCTOutliers
number of SCT outliers [unit8_t].
Definition: TrackingPrimitives.h:269
xAOD::numberOfSCTDeadSensors
@ numberOfSCTDeadSensors
number of dead SCT sensors crossed [unit8_t].
Definition: TrackingPrimitives.h:273
TrigRoiDescriptorCollection
Definition: TrigRoiDescriptorCollection.h:21
Pythia8_RapidityOrderMPI.val
val
Definition: Pythia8_RapidityOrderMPI.py:14
TrigEgammaMonitorBaseAlgorithm::rTRT
float rTRT(const xAOD::Electron *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:329
xAOD::CaloCluster_v1::energyBE
float energyBE(const unsigned layer) const
Get the energy in one layer of the EM Calo.
Definition: CaloCluster_v1.cxx:630
xAOD::eProbabilityHT
@ eProbabilityHT
Electron probability from High Threshold (HT) information [float].
Definition: TrackingPrimitives.h:301
Gaudi
=============================================================================
Definition: CaloGPUClusterAndCellDataMonitorOptions.h:273
LArCellBinning.step
step
Definition: LArCellBinning.py:158
xAOD::numberOfSCTHits
@ numberOfSCTHits
number of hits in SCT [unit8_t].
Definition: TrackingPrimitives.h:268
xAOD::EgammaParameters::e277
@ e277
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 7x7
Definition: EgammaEnums.h:80
doL1CaloHVCorrections.parts
parts
Definition: doL1CaloHVCorrections.py:334
TrigEgammaMonitorBaseAlgorithm.h
xAOD::numberOfPixelDeadSensors
@ numberOfPixelDeadSensors
number of dead pixel sensors crossed [unit8_t].
Definition: TrackingPrimitives.h:266
xAOD::EgammaParameters::weta1
@ weta1
shower width using +/-3 strips around the one with the maximal energy deposit: w3 strips = sqrt{sum(E...
Definition: EgammaEnums.h:97
xAOD::EgammaParameters::e132
@ e132
uncalibrated energy (sum of cells) in strips in a 3x2 window in cells in eta X phi
Definition: EgammaEnums.h:36
xAOD::EgammaParameters::Eratio
@ Eratio
(emaxs1-e2tsts1)/(emaxs1+e2tsts1)
Definition: EgammaEnums.h:158
xAOD::TrackParticle_v1
Class describing a TrackParticle.
Definition: TrackParticle_v1.h:43
xAOD::EgammaParameters::e237
@ e237
uncalibrated energy (sum of cells) of the middle sampling in a rectangle of size 3x7
Definition: EgammaEnums.h:77
xAOD::Iso::topoetcone40
@ topoetcone40
Definition: IsolationType.h:50
GETTER
#define GETTER(_name_)
Macros for plotting.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:562
xAOD::EgammaParameters::deltaEta1
@ deltaEta1
difference between the cluster eta (first sampling) and the eta of the track extrapolated to the firs...
Definition: EgammaEnums.h:184
TrigEgammaMonitorBaseAlgorithm::getEnergyBE2
float getEnergyBE2(const xAOD::Egamma *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:398
xAOD::EgammaParameters::f3core
@ f3core
E3(3x3)/E fraction of the energy reconstructed in the third compartment of the electromagnetic calori...
Definition: EgammaEnums.h:65
xAOD::EgammaParameters::e2tsts1
@ e2tsts1
energy of the cell corresponding to second energy maximum in the first sampling
Definition: EgammaEnums.h:108
xAOD::EgammaParameters::Rhad
@ Rhad
ethad/et
Definition: EgammaEnums.h:160
asg::AcceptData
Definition: AcceptData.h:30
TrigEgammaMonitorBaseAlgorithm::initialize
virtual StatusCode initialize() override
initialize
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:24
xAOD::EgammaParameters::DeltaE
@ DeltaE
e2tsts1-emins1
Definition: EgammaEnums.h:164
TrigEgammaMonitorBaseAlgorithm::m_defaultProbePidPhoton
Gaudi::Property< std::string > m_defaultProbePidPhoton
default probe pid for photon trigitems that don't have pid in their name
Definition: TrigEgammaMonitorBaseAlgorithm.h:111
TrigEgammaMonitorBaseAlgorithm::isPrescaled
bool isPrescaled(const std::string &) const
Check if the event is prescaled.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:144
xAOD::EgammaParameters::emaxs1
@ emaxs1
energy of strip with maximal energy deposit
Definition: EgammaEnums.h:145
xAOD::CaloCluster_v1::e
virtual double e() const
The total energy of the particle.
Definition: CaloCluster_v1.cxx:265
TrigEgammaMonitorBaseAlgorithm::~TrigEgammaMonitorBaseAlgorithm
virtual ~TrigEgammaMonitorBaseAlgorithm()
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:19
dumpTgcDigiThreshold.threshold
list threshold
Definition: dumpTgcDigiThreshold.py:34
Trk::split
@ split
Definition: LayerMaterialProperties.h:38
TrigEgammaMonitorBaseAlgorithm::getL1Item
std::string getL1Item(const std::string &trigger) const
Creates static map to return L1 item from trigger name.
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:724
xAOD::EgammaParameters::fracs1
@ fracs1
shower shape in the shower core : [E(+/-3)-E(+/-1)]/E(+/-1), where E(+/-n) is the energy in ± n strip...
Definition: EgammaEnums.h:111
xAOD::numberOfInnermostPixelLayerHits
@ numberOfInnermostPixelLayerHits
these are the hits in the 0th pixel barrel layer
Definition: TrackingPrimitives.h:237
PhysDESDM_Quirks.trigger
trigger
Definition: PhysDESDM_Quirks.py:27
read_hist_ntuple.f1
f1
Definition: read_hist_ntuple.py:4
asg::AcceptInfo::addCut
int addCut(const std::string &cutName, const std::string &cutDescription)
Add a cut; returning the cut position.
Definition: AcceptInfo.h:53
TrigEgammaMonitorBaseAlgorithm::getEtCluster37
float getEtCluster37(const xAOD::Egamma *eg) const
Definition: TrigEgammaMonitorBaseAlgorithm.cxx:302
xAOD::EgammaParameters::weta2
@ weta2
the lateral width is calculated with a window of 3x5 cells using the energy weighted sum over all cel...
Definition: EgammaEnums.h:103
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37