|
ATLAS Offline Software
|
#include <L1CaloPprEtCorrelationPlotManager.h>
|
virtual StatusCode | bookRunHistograms () |
|
void | SetHistogramLimits (TProfile2D_LW *hist, const int min, const int max) |
|
TProfile * | ConvertToOfflineHist (TProfile_LW *hist) |
|
TProfile2D * | ConvertToOfflineHist (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 () |
|
◆ L1CaloPprEtCorrelationPlotManager() [1/2]
◆ L1CaloPprEtCorrelationPlotManager() [2/2]
◆ ~L1CaloPprEtCorrelationPlotManager()
L1CaloPprEtCorrelationPlotManager::~L1CaloPprEtCorrelationPlotManager |
( |
| ) |
|
|
inline |
◆ Analyze()
◆ bookRunHistograms()
StatusCode L1CaloPprPlotManager::bookRunHistograms |
( |
| ) |
|
|
protectedvirtualinherited |
Definition at line 201 of file L1CaloPprPlotManager.cxx.
206 Form(
"%s Vs Run No: Em TriggerTower; Run No; %s %s",
220 Form(
"%s Vs Run No: Had TriggerTower; Run No; %s %s",
234 Form(
"Profile Histogram of %s vs Luminosity Block: Em TriggerTower; LumiBlock; %s %s",
241 sc =
m_histoSvc->regHist(Form(
"/AANT/ADC/%s/run#%d/ppm_em_1d_profile_adc_%sVsLumi",
250 Form(
"Profile Histogram of %s vs Luminosity Block: Had TriggerTower; LumiBlock; %s %s",
257 sc =
m_histoSvc->regHist(Form(
"/AANT/ADC/%s/run#%d/ppm_had_1d_profile_adc_%sVsLumi",
267 Form(
"#eta-#phi profile map of %s: Em Trigger Tower",
m_monitoringTitle.data()));
269 Form(
"#eta-#phi profile map of %s: Had Trigger Tower",
m_monitoringTitle.data()));
272 Form(
"#eta-#phi Histogram of %s RMS: Em Trigger Tower",
m_monitoringTitle.data()));
274 Form(
"#eta-#phi Histogram of %s RMS: Had Trigger Tower",
m_monitoringTitle.data()));
◆ ConvertToOfflineHist() [1/2]
Definition at line 720 of file L1CaloPprPlotManager.cxx.
723 temp->SetMaximum(temp->GetMaximum());
724 temp->SetMinimum(temp->GetMinimum());
725 temp->SetContour(binContours);
726 ATH_MSG_INFO(
"ConvertToOfflineHist for " << temp->GetName());
◆ ConvertToOfflineHist() [2/2]
◆ doMonitoring()
bool L1CaloPprEtCorrelationPlotManager::doMonitoring |
( |
double & |
value | ) |
|
|
privatevirtual |
◆ fillDifferentialOfflineHistos()
|
protectedvirtualinherited |
Definition at line 611 of file L1CaloPprPlotManager.cxx.
618 double eta = trigTower->
eta();
629 titles = Form(
"Run:%d, %s Vs Lumi Profile for %sFADC >%d, Channel:%08x ;Lumi Block; %s %s",
639 titles = Form(
"Run:%d, %s Vs Lumi Profile, Channel:%08x ;Lumi Block; %s %s",
647 TProfile* aProfileHist =
new TProfile(Form(
"ppm_%s_1d_profile_adc_%08x_%sVsLumi",
655 aProfileHist->Sumw2();
659 detectorRegionString.data(),
664 if (
sc.isFailure() ) {
ATH_MSG_ERROR(
"could not register histogram: " << aProfileHist->GetName()); }
◆ fillDifferentialOnlineHistos()
|
protectedvirtualinherited |
Definition at line 449 of file L1CaloPprPlotManager.cxx.
459 double eta = trigTower->
eta();
473 titles = Form(
"Run:%d, %s Vs Lumi Profile for %sFADC >%d, Channel:%08x ;Lumi Block; %s %s",
483 titles = Form(
"Run:%d, %s Vs Lumi Profile, Channel:%08x ;Lumi Block; %s %s",
◆ fillGlobalOnlineHistos()
|
protectedvirtualinherited |
Definition at line 302 of file L1CaloPprPlotManager.cxx.
306 double eta = trigTower->
eta();
307 double phi = trigTower->
phi();
311 std::string mergeMethod(
"");
317 mergeMethod =
"mergeRebinned";
329 Form(
"Profile plot of %s Vs Lumi Block: Em TriggerTower; Lumi Block; %s %s",
336 Form(
"Profile plot of %s Vs Lumi Block: Had TriggerTower; Lumi Block; %s %s",
347 Form(
"#eta-#phi profile map of %s: Em Trigger Tower",
m_monitoringTitle.data()));
351 Form(
"#eta-#phi profile map of %s: Had Trigger Tower",
m_monitoringTitle.data()));
◆ fillOfflineHistos()
|
protectedvirtualinherited |
◆ fillOnlineHistos()
|
protectedvirtualinherited |
◆ fillPartitionOfflineHistos()
|
protectedvirtualinherited |
Definition at line 560 of file L1CaloPprPlotManager.cxx.
566 double eta = trigTower->
eta();
576 TProfile* aProfileHist =
new TProfile(Form(
"ppm_%s_1d_profile_adc_%s_%sVsLumi",
578 detectorRegionString.data(),
580 Form(
"Run:%d, %s Vs Lumi Profile for partition %s;Lumi Block; %s %s",
583 detectorRegionString.data(),
589 aProfileHist->Sumw2();
594 detectorRegionString.data(),
597 if (
sc.isFailure() ) {
ATH_MSG_ERROR(
"could not register histogram: " << aProfileHist->GetName()); }
◆ fillPartitionOnlineHistos()
|
protectedvirtualinherited |
Definition at line 398 of file L1CaloPprPlotManager.cxx.
402 double eta = trigTower->
eta();
410 std::string mergeMethod(
"");
415 mergeMethod =
"mergeRebinned";
427 detectorRegionString.data(),
429 Form(
"Run:%d, %s Vs Lumi Profile for partition %s",
432 detectorRegionString.data()),
◆ fillRunHistograms()
void L1CaloPprPlotManager::fillRunHistograms |
( |
double & |
eta, |
|
|
double & |
phi, |
|
|
CalLayerEnum |
theLayer, |
|
|
double & |
value |
|
) |
| |
|
protectedvirtualinherited |
◆ getCaloCells()
StatusCode L1CaloPprEtCorrelationPlotManager::getCaloCells |
( |
| ) |
|
◆ GetDetectorLayerString()
std::string L1CaloPprPlotManager::GetDetectorLayerString |
( |
CalLayerEnum |
layer | ) |
|
|
protectedinherited |
◆ GetDetectorRegion()
◆ GetDetectorRegionString()
std::string L1CaloPprPlotManager::GetDetectorRegionString |
( |
CaloDivisionEnum |
detectorRegion | ) |
|
|
protectedinherited |
Definition at line 763 of file L1CaloPprPlotManager.cxx.
765 std::string stringOut;
769 stringOut =
"LArFCAL1C";
773 stringOut =
"LArEMECC";
777 stringOut =
"LArOverlapC";
781 stringOut =
"LArEMBC";
785 stringOut =
"LArEMBA";
789 stringOut =
"LArOverlapA";
793 stringOut =
"LArEMECA";
797 stringOut =
"LArFCAL1A";
801 stringOut =
"LArFCAL23C";
805 stringOut =
"LArHECC";
809 stringOut =
"TileEBC";
813 stringOut =
"TileLBC";
817 stringOut =
"TileLBA";
821 stringOut =
"TileEBA";
825 stringOut =
"LArHECA";
829 stringOut =
"LArFCAL23A";
833 stringOut =
"NoRegion";
◆ getMonitoringValue()
Implements L1CaloPprPlotManager.
Definition at line 102 of file L1CaloPprEtCorrelationPlotManager.cxx.
104 float caloEnergy = 0.;
105 float ttCpEnergy = trigTower->
cpET()*0.5;
108 if (ttCpEnergy <=
m_EtMin)
return -1000.;
111 CaloCellEnergyByLayerAcc(
"CaloCellEnergyByLayer");
112 if ( CaloCellEnergyByLayerAcc.isAvailable(*trigTower) ) {
113 for (
float e : CaloCellEnergyByLayerAcc(*trigTower)) {
116 caloEnergy = caloEnergy / cosh( trigTower->
eta() );
121 CaloCellETByLayerAcc(
"CaloCellETByLayer");
122 if( CaloCellETByLayerAcc.isAvailable(*trigTower) ){
123 for (
float et : CaloCellETByLayerAcc(*trigTower)) {
129 caloEnergy=
int(caloEnergy+0.5);
132 if (caloEnergy>255.) { caloEnergy=255.; }
137 return ttCpEnergy/caloEnergy;
◆ 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.
◆ isNewRun()
bool L1CaloPprPlotManager::isNewRun |
( |
| ) |
|
|
protectedinherited |
◆ loadTools()
void L1CaloPprEtCorrelationPlotManager::loadTools |
( |
| ) |
|
|
private |
◆ MakeSummary()
StatusCode L1CaloPprPlotManager::MakeSummary |
( |
| ) |
|
|
virtualinherited |
◆ 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.
◆ 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
-
lvl | The message level to test against |
- Returns
- boolean Indicating if messages at given level will be printed
- Return values
-
true | Messages at level "lvl" will be printed |
Definition at line 151 of file AthMessaging.h.
◆ SetCaloCellContainer()
void L1CaloPprEtCorrelationPlotManager::SetCaloCellContainer |
( |
const std::string & |
name | ) |
|
|
inline |
◆ SetEtMin()
void L1CaloPprEtCorrelationPlotManager::SetEtMin |
( |
double |
et | ) |
|
|
inline |
◆ SetHistogramLimits()
◆ setLevel()
void AthMessaging::setLevel |
( |
MSG::Level |
lvl | ) |
|
|
inherited |
◆ ATLAS_THREAD_SAFE
std::atomic_flag m_initialized AthMessaging::ATLAS_THREAD_SAFE = ATOMIC_FLAG_INIT |
|
mutableprivateinherited |
◆ m_bunchCrossing
unsigned int L1CaloPprPlotManager::m_bunchCrossing |
|
protectedinherited |
◆ m_caloCellContainerName
std::string L1CaloPprEtCorrelationPlotManager::m_caloCellContainerName |
|
private |
◆ m_caloTool
◆ m_currentRunNo
unsigned int L1CaloPprPlotManager::m_currentRunNo |
|
protectedinherited |
◆ m_doRunHistograms
bool L1CaloPprPlotManager::m_doRunHistograms |
|
protectedinherited |
◆ m_EtMin
double L1CaloPprEtCorrelationPlotManager::m_EtMin |
|
private |
◆ m_firstRun
bool L1CaloPprPlotManager::m_firstRun |
|
protectedinherited |
◆ m_h_offline_em_etaPhiValueRMS
TH2F* L1CaloPprPlotManager::m_h_offline_em_etaPhiValueRMS |
|
protectedinherited |
◆ m_h_offline_had_etaPhiValueRMS
TH2F* L1CaloPprPlotManager::m_h_offline_had_etaPhiValueRMS |
|
protectedinherited |
◆ m_h_online_em_etaPhiValueRMS
TH2F_LW* L1CaloPprPlotManager::m_h_online_em_etaPhiValueRMS |
|
protectedinherited |
◆ m_h_online_had_etaPhiValueRMS
TH2F_LW* L1CaloPprPlotManager::m_h_online_had_etaPhiValueRMS |
|
protectedinherited |
◆ m_h_ppm_em_2d_value_BCN_Lumi
TProfile2D_LW* L1CaloPprPlotManager::m_h_ppm_em_2d_value_BCN_Lumi |
|
protectedinherited |
◆ m_h_ppm_had_2d_value_BCN_Lumi
TProfile2D_LW* L1CaloPprPlotManager::m_h_ppm_had_2d_value_BCN_Lumi |
|
protectedinherited |
◆ m_histoSvc
ITHistSvc* L1CaloPprPlotManager::m_histoSvc |
|
protectedinherited |
◆ m_histTool
◆ m_imsg
std::atomic<IMessageSvc*> AthMessaging::m_imsg { nullptr } |
|
mutableprivateinherited |
◆ m_isOnline
bool L1CaloPprPlotManager::m_isOnline |
|
protectedinherited |
◆ m_lastRunNo
unsigned int L1CaloPprPlotManager::m_lastRunNo |
|
protectedinherited |
◆ m_lumiMax
unsigned int L1CaloPprPlotManager::m_lumiMax |
|
protectedinherited |
◆ m_lumiNo
unsigned int L1CaloPprPlotManager::m_lumiNo |
|
protectedinherited |
◆ m_lvl
std::atomic<MSG::Level> AthMessaging::m_lvl { MSG::NIL } |
|
mutableprivateinherited |
◆ m_map_offline_coolIDProfile_ValueVsLumi
std::map<unsigned int, TProfile*> L1CaloPprPlotManager::m_map_offline_coolIDProfile_ValueVsLumi |
|
protectedinherited |
◆ m_map_offline_partitionProfile_ValueVsLumi
◆ m_map_online_coolIDProfile_ValueVsBCN
std::map<unsigned int, TProfile_LW*> L1CaloPprPlotManager::m_map_online_coolIDProfile_ValueVsBCN |
|
protectedinherited |
◆ m_map_online_coolIDProfile_ValueVsLumi
std::map<unsigned int, TProfile_LW*> L1CaloPprPlotManager::m_map_online_coolIDProfile_ValueVsLumi |
|
protectedinherited |
◆ m_map_online_partitionProfile_ValueVsBCN
◆ m_map_online_partitionProfile_ValueVsLumi
◆ m_map_online_partitionProfile_ValueVsLumiVsBCN
◆ m_monitoringDimension
std::string L1CaloPprPlotManager::m_monitoringDimension |
|
protectedinherited |
◆ m_monitoringName
std::string L1CaloPprPlotManager::m_monitoringName |
|
protectedinherited |
◆ m_monitoringPath
std::string L1CaloPprPlotManager::m_monitoringPath |
|
protectedinherited |
◆ m_monitoringTitle
std::string L1CaloPprPlotManager::m_monitoringTitle |
|
protectedinherited |
◆ m_monObj
◆ 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 |
◆ m_p_offline_em_valueVsLumi
TProfile* L1CaloPprPlotManager::m_p_offline_em_valueVsLumi |
|
protectedinherited |
◆ m_p_offline_em_valueVsRunNumber
TProfile* L1CaloPprPlotManager::m_p_offline_em_valueVsRunNumber |
|
protectedinherited |
◆ m_p_offline_had_valueVsLumi
TProfile* L1CaloPprPlotManager::m_p_offline_had_valueVsLumi |
|
protectedinherited |
◆ m_p_offline_had_valueVsRunNumber
TProfile* L1CaloPprPlotManager::m_p_offline_had_valueVsRunNumber |
|
protectedinherited |
◆ m_p_online_em_etaPhiValue
◆ m_p_online_em_valueVsBCN
TProfile_LW* L1CaloPprPlotManager::m_p_online_em_valueVsBCN |
|
protectedinherited |
◆ m_p_online_em_valueVsLumi
TProfile_LW* L1CaloPprPlotManager::m_p_online_em_valueVsLumi |
|
protectedinherited |
◆ m_p_online_had_etaPhiValue
◆ m_p_online_had_valueVsBCN
TProfile_LW* L1CaloPprPlotManager::m_p_online_had_valueVsBCN |
|
protectedinherited |
◆ m_p_online_had_valueVsLumi
TProfile_LW* L1CaloPprPlotManager::m_p_online_had_valueVsLumi |
|
protectedinherited |
◆ m_pathInRootFile
std::string L1CaloPprPlotManager::m_pathInRootFile |
|
protectedinherited |
◆ m_ppmAdcMinValue
int L1CaloPprPlotManager::m_ppmAdcMinValue |
|
protectedinherited |
◆ m_sampleInterval
unsigned int L1CaloPprPlotManager::m_sampleInterval |
|
protectedinherited |
◆ m_storeGate
◆ m_ttToolOffline
◆ m_ttToolOnline
The documentation for this class was generated from the following files:
std::map< unsigned int, TProfile_LW * > m_map_online_coolIDProfile_ValueVsBCN
TProfile_LW * m_p_online_em_valueVsBCN
virtual void fillPartitionOfflineHistos(const xAOD::TriggerTower *trigTower, CalLayerEnum theLayer, double &value)
JetConstituentVector::iterator iterator
unsigned int m_currentRunNo
std::atomic< MSG::Level > m_lvl
Current logging level.
TProfile_LW * m_p_online_had_valueVsBCN
Extra patterns decribing particle interation process.
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)
virtual void fillOfflineHistos(const xAOD::TriggerTower *trigTower, unsigned int &coolID, CalLayerEnum layer)
unsigned int m_bunchCrossing
uint8_t cpET() const
get cpET from peak of lut_cp
TProfile2D_LW * m_p_online_had_etaPhiValue
Scalar phi() const
phi method
virtual double phi() const final
The azimuthal angle ( ) of the particle.
Scalar eta() const
pseudorapidity method
virtual void fillOnlineHistos(const xAOD::TriggerTower *trigTower, unsigned int &coolID, CalLayerEnum layer)
CaloDivisionEnum GetDetectorRegion(double Eta, CalLayerEnum Layer)
virtual double getMonitoringValue(const xAOD::TriggerTower *trigTower, CalLayerEnum theLayer)=0
TProfile * m_p_offline_em_valueVsRunNumber
TProfile * m_p_offline_em_valueVsLumi
TProfile2D_LW * m_p_online_em_etaPhiValue
virtual void fillDifferentialOnlineHistos(const xAOD::TriggerTower *trigTower, unsigned int &coolId, CalLayerEnum theLayer, double &value)
virtual void fillRunHistograms(double &eta, double &phi, CalLayerEnum theLayer, double &value)
TProfile_LW * m_p_online_em_valueVsLumi
std::string GetDetectorLayerString(CalLayerEnum layer)
TProfile_LW * m_p_online_had_valueVsLumi
Helper class to provide constant type-safe access to aux data.
std::atomic< IMessageSvc * > m_imsg
MessageSvc pointer.
TProfile * m_p_offline_had_valueVsRunNumber
std::map< CaloDivisionEnum, TProfile * > m_map_offline_partitionProfile_ValueVsLumi
IMessageSvc * getMessageSvc(bool quiet=false)
std::string m_pathInRootFile
static Environment_t environment()
Returns the running environment of the monitoring application to help ManagedMonitorToolBase objects ...
std::map< CaloDivisionEnum, TProfile2D_LW * > m_map_online_partitionProfile_ValueVsLumiVsBCN
ManagedMonitorToolBase * m_monObj
def TProfile(*args, **kwargs)
ToolHandle< LVL1::IL1CaloMonitoringCaloTool > m_caloTool
::StatusCode StatusCode
StatusCode definition for legacy code.
int layer() const
get layer ( 0 = EM, 1 = Had, 2 = FCAL23) - to be confirmed
std::map< CaloDivisionEnum, TProfile_LW * > m_map_online_partitionProfile_ValueVsLumi
virtual double eta() const final
The pseudorapidity ( ) of the particle.
ServiceHandle< StoreGateSvc > m_storeGate
const char * GetName() const
uint32_t coolId() const
Tower identifiers.
TH2F_LW * m_h_online_had_etaPhiValueRMS
std::string GetDetectorRegionString(CaloDivisionEnum detectorRegion)
MsgStream & msg() const
The standard message stream.
void Fill(const double &x, const double &y)
void GetBinInfo(unsigned binx, unsigned biny, double &entries, double &content, double &error) const
std::string m_monitoringPath
virtual void fillPartitionOnlineHistos(const xAOD::TriggerTower *trigTower, CalLayerEnum theLayer, double &value)
std::map< unsigned int, TProfile_LW * > m_map_online_coolIDProfile_ValueVsLumi
virtual StatusCode bookRunHistograms()
std::string m_monitoringDimension
Container class for CaloCell.
ToolHandle< LVL1::IL1CaloOfflineTriggerTowerTools > m_ttToolOffline
virtual void fillGlobalOnlineHistos(const xAOD::TriggerTower *trigTower, CalLayerEnum layer, double &value)
std::string m_monitoringName
#define ATH_MSG_WARNING(x)
std::string m_nm
Message source name.
std::map< CaloDivisionEnum, TProfile_LW * > m_map_online_partitionProfile_ValueVsBCN
bool absEta(const xAOD::TauJet &tau, double &out)
std::string m_caloCellContainerName
ToolHandle< LVL1::TrigT1CaloLWHistogramTool > m_histTool
TProfile * m_p_offline_had_valueVsLumi
virtual void fillDifferentialOfflineHistos(const xAOD::TriggerTower *trigTower, unsigned int &coolId, CalLayerEnum theLayer, double &value)
void initMessaging() const
Initialize our message level and MessageSvc.
boost::thread_specific_ptr< MsgStream > m_msg_tls
MsgStream instance (a std::cout like with print-out levels)
TH2F_LW * m_h_online_em_etaPhiValueRMS
std::map< unsigned int, TProfile * > m_map_offline_coolIDProfile_ValueVsLumi
std::string m_monitoringTitle
virtual StatusCode MakeSummary()
virtual bool doMonitoring(double &value)=0