ATLAS Offline Software
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
L1CaloPprFineTimePlotManager Class Reference

#include <L1CaloPprFineTimePlotManager.h>

Inheritance diagram for L1CaloPprFineTimePlotManager:
Collaboration diagram for L1CaloPprFineTimePlotManager:

Public Member Functions

 L1CaloPprFineTimePlotManager (ITHistSvc *histoSvc, ToolHandle< LVL1::IL1CaloOfflineTriggerTowerTools > &offlineTT_tool, const int ADC_cut, const unsigned int lumimax, const std::string &pathInRootFile)
 
 L1CaloPprFineTimePlotManager (ManagedMonitorToolBase *aMonObj, ToolHandle< LVL1::IL1TriggerTowerTool > &onlineTT_tool, const int ADC_cut, const unsigned int lumimax, const std::string &pathInRootFile)
 
 ~L1CaloPprFineTimePlotManager ()
 
void SetFineTimeCut (double &fineTimeCut)
 
void SetPpmAdcMaxValue (unsigned int ppmAdcMaxValue)
 
void SetReferenceValue (double refValue)
 
void SetEmReferenceValue (double refValue)
 
void SetHadReferenceValue (double refValue)
 
void SetCalibrationFactor (double calFactor)
 
void SetHadCalibrationFactor (double calFactor)
 
void SetEmCalibrationFactor (double calFactor)
 
StatusCode getCaloCells ()
 
float LArQuality (const xAOD::TriggerTower *trigTower, int layer)
 
bool badLArQuality (float qual)
 
bool badHecQuality (float qual)
 
void EnableCaloQualCut (bool doCut)
 
void Analyze (const EventContext &ctx, const xAOD::TriggerTower *trigTower, bool channelDisabled)
 
virtual StatusCode MakeSummary ()
 
bool msgLvl (const MSG::Level lvl) const
 Test the output level. More...
 
MsgStream & msg () const
 The standard message stream. More...
 
MsgStream & msg (const MSG::Level lvl) const
 The standard message stream. More...
 
void setLevel (MSG::Level lvl)
 Change the current logging level. More...
 

Protected Member Functions

virtual StatusCode bookRunHistograms ()
 
void SetHistogramLimits (TProfile2D_LW *hist, const int min, const int max)
 
TProfileConvertToOfflineHist (TProfile_LW *hist)
 
TProfile2DConvertToOfflineHist (TProfile2D_LW *hist, unsigned int binCountour)
 
virtual void fillOnlineHistos (const xAOD::TriggerTower *trigTower, unsigned int &coolID, CalLayerEnum layer)
 
virtual void fillGlobalOnlineHistos (const xAOD::TriggerTower *trigTower, CalLayerEnum layer, double &value)
 
virtual void fillPartitionOnlineHistos (const xAOD::TriggerTower *trigTower, CalLayerEnum theLayer, double &value)
 
virtual void fillDifferentialOnlineHistos (const xAOD::TriggerTower *trigTower, unsigned int &coolId, CalLayerEnum theLayer, double &value)
 
virtual void fillOfflineHistos (const xAOD::TriggerTower *trigTower, unsigned int &coolID, CalLayerEnum layer)
 
virtual void fillRunHistograms (double &eta, double &phi, CalLayerEnum theLayer, double &value)
 
virtual void fillPartitionOfflineHistos (const xAOD::TriggerTower *trigTower, CalLayerEnum theLayer, double &value)
 
virtual void fillDifferentialOfflineHistos (const xAOD::TriggerTower *trigTower, unsigned int &coolId, CalLayerEnum theLayer, double &value)
 
CaloDivisionEnum GetDetectorRegion (double Eta, CalLayerEnum Layer)
 
std::string GetDetectorRegionString (CaloDivisionEnum detectorRegion)
 
std::string GetDetectorLayerString (CalLayerEnum layer)
 
bool isNewRun ()
 

Protected Attributes

ToolHandle< LVL1::TrigT1CaloLWHistogramToolm_histTool
 
ToolHandle< LVL1::IL1CaloOfflineTriggerTowerToolsm_ttToolOffline
 
ToolHandle< LVL1::IL1TriggerTowerToolm_ttToolOnline
 
ITHistSvc * m_histoSvc
 
ManagedMonitorToolBasem_monObj
 
std::string m_pathInRootFile
 
std::string m_monitoringPath
 
std::string m_monitoringName
 
std::string m_monitoringTitle
 
std::string m_monitoringDimension
 
TProfile_LWm_p_online_em_valueVsLumi
 
TProfile_LWm_p_online_had_valueVsLumi
 
TProfile_LWm_p_online_em_valueVsBCN
 
TProfile_LWm_p_online_had_valueVsBCN
 
TProfile2D_LWm_h_ppm_em_2d_value_BCN_Lumi
 
TProfile2D_LWm_h_ppm_had_2d_value_BCN_Lumi
 
TProfilem_p_offline_em_valueVsLumi
 
TProfilem_p_offline_had_valueVsLumi
 
TProfile2D_LWm_p_online_em_etaPhiValue
 
TProfile2D_LWm_p_online_had_etaPhiValue
 
TH2F_LWm_h_online_em_etaPhiValueRMS
 
TH2F_LWm_h_online_had_etaPhiValueRMS
 
TH2Fm_h_offline_em_etaPhiValueRMS
 
TH2Fm_h_offline_had_etaPhiValueRMS
 
TProfilem_p_offline_em_valueVsRunNumber
 
TProfilem_p_offline_had_valueVsRunNumber
 
std::map< CaloDivisionEnum, TProfile_LW * > m_map_online_partitionProfile_ValueVsLumi
 
std::map< CaloDivisionEnum, TProfile_LW * > m_map_online_partitionProfile_ValueVsBCN
 
std::map< CaloDivisionEnum, TProfile2D_LW * > m_map_online_partitionProfile_ValueVsLumiVsBCN
 
std::map< CaloDivisionEnum, TProfile * > m_map_offline_partitionProfile_ValueVsLumi
 
std::map< unsigned int, TProfile_LW * > m_map_online_coolIDProfile_ValueVsLumi
 
std::map< unsigned int, TProfile_LW * > m_map_online_coolIDProfile_ValueVsBCN
 
std::map< unsigned int, TProfile * > m_map_offline_coolIDProfile_ValueVsLumi
 
bool m_isOnline
 
bool m_firstRun
 
bool m_doRunHistograms
 
int m_ppmAdcMinValue
 
unsigned int m_lumiNo
 
unsigned int m_bunchCrossing
 
unsigned int m_lumiMax
 
unsigned int m_sampleInterval
 
unsigned int m_currentRunNo
 
unsigned int m_lastRunNo
 

Private Member Functions

double getMonitoringValue (const xAOD::TriggerTower *trigTower, CalLayerEnum theLayer)
 
bool doMonitoring (double &value)
 
void loadTools ()
 
void initMessaging () const
 Initialize our message level and MessageSvc. More...
 

Private Attributes

ServiceHandle< StoreGateSvcm_storeGate
 
ToolHandle< LVL1::IL1CaloMonitoringCaloToolm_caloTool
 
double m_fineTimeCut
 
int m_ppmAdcMaxValue
 
double m_RefValue
 
double m_emRefValue
 
double m_hadRefValue
 
double m_CalFactor
 
double m_emCalFactor
 
double m_hadCalFactor
 
bool m_doCaloQualCut
 
std::string m_nm
 Message source name. More...
 
boost::thread_specific_ptr< MsgStream > m_msg_tls
 MsgStream instance (a std::cout like with print-out levels) More...
 
std::atomic< IMessageSvc * > m_imsg { nullptr }
 MessageSvc pointer. More...
 
std::atomic< MSG::Level > m_lvl { MSG::NIL }
 Current logging level. More...
 
std::atomic_flag m_initialized ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT
 Messaging initialized (initMessaging) More...
 

Detailed Description

Definition at line 46 of file L1CaloPprFineTimePlotManager.h.

Constructor & Destructor Documentation

◆ L1CaloPprFineTimePlotManager() [1/2]

L1CaloPprFineTimePlotManager::L1CaloPprFineTimePlotManager ( ITHistSvc *  histoSvc,
ToolHandle< LVL1::IL1CaloOfflineTriggerTowerTools > &  offlineTT_tool,
const int  ADC_cut,
const unsigned int  lumimax,
const std::string &  pathInRootFile 
)

Definition at line 18 of file L1CaloPprFineTimePlotManager.cxx.

23  : L1CaloPprPlotManager(histoSvc,
24  offlineTT_tool,
25  ADC_cut,
26  lumimax,
27  pathInRootFile,
28  "FineTime",
29  "fineTime",
30  "Fine Time",
31  "[ns]",
32  true),
33  m_storeGate("StoreGateSvc", histoSvc->name()),
34  m_caloTool("LVL1::L1CaloMonitoringCaloTool/L1CaloMonitoringCaloTool"),
35  m_fineTimeCut(0),
36  m_ppmAdcMaxValue(1023),
37  m_RefValue(0),
38  m_emRefValue(0.),
39  m_hadRefValue(0.),
40  m_CalFactor(0),
41  m_emCalFactor(0.),
42  m_hadCalFactor(0.),
43  m_doCaloQualCut(true)
44 {
45  this->loadTools();
46 
47 }

◆ L1CaloPprFineTimePlotManager() [2/2]

L1CaloPprFineTimePlotManager::L1CaloPprFineTimePlotManager ( ManagedMonitorToolBase aMonObj,
ToolHandle< LVL1::IL1TriggerTowerTool > &  onlineTT_tool,
const int  ADC_cut,
const unsigned int  lumimax,
const std::string &  pathInRootFile 
)

Definition at line 51 of file L1CaloPprFineTimePlotManager.cxx.

55  : L1CaloPprPlotManager(aMonObj,
56  onlineTT_tool,
57  ADC_cut,
58  lumimax,
59  pathInRootFile,
60  "FineTime",
61  "fineTime",
62  "Fine Time",
63  "[ns]"),
64  m_storeGate("StoreGateSvc", aMonObj->name()),
65  m_caloTool("LVL1::L1CaloMonitoringCaloTool/L1CaloMonitoringCaloTool"),
66  m_fineTimeCut(0),
67  m_ppmAdcMaxValue(1023),
68  m_RefValue(0),
69  m_emRefValue(0.),
70  m_hadRefValue(0.),
71  m_CalFactor(0),
72  m_emCalFactor(0.),
73  m_hadCalFactor(0.),
74  m_doCaloQualCut(true)
75 {
76  this->loadTools();
77 
78 }

◆ ~L1CaloPprFineTimePlotManager()

L1CaloPprFineTimePlotManager::~L1CaloPprFineTimePlotManager ( )
inline

Definition at line 60 of file L1CaloPprFineTimePlotManager.h.

60 {};

Member Function Documentation

◆ Analyze()

void L1CaloPprPlotManager::Analyze ( const EventContext &  ctx,
const xAOD::TriggerTower trigTower,
bool  channelDisabled 
)
inherited

Definition at line 144 of file L1CaloPprPlotManager.cxx.

145 {
146  unsigned int coolID = trigTower->coolId();
147 
148  m_lumiNo = ctx.eventID().lumi_block();
149  m_currentRunNo = ctx.eventID().run_number();
150  m_bunchCrossing = ctx.eventID().bunch_crossing_id();
151 
153  {
154  if (m_firstRun)
155  {
156  this->bookRunHistograms().ignore();
157  m_firstRun = false;
158  }
159  if (this->isNewRun())
160  {
161 
162  StatusCode sc = this->MakeSummary();
163  if (sc.isFailure()) {ATH_MSG_FATAL("Could not make Summary");}
164 
165  sc = this->bookRunHistograms();
166  if (sc.isFailure()) {ATH_MSG_FATAL("Could not book Run Histograms");}
167  }
168  }
169  if (m_isOnline && this->isNewRun())
170  {
184  }
185  //Check if the TriggerTowers are disabled or not before analysis
186  if (!channelDisabled)
187  {
188  if ( m_isOnline) {
189  if ( trigTower->layer() == 0 ) { this->fillOnlineHistos(trigTower, coolID, Emlayer); }
190  if ( trigTower->layer() == 1 ) { this->fillOnlineHistos(trigTower, coolID, Hadlayer); }
191  }
192  else {
193  if ( trigTower->layer() == 0 ) { this->fillOfflineHistos(trigTower, coolID, Emlayer); }
194  if ( trigTower->layer() == 1 ) { this->fillOfflineHistos(trigTower, coolID, Hadlayer); }
195  }
196  }
197 }

◆ badHecQuality()

bool L1CaloPprFineTimePlotManager::badHecQuality ( float  qual)

Definition at line 125 of file L1CaloPprFineTimePlotManager.cxx.

125  {
126 
127  if((qual >= 0) && (qual < 5000)){
128  return false;
129  }
130 
131  return true;
132 
133 }

◆ badLArQuality()

bool L1CaloPprFineTimePlotManager::badLArQuality ( float  qual)

Definition at line 115 of file L1CaloPprFineTimePlotManager.cxx.

115  {
116 
117  if((qual >= 0) && (qual < 20000)){
118  return false;
119  }
120 
121  return true;
122 
123 }

◆ bookRunHistograms()

StatusCode L1CaloPprPlotManager::bookRunHistograms ( )
protectedvirtualinherited

Definition at line 201 of file L1CaloPprPlotManager.cxx.

202 {
203  StatusCode sc;
204 
205  m_p_offline_em_valueVsRunNumber = new TProfile(Form("ppm_em_1d_profile_adc_%sVsRunNumber", m_monitoringName.data()),
206  Form("%s Vs Run No: Em TriggerTower; Run No; %s %s",
207  m_monitoringTitle.data(),
208  m_monitoringTitle.data(),
209  m_monitoringDimension.data()),
210  100000,
211  150000,
212  200000);
214  sc = m_histoSvc->regHist(Form("/AANT/ADC/%s/ppm_em_1d_profile_adc_%sVsRunNumber", m_monitoringPath.data(), m_monitoringName.data()),
216  if (sc.isFailure()) {ATH_MSG_ERROR("could not register histogram: " << m_p_offline_em_valueVsRunNumber->GetName());}
217  else {ATH_MSG_INFO(Form("EM%s VS RUN NO HISTOGRAM booked", m_monitoringName.data()));}
218 
219  m_p_offline_had_valueVsRunNumber = new TProfile(Form("ppm_had_1d_profile_adc_%sVsRunNumber", m_monitoringName.data()),
220  Form("%s Vs Run No: Had TriggerTower; Run No; %s %s",
221  m_monitoringTitle.data(),
222  m_monitoringTitle.data(),
223  m_monitoringDimension.data()),
224  100000,
225  150000,
226  200000);
228  sc = m_histoSvc->regHist(Form("/AANT/ADC/%s/ppm_had_1d_profile_adc_%sVsRunNumber", m_monitoringPath.data(), m_monitoringName.data()),
230  if (sc.isFailure()) {ATH_MSG_ERROR("could not register histogram: " << m_p_offline_had_valueVsRunNumber->GetName());}
231  else {ATH_MSG_INFO(Form("HAD%s VS RUN NO HISTOGRAM booked", m_monitoringName.data()));}
232 
233  m_p_offline_em_valueVsLumi = new TProfile(Form("ppm_em_1d_profile_adc_%sVsLumi", m_monitoringName.data()),
234  Form("Profile Histogram of %s vs Luminosity Block: Em TriggerTower; LumiBlock; %s %s",
235  m_monitoringTitle.data(),
236  m_monitoringTitle.data(),
237  m_monitoringDimension.data()),
238  1000,
239  0,
240  m_lumiMax);
241  sc = m_histoSvc->regHist(Form("/AANT/ADC/%s/run#%d/ppm_em_1d_profile_adc_%sVsLumi",
242  m_monitoringPath.data(),
244  m_monitoringName.data()),
247  if (sc.isFailure()) {ATH_MSG_ERROR("could not register histogram: " << m_p_offline_em_valueVsLumi->GetName());}
248 
249  m_p_offline_had_valueVsLumi = new TProfile(Form("ppm_had_1d_profile_adc_%sVsLumi", m_monitoringName.data()),
250  Form("Profile Histogram of %s vs Luminosity Block: Had TriggerTower; LumiBlock; %s %s",
251  m_monitoringTitle.data(),
252  m_monitoringTitle.data(),
253  m_monitoringDimension.data()),
254  1000,
255  0,
256  m_lumiMax);
257  sc = m_histoSvc->regHist(Form("/AANT/ADC/%s/run#%d/ppm_had_1d_profile_adc_%sVsLumi",
258  m_monitoringPath.data(),
260  m_monitoringName.data()),
263  if (sc.isFailure()) {ATH_MSG_ERROR("could not register histogram: " << m_p_offline_had_valueVsLumi->GetName());}
264 
265  //Eta Phi Maps
266  m_p_online_em_etaPhiValue = m_histTool->bookProfilePPMEmEtaVsPhi(Form("ppm_em_2d_profile_etaPhi_adc_%s", m_monitoringName.data()),
267  Form("#eta-#phi profile map of %s: Em Trigger Tower", m_monitoringTitle.data()));
268  m_p_online_had_etaPhiValue = m_histTool->bookProfilePPMHadEtaVsPhi(Form("ppm_had_2d_profile_etaPhi_adc_%s", m_monitoringName.data()),
269  Form("#eta-#phi profile map of %s: Had Trigger Tower", m_monitoringTitle.data()));
270 
271  m_h_online_em_etaPhiValueRMS = m_histTool->bookPPMEmEtaVsPhi(Form("ppm_em_2d_etaPhi_adc_%sRMS,", m_monitoringName.data()),
272  Form("#eta-#phi Histogram of %s RMS: Em Trigger Tower", m_monitoringTitle.data()));
273  m_h_online_had_etaPhiValueRMS = m_histTool->bookPPMHadEtaVsPhi(Form("ppm_had_2d_etaPhi_adc_%sRMS", m_monitoringName.data()),
274  Form("#eta-#phi Histogram of %s RMS: Had Trigger Tower", m_monitoringTitle.data()));
275 
276  return sc;
277 
278 }

◆ ConvertToOfflineHist() [1/2]

TProfile2D * L1CaloPprPlotManager::ConvertToOfflineHist ( TProfile2D_LW hist,
unsigned int  binCountour 
)
protectedinherited

Definition at line 720 of file L1CaloPprPlotManager.cxx.

721 {
722  TProfile2D* temp = hist->getROOTHist();
723  temp->SetMaximum(temp->GetMaximum());
724  temp->SetMinimum(temp->GetMinimum());
725  temp->SetContour(binContours);
726  ATH_MSG_INFO("ConvertToOfflineHist for " << temp->GetName());
727  return (TProfile2D*)temp->Clone();
728 }

◆ ConvertToOfflineHist() [2/2]

TProfile * L1CaloPprPlotManager::ConvertToOfflineHist ( TProfile_LW hist)
protectedinherited

Definition at line 703 of file L1CaloPprPlotManager.cxx.

704 {
705  TProfile* temp = hist->getROOTHist();
706  return (TProfile*)temp->Clone();
707 }

◆ doMonitoring()

bool L1CaloPprFineTimePlotManager::doMonitoring ( double &  value)
privatevirtual

Implements L1CaloPprPlotManager.

Definition at line 217 of file L1CaloPprFineTimePlotManager.cxx.

218 {
219  // fine time set to -1000. by default in getFineTime()
220  return ( (value != -1000.) && (fabs(value) < m_fineTimeCut) );
221 }

◆ EnableCaloQualCut()

void L1CaloPprFineTimePlotManager::EnableCaloQualCut ( bool  doCut)
inline

Definition at line 80 of file L1CaloPprFineTimePlotManager.h.

80 {m_doCaloQualCut = doCut;};

◆ fillDifferentialOfflineHistos()

void L1CaloPprPlotManager::fillDifferentialOfflineHistos ( const xAOD::TriggerTower trigTower,
unsigned int &  coolId,
CalLayerEnum  theLayer,
double &  value 
)
protectedvirtualinherited

Definition at line 611 of file L1CaloPprPlotManager.cxx.

615 {
616  // fill offline histograms for the given trigger tower with the given value
617 
618  double eta = trigTower->eta();
619 
620  std::string plotType = this->GetDetectorLayerString(theLayer);
621  CaloDivisionEnum detectorRegion = this->GetDetectorRegion(eta, theLayer);
622  std::string detectorRegionString = this->GetDetectorRegionString(detectorRegion);
623 
625  if ( tt_itr == m_map_offline_coolIDProfile_ValueVsLumi.end() )
626  {
627  std::string titles;
628  if ( m_ppmAdcMinValue > 0 ) {
629  titles = Form("Run:%d, %s Vs Lumi Profile for %sFADC >%d, Channel:%08x ;Lumi Block; %s %s",
631  m_monitoringTitle.data(),
632  plotType.data(),
634  coolId,
635  m_monitoringTitle.data(),
636  m_monitoringDimension.data());
637  }
638  else {
639  titles = Form("Run:%d, %s Vs Lumi Profile, Channel:%08x ;Lumi Block; %s %s",
641  m_monitoringTitle.data(),
642  coolId,
643  m_monitoringTitle.data(),
644  m_monitoringDimension.data());
645  }
646  // create new histogram for given channel with one bin per lumi block
647  TProfile* aProfileHist = new TProfile(Form("ppm_%s_1d_profile_adc_%08x_%sVsLumi",
648  plotType.data(),
649  coolId,
650  m_monitoringName.data()),
651  titles.c_str(),
652  m_lumiMax,
653  0,
654  m_lumiMax);
655  aProfileHist->Sumw2();
656  StatusCode sc = m_histoSvc->regHist(Form("/AANT/ADC/%s/run#%d/%s/ppm_%s_1d_profile_adc_%08x_%sVsLumi",
657  m_monitoringPath.data(),
659  detectorRegionString.data(),
660  plotType.data(),
661  coolId,
662  m_monitoringName.data()),
663  aProfileHist);
664  if ( sc.isFailure() ) { ATH_MSG_ERROR("could not register histogram: " << aProfileHist->GetName()); }
665 
666  aProfileHist->Fill(m_lumiNo, value);
667  m_map_offline_coolIDProfile_ValueVsLumi.insert( std::pair<unsigned int, TProfile*> (coolId, aProfileHist) );
668 
669  }
670  else
671  {
672  tt_itr->second->Fill(m_lumiNo, value);
673  }
674 }

◆ fillDifferentialOnlineHistos()

void L1CaloPprPlotManager::fillDifferentialOnlineHistos ( const xAOD::TriggerTower trigTower,
unsigned int &  coolId,
CalLayerEnum  theLayer,
double &  value 
)
protectedvirtualinherited

Definition at line 449 of file L1CaloPprPlotManager.cxx.

450 {
451  //Create fully differential plots
452  /****************************************************************************************************/
453 
455  p_itr = m_map_online_coolIDProfile_ValueVsLumi.find(coolId);
456 
457  if (p_itr == m_map_online_coolIDProfile_ValueVsLumi.end())
458  {
459  double eta = trigTower->eta();
460  std::string plotType = this->GetDetectorLayerString(theLayer);
461  CaloDivisionEnum detectorRegion = this->GetDetectorRegion(eta, theLayer);
462  std::string detectorRegionString = this->GetDetectorRegionString(detectorRegion);
463 
466  m_pathInRootFile + Form("/%s", detectorRegionString.data()),
468  attr);
469  m_histTool->setMonGroup(&ADC_Channels);
470 
471  std::string titles;
472  if ( m_ppmAdcMinValue > 0 ) {
473  titles = Form("Run:%d, %s Vs Lumi Profile for %sFADC >%d, Channel:%08x ;Lumi Block; %s %s",
475  m_monitoringTitle.data(),
476  plotType.data(),
478  coolId,
479  m_monitoringTitle.data(),
480  m_monitoringDimension.data());
481  }
482  else {
483  titles = Form("Run:%d, %s Vs Lumi Profile, Channel:%08x ;Lumi Block; %s %s",
485  m_monitoringTitle.data(),
486  coolId,
487  m_monitoringTitle.data(),
488  m_monitoringDimension.data());
489  }
490  TProfile_LW* anLWProfileHist = m_histTool->bookProfile(Form("ppm_%s_1d_profile_adc_%08x_%sVsLumi",
491  plotType.data(),
492  coolId,
493  m_monitoringName.data()),
494  titles,
495  m_lumiMax,
496  0,
497  m_lumiMax);
498  anLWProfileHist->Fill(m_lumiNo, value);
499  m_map_online_coolIDProfile_ValueVsLumi.insert ( std::pair<unsigned int, TProfile_LW*>(coolId, anLWProfileHist) );
500 
501  m_histTool->unsetMonGroup();
502 
503  }
504  else
505  {
506  p_itr->second->Fill(m_lumiNo, value);
507  }
508 
509 }

◆ fillGlobalOnlineHistos()

void L1CaloPprPlotManager::fillGlobalOnlineHistos ( const xAOD::TriggerTower trigTower,
CalLayerEnum  layer,
double &  value 
)
protectedvirtualinherited

Definition at line 302 of file L1CaloPprPlotManager.cxx.

303 {
304  /* Create global partition integrated plots */
305  /********************************************************************************************************/
306  double eta = trigTower->eta();
307  double phi = trigTower->phi();
308 
310 
311  std::string mergeMethod("");
312  int nbins = m_lumiMax;
313  double xmin = 0.;
314  double xmax = m_lumiMax;
316  // Tier0 - assumes each job processes only one lumiblock
317  mergeMethod = "mergeRebinned";
318  nbins = 1;
319  xmin = m_lumiNo;
320  xmax = m_lumiNo + 1.;
321  }
322 
325  m_histTool->setMonGroup(&ADC_GlobalMrg);
326 
328  m_histTool->bookProfile(Form("ppm_em_1d_profile_adc_%s", m_monitoringName.data()),
329  Form("Profile plot of %s Vs Lumi Block: Em TriggerTower; Lumi Block; %s %s",
330  m_monitoringTitle.data(),
331  m_monitoringTitle.data(),
332  m_monitoringDimension.data()),
333  nbins, xmin, xmax);
335  = m_histTool->bookProfile(Form("ppm_had_1d_profile_adc_%s", m_monitoringName.data()),
336  Form("Profile plot of %s Vs Lumi Block: Had TriggerTower; Lumi Block; %s %s",
337  m_monitoringTitle.data(),
338  m_monitoringTitle.data(),
339  m_monitoringDimension.data()),
340  nbins, xmin, xmax);
341 
343  m_histTool->setMonGroup(&ADC_Global);
344 
346  = m_histTool->bookProfilePPMEmEtaVsPhi(Form("ppm_em_2d_profile_etaPhi_adc_%s", m_monitoringName.data()),
347  Form("#eta-#phi profile map of %s: Em Trigger Tower", m_monitoringTitle.data()));
348 
350  = m_histTool->bookProfilePPMHadEtaVsPhi(Form("ppm_had_2d_profile_etaPhi_adc_%s", m_monitoringName.data()),
351  Form("#eta-#phi profile map of %s: Had Trigger Tower", m_monitoringTitle.data()));
352 
354  = m_histTool->bookPPMEmEtaVsPhi(Form("ppm_em_2d_etaPhi_adc_%sRMS", m_monitoringName.data()),
355  Form("#eta-#phi map of %s RMS: Em Trigger Tower", m_monitoringTitle.data()));
356 
358  = m_histTool->bookPPMHadEtaVsPhi(Form("ppm_had_2d_etaPhi_adc_%sRMS", m_monitoringName.data()),
359  Form("#eta-#phi map of %s RMS: Had Trigger Tower", m_monitoringTitle.data()));
360  m_histTool->unsetMonGroup();
361  }
362  //Fill Channel and detector partition integrated plots.
365 
366  //Fill Etaphi Plots
367  int binX(0), binY(0);
368  double entries = 0;
369  double val = 0;
370  double rms = 0;
371 
372  if ( layer == 0 )
373  {
374  m_histTool->fillPPMEmEtaVsPhi(m_p_online_em_etaPhiValue, eta, phi, value, 1);
375  if (AthenaMonManager::environment() == AthenaMonManager::online) { // Needs post-processing algorithm on Tier0
376  m_histTool->findBinPPMEmEtaVsPhi(m_p_online_em_etaPhiValue, eta, phi, binX, binY);
378  m_histTool->setBinPPMEmEtaVsPhi(m_h_online_em_etaPhiValueRMS,
379  binX, binY, rms, rms / sqrt(2 * entries));
380  }
381  }
382  else
383  {
384  m_histTool->fillPPMHadEtaVsPhi(m_p_online_had_etaPhiValue, eta, phi, value, 1);
386  m_histTool->findBinPPMHadEtaVsPhi(m_p_online_had_etaPhiValue, eta, phi, binX, binY);
388  m_histTool->setBinPPMHadEtaVsPhi(m_h_online_had_etaPhiValueRMS,
389  binX, binY, rms, rms / sqrt(2 * entries));
390  }
391  }
392 
393 }

◆ fillOfflineHistos()

void L1CaloPprPlotManager::fillOfflineHistos ( const xAOD::TriggerTower trigTower,
unsigned int &  coolID,
CalLayerEnum  layer 
)
protectedvirtualinherited

Definition at line 515 of file L1CaloPprPlotManager.cxx.

516 {
517  // compute value to be monitored
518  double value = this->getMonitoringValue(trigTower, theLayer);
519 
520 
521  // check if histograms need to be filled
522  if ( this->doMonitoring(value) )
523  {
524 
525  double eta = trigTower->eta();
526  double phi = trigTower->phi();
527 
528 
529  if ( m_doRunHistograms ) { this->fillRunHistograms(eta, phi, theLayer, value); }
530  // fill histograms per calorimeter partition and per channel
531  this->fillPartitionOfflineHistos(trigTower, theLayer, value);
532  this->fillDifferentialOfflineHistos(trigTower, mapCoolid, theLayer, value);
533 
534 
535  }
536 }

◆ fillOnlineHistos()

void L1CaloPprPlotManager::fillOnlineHistos ( const xAOD::TriggerTower trigTower,
unsigned int &  coolID,
CalLayerEnum  layer 
)
protectedvirtualinherited

Definition at line 283 of file L1CaloPprPlotManager.cxx.

284 {
285  // get value to be filled in histograms
286  double value = this->getMonitoringValue(trigTower, theLayer);
287 
288  if ( doMonitoring(value) )
289  {
290  this->fillPartitionOnlineHistos(trigTower, theLayer, value);
291  if (AthenaMonManager::environment() == AthenaMonManager::online) { // Don't run on Tier0
292  this->fillDifferentialOnlineHistos(trigTower, mapCoolid, theLayer, value);
293  }
294  this->fillGlobalOnlineHistos(trigTower, theLayer, value);
295  }
296 
297 }

◆ fillPartitionOfflineHistos()

void L1CaloPprPlotManager::fillPartitionOfflineHistos ( const xAOD::TriggerTower trigTower,
CalLayerEnum  theLayer,
double &  value 
)
protectedvirtualinherited

Definition at line 560 of file L1CaloPprPlotManager.cxx.

563 {
564  // fill offline histograms for the given calorimeter partition with the given value
565 
566  double eta = trigTower->eta();
567 
568  std::string plotType = this->GetDetectorLayerString(theLayer);
569  CaloDivisionEnum detectorRegion = this->GetDetectorRegion(eta, theLayer);
570  std::string detectorRegionString = this->GetDetectorRegionString(detectorRegion);
571 
573  if ( part_itr == m_map_offline_partitionProfile_ValueVsLumi.end() )
574  {
575  // create new histogram for given detector region with one bin per lumi block
576  TProfile* aProfileHist = new TProfile(Form("ppm_%s_1d_profile_adc_%s_%sVsLumi",
577  plotType.data(),
578  detectorRegionString.data(),
579  m_monitoringName.data()),
580  Form("Run:%d, %s Vs Lumi Profile for partition %s;Lumi Block; %s %s",
582  m_monitoringTitle.data(),
583  detectorRegionString.data(),
584  m_monitoringTitle.data(),
585  m_monitoringDimension.data()),
586  m_lumiMax,
587  0,
588  m_lumiMax);
589  aProfileHist->Sumw2();
590  StatusCode sc = m_histoSvc->regHist(Form("/AANT/ADC/%s/run#%d/ppm_%s_1d_profile_adc_%s_%sVsLumi",
591  m_monitoringPath.data(),
593  plotType.data(),
594  detectorRegionString.data(),
595  m_monitoringName.data()),
596  aProfileHist);
597  if ( sc.isFailure() ) { ATH_MSG_ERROR("could not register histogram: " << aProfileHist->GetName()); }
598 
599  aProfileHist->Fill(m_lumiNo, value);
600  m_map_offline_partitionProfile_ValueVsLumi.insert( std::pair<CaloDivisionEnum, TProfile*> (detectorRegion, aProfileHist) );
601  }
602  else
603  {
604  part_itr->second->Fill(m_lumiNo, value);
605  }
606 }

◆ fillPartitionOnlineHistos()

void L1CaloPprPlotManager::fillPartitionOnlineHistos ( const xAOD::TriggerTower trigTower,
CalLayerEnum  theLayer,
double &  value 
)
protectedvirtualinherited

Definition at line 398 of file L1CaloPprPlotManager.cxx.

399 {
400  //Create Channel Integrated, Partition differentiated plots
401  /****************************************************************************************************/
402  double eta = trigTower->eta();
403  CaloDivisionEnum detectorRegion = this->GetDetectorRegion(eta, theLayer);
404 
406  if (part_itr == m_map_online_partitionProfile_ValueVsLumi.end())
407  {
408  std::string plotType = this->GetDetectorLayerString(theLayer);
409  std::string detectorRegionString = this->GetDetectorRegionString(detectorRegion);
410  std::string mergeMethod("");
411  int nbins = m_lumiMax;
412  double xmin = 0.;
413  double xmax = m_lumiMax;
415  mergeMethod = "mergeRebinned";
416  nbins = 1;
417  xmin = m_lumiNo;
418  xmax = m_lumiNo + 1.;
419  }
420 
423  m_histTool->setMonGroup(&ADC_Partitions);
424 
425  TProfile_LW* anLWProfileHist = m_histTool->bookProfile(Form("ppm_%s_1d_profile_adc_%s_%sVsLumi",
426  plotType.data(),
427  detectorRegionString.data(),
428  m_monitoringName.data()),
429  Form("Run:%d, %s Vs Lumi Profile for partition %s",
431  m_monitoringTitle.data(),
432  detectorRegionString.data()),
433  nbins, xmin, xmax);
434  anLWProfileHist->Fill(m_lumiNo, value);
435 
436  m_map_online_partitionProfile_ValueVsLumi.insert( std::pair<CaloDivisionEnum, TProfile_LW*> (detectorRegion, anLWProfileHist));
437 
438  m_histTool->unsetMonGroup();
439  }
440  else
441  {
442  part_itr->second->Fill(m_lumiNo, value);
443  }
444 }

◆ fillRunHistograms()

void L1CaloPprPlotManager::fillRunHistograms ( double &  eta,
double &  phi,
CalLayerEnum  theLayer,
double &  value 
)
protectedvirtualinherited

Definition at line 540 of file L1CaloPprPlotManager.cxx.

541 {
542 
543  if (theLayer == Emlayer)
544  {
547  m_histTool->fillPPMEmEtaVsPhi(m_p_online_em_etaPhiValue, eta, phi, value, 1);
548  }
549  else if (theLayer == Hadlayer)
550  {
553  m_histTool->fillPPMHadEtaVsPhi(m_p_online_had_etaPhiValue, eta, phi, value);
554  }
555 }

◆ getCaloCells()

StatusCode L1CaloPprFineTimePlotManager::getCaloCells ( )

Definition at line 82 of file L1CaloPprFineTimePlotManager.cxx.

83 {
84  StatusCode sc;
85 
86  sc = m_caloTool->loadCaloCells();
87  if ( sc.isFailure() ) {
88  ATH_MSG_WARNING("Could not load CaloCells");
89  }
90 
91  return sc;
92 
93 }

◆ GetDetectorLayerString()

std::string L1CaloPprPlotManager::GetDetectorLayerString ( CalLayerEnum  layer)
protectedinherited

Definition at line 843 of file L1CaloPprPlotManager.cxx.

844 {
845  std::string stringOut;
846  switch (layer)
847  {
848  case Emlayer:
849  stringOut = "em";
850  return stringOut;
851  break;
852 
853  case Hadlayer:
854  stringOut = "had";
855  return stringOut;
856  break;
857 
858  case undef:
859  stringOut = "NoLayer";
860  return stringOut;
861  break;
862  }
863 
864  return stringOut;
865 }

◆ GetDetectorRegion()

CaloDivisionEnum L1CaloPprPlotManager::GetDetectorRegion ( double  Eta,
CalLayerEnum  Layer 
)
protectedinherited

Definition at line 732 of file L1CaloPprPlotManager.cxx.

733 {
735 
736  if (layer == Emlayer)
737  {
738  if (etaIn < -3.2 ) { part = LArFCAL1C; }
739  else if (etaIn < -1.5 ) { part = LArEMECC; }
740  else if (etaIn < -1.4 ) { part = LArOverlapC; }
741  else if (etaIn < 0. ) { part = LArEMBC; }
742  else if (etaIn < 1.4 ) { part = LArEMBA; }
743  else if (etaIn < 1.5 ) { part = LArOverlapA; }
744  else if (etaIn < 3.2 ) { part = LArEMECA; }
745  else { part = LArFCAL1A; }
746  }
747  else
748  {
749  if (etaIn < -3.2 ) { part = LArFCAL23C; }
750  else if (etaIn < -1.5 ) { part = LArHECC; }
751  else if (etaIn < -0.9 ) { part = TileEBC; }
752  else if (etaIn < 0. ) { part = TileLBC; }
753  else if (etaIn < 0.9 ) { part = TileLBA; }
754  else if (etaIn < 1.5 ) { part = TileEBA; }
755  else if (etaIn < 3.2 ) { part = LArHECA; }
756  else { part = LArFCAL23A; }
757  }
758  return part;
759 }

◆ GetDetectorRegionString()

std::string L1CaloPprPlotManager::GetDetectorRegionString ( CaloDivisionEnum  detectorRegion)
protectedinherited

Definition at line 763 of file L1CaloPprPlotManager.cxx.

764 {
765  std::string stringOut;
766  switch (detRegion)
767  {
768  case LArFCAL1C:
769  stringOut = "LArFCAL1C";
770  return stringOut;
771  break;
772  case LArEMECC:
773  stringOut = "LArEMECC";
774  return stringOut;
775  break;
776  case LArOverlapC:
777  stringOut = "LArOverlapC";
778  return stringOut;
779  break;
780  case LArEMBC:
781  stringOut = "LArEMBC";
782  return stringOut;
783  break;
784  case LArEMBA:
785  stringOut = "LArEMBA";
786  return stringOut;
787  break;
788  case LArOverlapA:
789  stringOut = "LArOverlapA";
790  return stringOut;
791  break;
792  case LArEMECA:
793  stringOut = "LArEMECA";
794  return stringOut;
795  break;
796  case LArFCAL1A:
797  stringOut = "LArFCAL1A";
798  return stringOut;
799  break;
800  case LArFCAL23C:
801  stringOut = "LArFCAL23C";
802  return stringOut;
803  break;
804  case LArHECC:
805  stringOut = "LArHECC";
806  return stringOut;
807  break;
808  case TileEBC:
809  stringOut = "TileEBC";
810  return stringOut;
811  break;
812  case TileLBC:
813  stringOut = "TileLBC";
814  return stringOut;
815  break;
816  case TileLBA:
817  stringOut = "TileLBA";
818  return stringOut;
819  break;
820  case TileEBA:
821  stringOut = "TileEBA";
822  return stringOut;
823  break;
824  case LArHECA:
825  stringOut = "LArHECA";
826  return stringOut;
827  break;
828  case LArFCAL23A:
829  stringOut = "LArFCAL23A";
830  return stringOut;
831  break;
832  case bound:
833  stringOut = "NoRegion";
834  return stringOut;
835  break;
836  }
837 
838  return stringOut;
839 }

◆ getMonitoringValue()

double L1CaloPprFineTimePlotManager::getMonitoringValue ( const xAOD::TriggerTower trigTower,
CalLayerEnum  theLayer 
)
privatevirtual

Implements L1CaloPprPlotManager.

Definition at line 136 of file L1CaloPprFineTimePlotManager.cxx.

137 {
138  double fineTime = -1000.; // default value not supposed to be filled in histograms
139 
140  // Use reference rather than copying ADC vector
141  const std::vector<short unsigned int>& ADCslices = trigTower->adc();
142  unsigned int ADCPeakIndex = trigTower->adcPeak();
143  if (ADCslices[ADCPeakIndex] <= m_ppmAdcMinValue) return fineTime;
144 
145  bool isSaturatedTT = true;
146  bool badCaloQuality = false;
147  double refValue = 0;
148  double calFactor = 0;
149 
150  if ( theLayer == Emlayer )
151  {
152  refValue = m_RefValue;
153  calFactor = m_CalFactor;
154  isSaturatedTT = trigTower->isCpSaturated();
155  if(m_doCaloQualCut) badCaloQuality = this->badLArQuality(this->LArQuality(trigTower,0));
156  }
157  else //had Layer
158  {
159  refValue = m_RefValue;
160  calFactor = m_CalFactor;
161  isSaturatedTT = trigTower->isCpSaturated();
162  if(m_doCaloQualCut){
163  if(fabs(trigTower->eta()) >= 3.2){
164  badCaloQuality = this->badLArQuality(this->LArQuality(trigTower,1));
165  }else if(fabs(trigTower->eta()) >= 1.5){
166  badCaloQuality = this->badHecQuality(this->LArQuality(trigTower,1));
167  }else{
168  badCaloQuality = false;
169  }
170  }
171  }
172  //Cut on saturated Towers
173  if(isSaturatedTT) return fineTime;
174 
175  //Cut on out LArg noise bursts
176  if(badCaloQuality) return fineTime;
177 
178  unsigned int size = ADCslices.size();
179 
180  // the ansatz of computing fine time only makes sense
181  // if there are enough adc slices
182  if ( size<3 ) return fineTime;
183 
184  // Find fineTime only if the peak index is not on the boundaries
185  if( ADCPeakIndex > (size - 2) || ADCPeakIndex < 1 ) return fineTime;
186 
187  int peakSlice = ADCslices[ADCPeakIndex];
188  int inferiorSlice = ADCslices[ADCPeakIndex - 1];
189  int superiorSlice = ADCslices[ADCPeakIndex + 1];
190 
191  if( peakSlice > m_ppmAdcMinValue && peakSlice < m_ppmAdcMaxValue
192  && inferiorSlice < m_ppmAdcMaxValue
193  && superiorSlice < m_ppmAdcMaxValue )
194  {
195  double denom = (2*(2*peakSlice - superiorSlice - inferiorSlice));
196  double numer = superiorSlice - inferiorSlice;
197  if(denom > 0)
198  {
199  fineTime = numer/denom;
200  // scale back to sampling interval
201  fineTime = fineTime*m_sampleInterval;
202  // subtract the reference value
203  fineTime = fineTime - refValue;
204  if(calFactor <= 0.000001){//setting unreasonable calibration factors to minus 1
205  calFactor = -1;
206  }
207  // and calibrate the value
208  fineTime = (-1)*fineTime/calFactor;
209  }
210 
211  }
212  return fineTime;
213 }

◆ initMessaging()

void AthMessaging::initMessaging ( ) const
privateinherited

Initialize our message level and MessageSvc.

This method should only be called once.

Definition at line 39 of file AthMessaging.cxx.

40 {
42  m_lvl = m_imsg ?
43  static_cast<MSG::Level>( m_imsg.load()->outputLevel(m_nm) ) :
44  MSG::INFO;
45 }

◆ isNewRun()

bool L1CaloPprPlotManager::isNewRun ( )
protectedinherited

Definition at line 869 of file L1CaloPprPlotManager.cxx.

870 {
871  if (m_lastRunNo != m_currentRunNo && m_lastRunNo != 0)
872  {
874  return true;
875  }
876  else
877  {
878  return false;
879  }
880 }

◆ LArQuality()

float L1CaloPprFineTimePlotManager::LArQuality ( const xAOD::TriggerTower trigTower,
int  layer 
)

Definition at line 98 of file L1CaloPprFineTimePlotManager.cxx.

98  {//layer: 0 is for the EMLayer, 1 is for HAD
99 
100  Identifier id(0);
101 
102  if(m_isOnline){
103  id = m_ttToolOnline->identifier(trigTower->eta(), trigTower->phi(), layer);
104  }else{
105  if(layer == 0) id = m_ttToolOffline->emID(trigTower->eta(),trigTower->phi());
106  else if(layer == 1) id = m_ttToolOffline->hadID(trigTower->eta(),trigTower->phi());
107  }
108 
109  float quality = m_caloTool->caloQuality(id);
110 
111  return quality;
112 
113 }

◆ loadTools()

void L1CaloPprFineTimePlotManager::loadTools ( )
private

Definition at line 225 of file L1CaloPprFineTimePlotManager.cxx.

226 {
227  StatusCode sc;
228 
229  if (m_isOnline) {
230  sc = m_caloTool.retrieve();
231  if ( sc.isFailure()) {
232  ATH_MSG_WARNING("Unable to locate tool L1CaloMonitoringCaloTool");
233  }
234  }
235  else {
236  sc = m_storeGate.retrieve();
237  if ( sc.isFailure()) {
238  ATH_MSG_WARNING("Unable to retrieve store gate");
239  }
240  }
241 
242 
243 }

◆ MakeSummary()

StatusCode L1CaloPprPlotManager::MakeSummary ( )
virtualinherited

Definition at line 678 of file L1CaloPprPlotManager.cxx.

679 {
680  StatusCode sc;
681  if ( !m_isOnline && m_doRunHistograms )
682  {
683  ATH_MSG_INFO("MakeSummary for " << m_monitoringName.data() << " plots");
684  sc = m_histoSvc->regHist(Form("/AANT/ADC/%s/run#%d/ppm_em_2d_profile_etaPhi_adc_%s",
685  m_monitoringPath.data(),
687  m_monitoringName.data()),
688  this->ConvertToOfflineHist(m_p_online_em_etaPhiValue, 20));
689  if (sc.isFailure()) {ATH_MSG_ERROR("could not register histogram: " << m_p_online_em_etaPhiValue->GetName());}
690 
691  sc = m_histoSvc->regHist(Form("/AANT/ADC/%s/run#%d/ppm_had_2d_profile_etaPhi_adc_%s",
692  m_monitoringPath.data(),
694  m_monitoringName.data()),
695  this->ConvertToOfflineHist(m_p_online_had_etaPhiValue, 20));
696  if (sc.isFailure()) {ATH_MSG_ERROR("could not register histogram: " << m_p_online_had_etaPhiValue->GetName());}
697  }
698  return sc;
699 }

◆ msg() [1/2]

MsgStream & AthMessaging::msg ( ) const
inlineinherited

The standard message stream.

Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.

Definition at line 164 of file AthMessaging.h.

165 {
166  MsgStream* ms = m_msg_tls.get();
167  if (!ms) {
168  if (!m_initialized.test_and_set()) initMessaging();
169  ms = new MsgStream(m_imsg,m_nm);
170  m_msg_tls.reset( ms );
171  }
172 
173  ms->setLevel (m_lvl);
174  return *ms;
175 }

◆ msg() [2/2]

MsgStream & AthMessaging::msg ( const MSG::Level  lvl) const
inlineinherited

The standard message stream.

Returns a reference to the default message stream May not be invoked before sysInitialize() has been invoked.

Definition at line 179 of file AthMessaging.h.

180 { return msg() << lvl; }

◆ msgLvl()

bool AthMessaging::msgLvl ( const MSG::Level  lvl) const
inlineinherited

Test the output level.

Parameters
lvlThe message level to test against
Returns
boolean Indicating if messages at given level will be printed
Return values
trueMessages at level "lvl" will be printed

Definition at line 151 of file AthMessaging.h.

152 {
153  if (!m_initialized.test_and_set()) initMessaging();
154  if (m_lvl <= lvl) {
155  msg() << lvl;
156  return true;
157  } else {
158  return false;
159  }
160 }

◆ SetCalibrationFactor()

void L1CaloPprFineTimePlotManager::SetCalibrationFactor ( double  calFactor)
inline

Definition at line 70 of file L1CaloPprFineTimePlotManager.h.

70 {m_CalFactor = calFactor;};

◆ SetEmCalibrationFactor()

void L1CaloPprFineTimePlotManager::SetEmCalibrationFactor ( double  calFactor)
inline

Definition at line 72 of file L1CaloPprFineTimePlotManager.h.

72 {m_emCalFactor = calFactor;};

◆ SetEmReferenceValue()

void L1CaloPprFineTimePlotManager::SetEmReferenceValue ( double  refValue)
inline

Definition at line 67 of file L1CaloPprFineTimePlotManager.h.

67 {m_emRefValue = refValue;};

◆ SetFineTimeCut()

void L1CaloPprFineTimePlotManager::SetFineTimeCut ( double &  fineTimeCut)
inline

Definition at line 62 of file L1CaloPprFineTimePlotManager.h.

62 {m_fineTimeCut = fineTimeCut;};

◆ SetHadCalibrationFactor()

void L1CaloPprFineTimePlotManager::SetHadCalibrationFactor ( double  calFactor)
inline

Definition at line 71 of file L1CaloPprFineTimePlotManager.h.

71 {m_hadCalFactor = calFactor;};

◆ SetHadReferenceValue()

void L1CaloPprFineTimePlotManager::SetHadReferenceValue ( double  refValue)
inline

Definition at line 68 of file L1CaloPprFineTimePlotManager.h.

68 {m_hadRefValue = refValue;};

◆ SetHistogramLimits()

void L1CaloPprPlotManager::SetHistogramLimits ( TProfile2D_LW hist,
const int  min,
const int  max 
)
protectedinherited

Definition at line 711 of file L1CaloPprPlotManager.cxx.

712 {
713  hist->SetMinimum(min);
714  hist->SetMaximum(max);
715 }

◆ setLevel()

void AthMessaging::setLevel ( MSG::Level  lvl)
inherited

Change the current logging level.

Use this rather than msg().setLevel() for proper operation with MT.

Definition at line 28 of file AthMessaging.cxx.

29 {
30  m_lvl = lvl;
31 }

◆ SetPpmAdcMaxValue()

void L1CaloPprFineTimePlotManager::SetPpmAdcMaxValue ( unsigned int  ppmAdcMaxValue)
inline

Definition at line 63 of file L1CaloPprFineTimePlotManager.h.

63 {m_ppmAdcMaxValue = ppmAdcMaxValue;}

◆ SetReferenceValue()

void L1CaloPprFineTimePlotManager::SetReferenceValue ( double  refValue)
inline

Definition at line 66 of file L1CaloPprFineTimePlotManager.h.

66 {m_RefValue = refValue;};

Member Data Documentation

◆ ATLAS_THREAD_SAFE

std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT
mutableprivateinherited

Messaging initialized (initMessaging)

Definition at line 141 of file AthMessaging.h.

◆ m_bunchCrossing

unsigned int L1CaloPprPlotManager::m_bunchCrossing
protectedinherited

Definition at line 222 of file L1CaloPprPlotManager.h.

◆ m_CalFactor

double L1CaloPprFineTimePlotManager::m_CalFactor
private

Definition at line 102 of file L1CaloPprFineTimePlotManager.h.

◆ m_caloTool

ToolHandle<LVL1::IL1CaloMonitoringCaloTool> L1CaloPprFineTimePlotManager::m_caloTool
private

Definition at line 86 of file L1CaloPprFineTimePlotManager.h.

◆ m_currentRunNo

unsigned int L1CaloPprPlotManager::m_currentRunNo
protectedinherited

Definition at line 225 of file L1CaloPprPlotManager.h.

◆ m_doCaloQualCut

bool L1CaloPprFineTimePlotManager::m_doCaloQualCut
private

Definition at line 108 of file L1CaloPprFineTimePlotManager.h.

◆ m_doRunHistograms

bool L1CaloPprPlotManager::m_doRunHistograms
protectedinherited

Definition at line 219 of file L1CaloPprPlotManager.h.

◆ m_emCalFactor

double L1CaloPprFineTimePlotManager::m_emCalFactor
private

Definition at line 103 of file L1CaloPprFineTimePlotManager.h.

◆ m_emRefValue

double L1CaloPprFineTimePlotManager::m_emRefValue
private

Definition at line 99 of file L1CaloPprFineTimePlotManager.h.

◆ m_fineTimeCut

double L1CaloPprFineTimePlotManager::m_fineTimeCut
private

Definition at line 95 of file L1CaloPprFineTimePlotManager.h.

◆ m_firstRun

bool L1CaloPprPlotManager::m_firstRun
protectedinherited

Definition at line 218 of file L1CaloPprPlotManager.h.

◆ m_h_offline_em_etaPhiValueRMS

TH2F* L1CaloPprPlotManager::m_h_offline_em_etaPhiValueRMS
protectedinherited

Definition at line 197 of file L1CaloPprPlotManager.h.

◆ m_h_offline_had_etaPhiValueRMS

TH2F* L1CaloPprPlotManager::m_h_offline_had_etaPhiValueRMS
protectedinherited

Definition at line 198 of file L1CaloPprPlotManager.h.

◆ m_h_online_em_etaPhiValueRMS

TH2F_LW* L1CaloPprPlotManager::m_h_online_em_etaPhiValueRMS
protectedinherited

Definition at line 194 of file L1CaloPprPlotManager.h.

◆ m_h_online_had_etaPhiValueRMS

TH2F_LW* L1CaloPprPlotManager::m_h_online_had_etaPhiValueRMS
protectedinherited

Definition at line 195 of file L1CaloPprPlotManager.h.

◆ m_h_ppm_em_2d_value_BCN_Lumi

TProfile2D_LW* L1CaloPprPlotManager::m_h_ppm_em_2d_value_BCN_Lumi
protectedinherited

Definition at line 185 of file L1CaloPprPlotManager.h.

◆ m_h_ppm_had_2d_value_BCN_Lumi

TProfile2D_LW* L1CaloPprPlotManager::m_h_ppm_had_2d_value_BCN_Lumi
protectedinherited

Definition at line 186 of file L1CaloPprPlotManager.h.

◆ m_hadCalFactor

double L1CaloPprFineTimePlotManager::m_hadCalFactor
private

Definition at line 104 of file L1CaloPprFineTimePlotManager.h.

◆ m_hadRefValue

double L1CaloPprFineTimePlotManager::m_hadRefValue
private

Definition at line 100 of file L1CaloPprFineTimePlotManager.h.

◆ m_histoSvc

ITHistSvc* L1CaloPprPlotManager::m_histoSvc
protectedinherited

Definition at line 165 of file L1CaloPprPlotManager.h.

◆ m_histTool

ToolHandle<LVL1::TrigT1CaloLWHistogramTool> L1CaloPprPlotManager::m_histTool
protectedinherited

Definition at line 161 of file L1CaloPprPlotManager.h.

◆ m_imsg

std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr }
mutableprivateinherited

MessageSvc pointer.

Definition at line 135 of file AthMessaging.h.

◆ m_isOnline

bool L1CaloPprPlotManager::m_isOnline
protectedinherited

Definition at line 217 of file L1CaloPprPlotManager.h.

◆ m_lastRunNo

unsigned int L1CaloPprPlotManager::m_lastRunNo
protectedinherited

Definition at line 226 of file L1CaloPprPlotManager.h.

◆ m_lumiMax

unsigned int L1CaloPprPlotManager::m_lumiMax
protectedinherited

Definition at line 223 of file L1CaloPprPlotManager.h.

◆ m_lumiNo

unsigned int L1CaloPprPlotManager::m_lumiNo
protectedinherited

Definition at line 221 of file L1CaloPprPlotManager.h.

◆ m_lvl

std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL }
mutableprivateinherited

Current logging level.

Definition at line 138 of file AthMessaging.h.

◆ m_map_offline_coolIDProfile_ValueVsLumi

std::map<unsigned int, TProfile*> L1CaloPprPlotManager::m_map_offline_coolIDProfile_ValueVsLumi
protectedinherited

Definition at line 215 of file L1CaloPprPlotManager.h.

◆ m_map_offline_partitionProfile_ValueVsLumi

std::map<CaloDivisionEnum, TProfile*> L1CaloPprPlotManager::m_map_offline_partitionProfile_ValueVsLumi
protectedinherited

Definition at line 209 of file L1CaloPprPlotManager.h.

◆ m_map_online_coolIDProfile_ValueVsBCN

std::map<unsigned int, TProfile_LW*> L1CaloPprPlotManager::m_map_online_coolIDProfile_ValueVsBCN
protectedinherited

Definition at line 213 of file L1CaloPprPlotManager.h.

◆ m_map_online_coolIDProfile_ValueVsLumi

std::map<unsigned int, TProfile_LW*> L1CaloPprPlotManager::m_map_online_coolIDProfile_ValueVsLumi
protectedinherited

Definition at line 212 of file L1CaloPprPlotManager.h.

◆ m_map_online_partitionProfile_ValueVsBCN

std::map<CaloDivisionEnum, TProfile_LW*> L1CaloPprPlotManager::m_map_online_partitionProfile_ValueVsBCN
protectedinherited

Definition at line 206 of file L1CaloPprPlotManager.h.

◆ m_map_online_partitionProfile_ValueVsLumi

std::map<CaloDivisionEnum, TProfile_LW*> L1CaloPprPlotManager::m_map_online_partitionProfile_ValueVsLumi
protectedinherited

Definition at line 205 of file L1CaloPprPlotManager.h.

◆ m_map_online_partitionProfile_ValueVsLumiVsBCN

std::map<CaloDivisionEnum, TProfile2D_LW*> L1CaloPprPlotManager::m_map_online_partitionProfile_ValueVsLumiVsBCN
protectedinherited

Definition at line 207 of file L1CaloPprPlotManager.h.

◆ m_monitoringDimension

std::string L1CaloPprPlotManager::m_monitoringDimension
protectedinherited

Definition at line 176 of file L1CaloPprPlotManager.h.

◆ m_monitoringName

std::string L1CaloPprPlotManager::m_monitoringName
protectedinherited

Definition at line 174 of file L1CaloPprPlotManager.h.

◆ m_monitoringPath

std::string L1CaloPprPlotManager::m_monitoringPath
protectedinherited

Definition at line 173 of file L1CaloPprPlotManager.h.

◆ m_monitoringTitle

std::string L1CaloPprPlotManager::m_monitoringTitle
protectedinherited

Definition at line 175 of file L1CaloPprPlotManager.h.

◆ m_monObj

ManagedMonitorToolBase* L1CaloPprPlotManager::m_monObj
protectedinherited

Definition at line 166 of file L1CaloPprPlotManager.h.

◆ m_msg_tls

boost::thread_specific_ptr<MsgStream> AthMessaging::m_msg_tls
mutableprivateinherited

MsgStream instance (a std::cout like with print-out levels)

Definition at line 132 of file AthMessaging.h.

◆ m_nm

std::string AthMessaging::m_nm
privateinherited

Message source name.

Definition at line 129 of file AthMessaging.h.

◆ m_p_offline_em_valueVsLumi

TProfile* L1CaloPprPlotManager::m_p_offline_em_valueVsLumi
protectedinherited

Definition at line 188 of file L1CaloPprPlotManager.h.

◆ m_p_offline_em_valueVsRunNumber

TProfile* L1CaloPprPlotManager::m_p_offline_em_valueVsRunNumber
protectedinherited

Definition at line 201 of file L1CaloPprPlotManager.h.

◆ m_p_offline_had_valueVsLumi

TProfile* L1CaloPprPlotManager::m_p_offline_had_valueVsLumi
protectedinherited

Definition at line 189 of file L1CaloPprPlotManager.h.

◆ m_p_offline_had_valueVsRunNumber

TProfile* L1CaloPprPlotManager::m_p_offline_had_valueVsRunNumber
protectedinherited

Definition at line 202 of file L1CaloPprPlotManager.h.

◆ m_p_online_em_etaPhiValue

TProfile2D_LW* L1CaloPprPlotManager::m_p_online_em_etaPhiValue
protectedinherited

Definition at line 191 of file L1CaloPprPlotManager.h.

◆ m_p_online_em_valueVsBCN

TProfile_LW* L1CaloPprPlotManager::m_p_online_em_valueVsBCN
protectedinherited

Definition at line 182 of file L1CaloPprPlotManager.h.

◆ m_p_online_em_valueVsLumi

TProfile_LW* L1CaloPprPlotManager::m_p_online_em_valueVsLumi
protectedinherited

Definition at line 179 of file L1CaloPprPlotManager.h.

◆ m_p_online_had_etaPhiValue

TProfile2D_LW* L1CaloPprPlotManager::m_p_online_had_etaPhiValue
protectedinherited

Definition at line 192 of file L1CaloPprPlotManager.h.

◆ m_p_online_had_valueVsBCN

TProfile_LW* L1CaloPprPlotManager::m_p_online_had_valueVsBCN
protectedinherited

Definition at line 183 of file L1CaloPprPlotManager.h.

◆ m_p_online_had_valueVsLumi

TProfile_LW* L1CaloPprPlotManager::m_p_online_had_valueVsLumi
protectedinherited

Definition at line 180 of file L1CaloPprPlotManager.h.

◆ m_pathInRootFile

std::string L1CaloPprPlotManager::m_pathInRootFile
protectedinherited

Definition at line 169 of file L1CaloPprPlotManager.h.

◆ m_ppmAdcMaxValue

int L1CaloPprFineTimePlotManager::m_ppmAdcMaxValue
private

Definition at line 96 of file L1CaloPprFineTimePlotManager.h.

◆ m_ppmAdcMinValue

int L1CaloPprPlotManager::m_ppmAdcMinValue
protectedinherited

Definition at line 220 of file L1CaloPprPlotManager.h.

◆ m_RefValue

double L1CaloPprFineTimePlotManager::m_RefValue
private

Definition at line 98 of file L1CaloPprFineTimePlotManager.h.

◆ m_sampleInterval

unsigned int L1CaloPprPlotManager::m_sampleInterval
protectedinherited

Definition at line 224 of file L1CaloPprPlotManager.h.

◆ m_storeGate

ServiceHandle<StoreGateSvc> L1CaloPprFineTimePlotManager::m_storeGate
private

Definition at line 85 of file L1CaloPprFineTimePlotManager.h.

◆ m_ttToolOffline

ToolHandle<LVL1::IL1CaloOfflineTriggerTowerTools> L1CaloPprPlotManager::m_ttToolOffline
protectedinherited

Definition at line 162 of file L1CaloPprPlotManager.h.

◆ m_ttToolOnline

ToolHandle<LVL1::IL1TriggerTowerTool> L1CaloPprPlotManager::m_ttToolOnline
protectedinherited

Definition at line 163 of file L1CaloPprPlotManager.h.


The documentation for this class was generated from the following files:
L1CaloPprPlotManager::m_map_online_coolIDProfile_ValueVsBCN
std::map< unsigned int, TProfile_LW * > m_map_online_coolIDProfile_ValueVsBCN
Definition: L1CaloPprPlotManager.h:213
L1CaloPprPlotManager::m_p_online_em_valueVsBCN
TProfile_LW * m_p_online_em_valueVsBCN
Definition: L1CaloPprPlotManager.h:182
LArG4FSStartPointFilter.part
part
Definition: LArG4FSStartPointFilter.py:21
L1CaloPprPlotManager::fillPartitionOfflineHistos
virtual void fillPartitionOfflineHistos(const xAOD::TriggerTower *trigTower, CalLayerEnum theLayer, double &value)
Definition: L1CaloPprPlotManager.cxx:560
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
L1CaloPprPlotManager::m_currentRunNo
unsigned int m_currentRunNo
Definition: L1CaloPprPlotManager.h:225
AthMessaging::m_lvl
std::atomic< MSG::Level > m_lvl
Current logging level.
Definition: AthMessaging.h:138
L1CaloPprFineTimePlotManager::m_CalFactor
double m_CalFactor
Definition: L1CaloPprFineTimePlotManager.h:102
L1CaloPprPlotManager::m_p_online_had_valueVsBCN
TProfile_LW * m_p_online_had_valueVsBCN
Definition: L1CaloPprPlotManager.h:183
LArHECC
@ LArHECC
Definition: L1CaloPprPlotManager.h:67
ATH_MSG_FATAL
#define ATH_MSG_FATAL(x)
Definition: AthMsgStreamMacros.h:34
L1CaloPprPlotManager::m_sampleInterval
unsigned int m_sampleInterval
Definition: L1CaloPprPlotManager.h:224
L1CaloPprPlotManager::L1CaloPprPlotManager
L1CaloPprPlotManager(ITHistSvc *histoSvc, ToolHandle< LVL1::IL1CaloOfflineTriggerTowerTools > &offlineTT_tool, const int ADC_cut, const unsigned int lumimax, const std::string &pathInRootFile, const std::string &monitoringPath, const std::string &monitoringName, const std::string &monitoringTitle, const std::string &monitoringDimension, bool doRunHistograms)
Definition: L1CaloPprPlotManager.cxx:35
L1CaloPprPlotManager::fillOfflineHistos
virtual void fillOfflineHistos(const xAOD::TriggerTower *trigTower, unsigned int &coolID, CalLayerEnum layer)
Definition: L1CaloPprPlotManager.cxx:515
L1CaloPprPlotManager::m_bunchCrossing
unsigned int m_bunchCrossing
Definition: L1CaloPprPlotManager.h:222
L1CaloPprFineTimePlotManager::m_emCalFactor
double m_emCalFactor
Definition: L1CaloPprFineTimePlotManager.h:103
L1CaloPprPlotManager::m_p_online_had_etaPhiValue
TProfile2D_LW * m_p_online_had_etaPhiValue
Definition: L1CaloPprPlotManager.h:192
TileLBC
@ TileLBC
Definition: L1CaloPprPlotManager.h:69
max
#define max(a, b)
Definition: cfImp.cxx:41
phi
Scalar phi() const
phi method
Definition: AmgMatrixBasePlugin.h:64
ATH_MSG_INFO
#define ATH_MSG_INFO(x)
Definition: AthMsgStreamMacros.h:31
xAOD::TriggerTower_v2::phi
virtual double phi() const final
The azimuthal angle ( ) of the particle.
Definition: TriggerTower_v2.cxx:222
ManagedMonitorToolBase::MgmtAttr_t
MgmtAttr_t
An enumeration describing how the class handles the histogram.
Definition: ManagedMonitorToolBase.h:131
Hadlayer
@ Hadlayer
Definition: L1CaloPprPlotManager.h:80
L1CaloPprPlotManager::m_lumiMax
unsigned int m_lumiMax
Definition: L1CaloPprPlotManager.h:223
eta
Scalar eta() const
pseudorapidity method
Definition: AmgMatrixBasePlugin.h:79
xAOD::TriggerTower_v2::isCpSaturated
bool isCpSaturated() const
Is tower saturated?
Definition: TriggerTower_v2.cxx:196
L1CaloPprPlotManager::fillOnlineHistos
virtual void fillOnlineHistos(const xAOD::TriggerTower *trigTower, unsigned int &coolID, CalLayerEnum layer)
Definition: L1CaloPprPlotManager.cxx:283
Emlayer
@ Emlayer
Definition: L1CaloPprPlotManager.h:79
L1CaloPprPlotManager::GetDetectorRegion
CaloDivisionEnum GetDetectorRegion(double Eta, CalLayerEnum Layer)
Definition: L1CaloPprPlotManager.cxx:732
plotmaker.hist
hist
Definition: plotmaker.py:148
L1CaloPprFineTimePlotManager::LArQuality
float LArQuality(const xAOD::TriggerTower *trigTower, int layer)
Definition: L1CaloPprFineTimePlotManager.cxx:98
L1CaloPprFineTimePlotManager::m_fineTimeCut
double m_fineTimeCut
Definition: L1CaloPprFineTimePlotManager.h:95
L1CaloPprPlotManager::getMonitoringValue
virtual double getMonitoringValue(const xAOD::TriggerTower *trigTower, CalLayerEnum theLayer)=0
L1CaloPprPlotManager::m_p_offline_em_valueVsRunNumber
TProfile * m_p_offline_em_valueVsRunNumber
Definition: L1CaloPprPlotManager.h:201
L1CaloPprFineTimePlotManager::m_emRefValue
double m_emRefValue
Definition: L1CaloPprFineTimePlotManager.h:99
TProfile2D
Definition: rootspy.cxx:531
L1CaloPprPlotManager::m_p_offline_em_valueVsLumi
TProfile * m_p_offline_em_valueVsLumi
Definition: L1CaloPprPlotManager.h:188
L1CaloPprPlotManager::m_p_online_em_etaPhiValue
TProfile2D_LW * m_p_online_em_etaPhiValue
Definition: L1CaloPprPlotManager.h:191
LArFCAL23A
@ LArFCAL23A
Definition: L1CaloPprPlotManager.h:73
L1CaloPprPlotManager::fillDifferentialOnlineHistos
virtual void fillDifferentialOnlineHistos(const xAOD::TriggerTower *trigTower, unsigned int &coolId, CalLayerEnum theLayer, double &value)
Definition: L1CaloPprPlotManager.cxx:449
L1CaloPprPlotManager::fillRunHistograms
virtual void fillRunHistograms(double &eta, double &phi, CalLayerEnum theLayer, double &value)
Definition: L1CaloPprPlotManager.cxx:540
L1CaloPprPlotManager::m_p_online_em_valueVsLumi
TProfile_LW * m_p_online_em_valueVsLumi
Definition: L1CaloPprPlotManager.h:179
bound
@ bound
Definition: L1CaloPprPlotManager.h:74
athena.value
value
Definition: athena.py:122
L1CaloPprFineTimePlotManager::m_storeGate
ServiceHandle< StoreGateSvc > m_storeGate
Definition: L1CaloPprFineTimePlotManager.h:80
L1CaloPprPlotManager::GetDetectorLayerString
std::string GetDetectorLayerString(CalLayerEnum layer)
Definition: L1CaloPprPlotManager.cxx:843
TileEBA
@ TileEBA
Definition: L1CaloPprPlotManager.h:71
L1CaloPprPlotManager::m_p_online_had_valueVsLumi
TProfile_LW * m_p_online_had_valueVsLumi
Definition: L1CaloPprPlotManager.h:180
L1CaloPprFineTimePlotManager::m_RefValue
double m_RefValue
Definition: L1CaloPprFineTimePlotManager.h:98
LArOverlapC
@ LArOverlapC
Definition: L1CaloPprPlotManager.h:60
L1CaloPprPlotManager::m_lastRunNo
unsigned int m_lastRunNo
Definition: L1CaloPprPlotManager.h:226
L1CaloPprFineTimePlotManager::badLArQuality
bool badLArQuality(float qual)
Definition: L1CaloPprFineTimePlotManager.cxx:115
TProfile_LW
Definition: TProfile_LW.h:24
AthMessaging::m_imsg
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
Definition: AthMessaging.h:135
L1CaloPprPlotManager::m_p_offline_had_valueVsRunNumber
TProfile * m_p_offline_had_valueVsRunNumber
Definition: L1CaloPprPlotManager.h:202
L1CaloPprPlotManager::m_map_offline_partitionProfile_ValueVsLumi
std::map< CaloDivisionEnum, TProfile * > m_map_offline_partitionProfile_ValueVsLumi
Definition: L1CaloPprPlotManager.h:209
python.SystemOfUnits.ms
int ms
Definition: SystemOfUnits.py:132
LArEMECA
@ LArEMECA
Definition: L1CaloPprPlotManager.h:64
CaloDivisionEnum
CaloDivisionEnum
Definition: L1CaloPprPlotManager.h:57
Athena::getMessageSvc
IMessageSvc * getMessageSvc(bool quiet=false)
Definition: getMessageSvc.cxx:20
L1CaloPprPlotManager::m_doRunHistograms
bool m_doRunHistograms
Definition: L1CaloPprPlotManager.h:219
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
LArEMBA
@ LArEMBA
Definition: L1CaloPprPlotManager.h:62
L1CaloPprFineTimePlotManager::m_hadRefValue
double m_hadRefValue
Definition: L1CaloPprFineTimePlotManager.h:100
L1CaloPprFineTimePlotManager::m_ppmAdcMaxValue
int m_ppmAdcMaxValue
Definition: L1CaloPprFineTimePlotManager.h:96
L1CaloPprPlotManager::m_pathInRootFile
std::string m_pathInRootFile
Definition: L1CaloPprPlotManager.h:169
AthenaMonManager::environment
static Environment_t environment()
Returns the running environment of the monitoring application to help ManagedMonitorToolBase objects ...
Definition: AthenaMonManager.cxx:321
L1CaloPprPlotManager::isNewRun
bool isNewRun()
Definition: L1CaloPprPlotManager.cxx:869
L1CaloPprPlotManager::m_map_online_partitionProfile_ValueVsLumiVsBCN
std::map< CaloDivisionEnum, TProfile2D_LW * > m_map_online_partitionProfile_ValueVsLumiVsBCN
Definition: L1CaloPprPlotManager.h:207
SCT_CalibAlgs::nbins
@ nbins
Definition: SCT_CalibNumbers.h:10
python.setupRTTAlg.size
int size
Definition: setupRTTAlg.py:39
Trk::binY
@ binY
Definition: BinningType.h:48
ManagedMonitorToolBase::MonGroup
A container of information describing a monitoring object.
Definition: ManagedMonitorToolBase.h:138
LArFCAL23C
@ LArFCAL23C
Definition: L1CaloPprPlotManager.h:66
L1CaloPprFineTimePlotManager::m_hadCalFactor
double m_hadCalFactor
Definition: L1CaloPprFineTimePlotManager.h:104
TrigConf::MSGTC::Level
Level
Definition: Trigger/TrigConfiguration/TrigConfBase/TrigConfBase/MsgStream.h:21
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
xmin
double xmin
Definition: listroot.cxx:60
L1CaloPprPlotManager::m_monObj
ManagedMonitorToolBase * m_monObj
Definition: L1CaloPprPlotManager.h:166
python.TrigEgammaMonitorHelper.TProfile
def TProfile(*args, **kwargs)
Definition: TrigEgammaMonitorHelper.py:81
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthenaMonManager::online
@ online
Definition: AthenaMonManager.h:49
TRT::Hit::layer
@ layer
Definition: HitInfo.h:79
xAOD::TriggerTower_v2::layer
int layer() const
get layer ( 0 = EM, 1 = Had, 2 = FCAL23) - to be confirmed
Definition: TriggerTower_v2.cxx:121
ManagedMonitorToolBase::ATTRIB_UNMANAGED
@ ATTRIB_UNMANAGED
Definition: ManagedMonitorToolBase.h:131
L1CaloPprPlotManager::m_map_online_partitionProfile_ValueVsLumi
std::map< CaloDivisionEnum, TProfile_LW * > m_map_online_partitionProfile_ValueVsLumi
Definition: L1CaloPprPlotManager.h:205
xAOD::TriggerTower_v2::eta
virtual double eta() const final
The pseudorapidity ( ) of the particle.
Definition: TriggerTower_v2.cxx:210
LArHECA
@ LArHECA
Definition: L1CaloPprPlotManager.h:72
LWHist::GetName
const char * GetName() const
Definition: LWHist.cxx:366
xAOD::TriggerTower_v2::coolId
uint32_t coolId() const
Tower identifiers.
L1CaloPprFineTimePlotManager::loadTools
void loadTools()
Definition: L1CaloPprFineTimePlotManager.cxx:225
L1CaloPprPlotManager::m_h_online_had_etaPhiValueRMS
TH2F_LW * m_h_online_had_etaPhiValueRMS
Definition: L1CaloPprPlotManager.h:195
LArEMBC
@ LArEMBC
Definition: L1CaloPprPlotManager.h:61
Trk::binX
@ binX
Definition: BinningType.h:47
TileEBC
@ TileEBC
Definition: L1CaloPprPlotManager.h:68
L1CaloPprPlotManager::GetDetectorRegionString
std::string GetDetectorRegionString(CaloDivisionEnum detectorRegion)
Definition: L1CaloPprPlotManager.cxx:763
LArOverlapA
@ LArOverlapA
Definition: L1CaloPprPlotManager.h:63
AthMessaging::msg
MsgStream & msg() const
The standard message stream.
Definition: AthMessaging.h:164
compute_lumi.denom
denom
Definition: compute_lumi.py:76
TProfile_LW::Fill
void Fill(const double &x, const double &y)
Definition: TProfile_LW.cxx:223
min
#define min(a, b)
Definition: cfImp.cxx:40
TileLBA
@ TileLBA
Definition: L1CaloPprPlotManager.h:70
TProfile2D_LW::GetBinInfo
void GetBinInfo(unsigned binx, unsigned biny, double &entries, double &content, double &error) const
Definition: TProfile2D_LW.cxx:329
L1CaloPprPlotManager::m_monitoringPath
std::string m_monitoringPath
Definition: L1CaloPprPlotManager.h:173
L1CaloPprFineTimePlotManager::badHecQuality
bool badHecQuality(float qual)
Definition: L1CaloPprFineTimePlotManager.cxx:125
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:194
LArEMECC
@ LArEMECC
Definition: L1CaloPprPlotManager.h:59
L1CaloPprPlotManager::fillPartitionOnlineHistos
virtual void fillPartitionOnlineHistos(const xAOD::TriggerTower *trigTower, CalLayerEnum theLayer, double &value)
Definition: L1CaloPprPlotManager.cxx:398
undef
@ undef
Definition: L1CaloPprPlotManager.h:81
L1CaloPprPlotManager::m_map_online_coolIDProfile_ValueVsLumi
std::map< unsigned int, TProfile_LW * > m_map_online_coolIDProfile_ValueVsLumi
Definition: L1CaloPprPlotManager.h:212
TProfile
Definition: rootspy.cxx:515
L1CaloPprFineTimePlotManager::m_doCaloQualCut
bool m_doCaloQualCut
Definition: L1CaloPprFineTimePlotManager.h:108
L1CaloPprPlotManager::bookRunHistograms
virtual StatusCode bookRunHistograms()
Definition: L1CaloPprPlotManager.cxx:201
L1CaloPprPlotManager::m_monitoringDimension
std::string m_monitoringDimension
Definition: L1CaloPprPlotManager.h:176
beamspotnt.plotType
string plotType
Definition: bin/beamspotnt.py:1423
L1CaloPprPlotManager::m_histoSvc
ITHistSvc * m_histoSvc
Definition: L1CaloPprPlotManager.h:165
L1CaloPprPlotManager::m_ttToolOnline
ToolHandle< LVL1::IL1TriggerTowerTool > m_ttToolOnline
Definition: L1CaloPprPlotManager.h:163
L1CaloPprPlotManager::m_ttToolOffline
ToolHandle< LVL1::IL1CaloOfflineTriggerTowerTools > m_ttToolOffline
Definition: L1CaloPprPlotManager.h:162
L1CaloPprPlotManager::fillGlobalOnlineHistos
virtual void fillGlobalOnlineHistos(const xAOD::TriggerTower *trigTower, CalLayerEnum layer, double &value)
Definition: L1CaloPprPlotManager.cxx:302
ManagedMonitorToolBase::run
@ run
Definition: ManagedMonitorToolBase.h:116
LArFCAL1C
@ LArFCAL1C
Definition: L1CaloPprPlotManager.h:58
TProfile::Fill
int Fill(double, double)
Definition: rootspy.cxx:523
L1CaloPprPlotManager::m_monitoringName
std::string m_monitoringName
Definition: L1CaloPprPlotManager.h:174
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
L1CaloPprFineTimePlotManager::m_caloTool
ToolHandle< LVL1::IL1CaloMonitoringCaloTool > m_caloTool
Definition: L1CaloPprFineTimePlotManager.h:86
Pythia8_RapidityOrderMPI.val
val
Definition: Pythia8_RapidityOrderMPI.py:14
AthMessaging::m_nm
std::string m_nm
Message source name.
Definition: AthMessaging.h:129
L1CaloPprPlotManager::m_isOnline
bool m_isOnline
Definition: L1CaloPprPlotManager.h:217
xmax
double xmax
Definition: listroot.cxx:61
beamspotnt.rms
rms
Definition: bin/beamspotnt.py:1266
L1CaloPprPlotManager::m_map_online_partitionProfile_ValueVsBCN
std::map< CaloDivisionEnum, TProfile_LW * > m_map_online_partitionProfile_ValueVsBCN
Definition: L1CaloPprPlotManager.h:206
entries
double entries
Definition: listroot.cxx:49
L1CaloPprPlotManager::m_histTool
ToolHandle< LVL1::TrigT1CaloLWHistogramTool > m_histTool
Definition: L1CaloPprPlotManager.h:161
LArFCAL1A
@ LArFCAL1A
Definition: L1CaloPprPlotManager.h:65
beamspotman.qual
qual
Definition: beamspotman.py:481
xAOD::TriggerTower_v2::adcPeak
uint8_t adcPeak() const
get adcPeak
L1CaloPprPlotManager::m_p_offline_had_valueVsLumi
TProfile * m_p_offline_had_valueVsLumi
Definition: L1CaloPprPlotManager.h:189
L1CaloPprPlotManager::fillDifferentialOfflineHistos
virtual void fillDifferentialOfflineHistos(const xAOD::TriggerTower *trigTower, unsigned int &coolId, CalLayerEnum theLayer, double &value)
Definition: L1CaloPprPlotManager.cxx:611
AthMessaging::initMessaging
void initMessaging() const
Initialize our message level and MessageSvc.
Definition: AthMessaging.cxx:39
AthMessaging::m_msg_tls
boost::thread_specific_ptr< MsgStream > m_msg_tls
MsgStream instance (a std::cout like with print-out levels)
Definition: AthMessaging.h:132
L1CaloPprPlotManager::m_h_online_em_etaPhiValueRMS
TH2F_LW * m_h_online_em_etaPhiValueRMS
Definition: L1CaloPprPlotManager.h:194
L1CaloPprPlotManager::m_ppmAdcMinValue
int m_ppmAdcMinValue
Definition: L1CaloPprPlotManager.h:220
L1CaloPprPlotManager::m_lumiNo
unsigned int m_lumiNo
Definition: L1CaloPprPlotManager.h:221
L1CaloPprPlotManager::m_map_offline_coolIDProfile_ValueVsLumi
std::map< unsigned int, TProfile * > m_map_offline_coolIDProfile_ValueVsLumi
Definition: L1CaloPprPlotManager.h:215
L1CaloPprPlotManager::m_monitoringTitle
std::string m_monitoringTitle
Definition: L1CaloPprPlotManager.h:175
L1CaloPprPlotManager::m_firstRun
bool m_firstRun
Definition: L1CaloPprPlotManager.h:218
xAOD::TriggerTower_v2::adc
const std::vector< uint16_t > & adc() const
get adc
L1CaloPprPlotManager::MakeSummary
virtual StatusCode MakeSummary()
Definition: L1CaloPprPlotManager.cxx:678
L1CaloPprPlotManager::doMonitoring
virtual bool doMonitoring(double &value)=0