8#ifndef CALOCONDPHYSALGS_CALOCELLNOISEALG_H
9#define CALOCONDPHYSALGS_CALOCELLNOISEALG_H
16#include "GaudiKernel/ToolHandle.h"
20#include "CaloGeoHelpers/CaloSampling.h"
27#include "GaudiKernel/ITHistSvc.h"
45 virtual StatusCode
execute()
override;
47 virtual StatusCode
stop()
override;
62 ,
"CaloDetDescrManager"
63 ,
"CaloDetDescrManager"
64 ,
"SG Key for CaloDetDescrManager in the Condition Store" };
70 {
this,
"ADC2MeVKey",
"LArADC2MeV",
"SG Key of the LArADC2MeV CDO" };
72 {
this,
"TotalNoiseKey",
"totalNoise",
"SG conditions key for total noise" };
74 {
this,
"ElecNoiseKey",
"electronicNoise",
"SG conditions key for electronic noise" };
114 Gaudi::Property<bool>
m_doMC{
this,
"doMC",
false};
116 Gaudi::Property<bool>
m_doFit{
this,
"doFit",
true};
118 Gaudi::Property<int>
m_nmin{
this,
"nevtMin", 10};
119 ToolHandle<Trig::TrigDecisionTool>
m_trigDecTool{
this,
"TrigDecisionTool",
""};
121 FloatArrayProperty
m_cuts{
this,
"EnergyCuts", {}};
123 Gaudi::Property<std::string>
m_lumiFolderName{
this,
"LumiFolderName",
"/TRIGGER/LUMI/LBLESTONL"};
124 Gaudi::Property<int>
m_addlumiblock{
this,
"NAddLumiBlock", 5,
"Number of consecutive lumiblocks to add together"};
Definition of CaloDetDescrManager.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
SG::ReadCondHandleKey< ILArNoise > m_noiseKey
SG::ReadCondHandleKey< CaloNoise > m_elecNoiseKey
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
std::vector< CellInfo > m_CellList
SG::ReadCondHandleKey< ILArPedestal > m_pedestalKey
CaloCellNoiseAlg(const std::string &name, ISvcLocator *pSvcLocator)
Standard Athena-Algorithm Constructor.
FloatArrayProperty m_cuts
Gaudi::Property< int > m_addlumiblock
virtual StatusCode execute() override
standard Athena-Algorithm method
Gaudi::Property< std::string > m_lumiFolderName
Gaudi::Property< bool > m_doMC
virtual StatusCode stop() override
standard Athena-Algorithm method
virtual ~CaloCellNoiseAlg()
Default Destructor.
const CaloCell_ID * m_calo_id
SG::ReadCondHandleKey< CaloNoise > m_totalNoiseKey
Gaudi::Property< bool > m_doFit
Gaudi::Property< bool > m_readNtuple
Gaudi::Property< bool > m_doLumiFit
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
virtual StatusCode initialize() override
standard Athena-Algorithm method
SG::ReadCondHandleKey< LArADC2MeV > m_adc2mevKey
ToolHandle< Trig::TrigDecisionTool > m_trigDecTool
TDT handle.
ServiceHandle< ITHistSvc > m_thistSvc
Gaudi::Property< std::string > m_triggerChainProp
unsigned int m_lumiblockOld
static StatusCode readNtuple()
Gaudi::Property< int > m_nmin
std::unique_ptr< TreeData > m_treeData
Gaudi::Property< float > m_deltaLumi
Helper class for offline cell identifiers.
float m_reference[200000]