|
ATLAS Offline Software
|
Go to the documentation of this file.
19 m_LArOnlineIDHelper(0),
58 int lumi_block = ctx.eventID().lumi_block();
61 float nonNominal[] = {0.,0.,0.,0.,0.,0.,0.,0.};
69 for (;idptr != idEndptr; ++idptr) {
77 float etaChan = 0;
float phiChan = 0.;
79 if(caloDetElement == 0 ){
80 ATH_MSG_ERROR(
"Cannot retrieve (eta,phi) coordinates for raw channels" );
83 etaChan = caloDetElement->
eta_raw();
84 phiChan = caloDetElement->
phi_raw();
93 if (hvonline<=0)
continue;
95 float hvcorr = scaleCorr->
HVScaleCorr(
id) * hvonline;
96 if (hvcorr>hvonline) hvdev = hvonline-hvcorr;
182 fill(
m_MonGroupName,monLB,nnEMBA,nnEMBC,nnEMECA,nnEMECC,nnHECA,nnFCALA,nnHECC,nnFCALC);
185 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
LArHVCorrectionMonAlg(const std::string &name, ISvcLocator *pSvcLocator)
virtual StatusCode initialize() override final
Overwrite dummy method from AlgTool.
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
const CaloDetDescrElement * get_element(const Identifier &cellId) const
get element by its identifier
SG::ReadCondHandleKey< ILArHVScaleCorr > m_onlineScaleCorrKey
#define ATH_MSG_VERBOSE(x)
id_iterator channel_end() const
float eta_raw() const
cell eta_raw
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
SG::ReadCondHandleKey< ILArHVScaleCorr > m_scaleCorrKey
Base class for Athena Monitoring Algorithms.
bool isFCALchannel(const HWIdentifier id) const
bool isEMECchannel(const HWIdentifier id) const override final
::StatusCode StatusCode
StatusCode definition for legacy code.
Helper class for offline cell identifiers.
void fill(const ToolHandle< GenericMonitoringTool > &groupHandle, std::vector< std::reference_wrapper< Monitored::IMonitoredVariable >> &&variables) const
Fills a vector of variables to a group by reference.
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Gaudi::Property< float > m_threshold
static double fix(double phi)
Gaudi::Property< std::string > m_MonGroupName
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
StatusCode initialize(bool used=true)
bool isEMBchannel(const HWIdentifier id) const
virtual StatusCode initialize() override
initialize
This class provides the client interface for accessing the detector description information common to...
const LArOnlineID * m_LArOnlineIDHelper
Identifier cnvToIdentifier(const HWIdentifier &sid) const
create an Identifier from a HWIdentifier (inline)
virtual StatusCode fillHistograms(const EventContext &ctx) const override final
Called each event.
virtual const float & HVScaleCorr(const HWIdentifier &id) const =0
bool isHECchannel(const HWIdentifier id) const override final
Declare a monitored scalar variable.
id_iterator channel_begin() const
Returns an iterator pointing to a channel identifier collection.
bool isOnlineConnected(const HWIdentifier &sid) const
Test whether a HWIdentifier is connected of not (inline)
float phi_raw() const
cell phi_raw