|
ATLAS Offline Software
|
Go to the documentation of this file.
29 m_LArOnlineIDHelper(0),
32 m_LArFCAL_IDHelper(0) {}
51 return StatusCode::FAILURE;
59 return StatusCode::FAILURE;
65 return StatusCode::FAILURE;
71 return StatusCode::FAILURE;
132 for ( ; itDig!=itDig_e;++itDig) {
138 if(!
cabling->isOnlineConnected(
id))
continue;
144 if(caloDetElement == 0 ){
148 eta = caloDetElement->
eta_raw();
149 phi = caloDetElement->
phi_raw();
172 const std::vector < short >& samples = pLArDigit->
samples();
175 if(sampling != 1)
continue;
178 float sample_max = * std::max_element(samples.begin(), samples.end());
179 sample_max = sample_max-pedestal;
198 const std::vector < short > samples = pLArDigit->
samples();
201 if(sampling != 2)
continue;
204 float sample_max = * std::max_element(samples.begin(), samples.end());
205 sample_max = sample_max-pedestal;
222 const std::vector < short > samples = pLArDigit->
samples();
225 if(sampling != 2)
continue;
228 float sample_max = * std::max_element(samples.begin(), samples.end());
229 sample_max = sample_max-pedestal;
249 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
virtual float pedestal(const HWIdentifier &id, int gain) const =0
const LArOnlineID * m_LArOnlineIDHelper
Const iterator class for DataVector/DataList.
LArCosmicsMonAlg(const std::string &name, ISvcLocator *pSvcLocator)
SG::ReadHandleKey< LArDigitContainer > m_LArDigitContainerKey
Handle to digits.
SG::ReadCondHandleKey< LArBadChannelCont > m_bcContKey
Conditions-Data class holding LAr Bad Channel or Bad Feb information.
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
const std::vector< short > & samples() const
const HWIdentifier & hardwareID() const
Gaudi::Property< float > m_muonADCthreshold_EM_barrel
StatusCode buildBitMask(const std::vector< std::string > &problemsToMask, MsgStream &msg)
int module(const Identifier id) const
module [1,3]
int sampling(const Identifier id) const
return sampling according to :
virtual ~LArCosmicsMonAlg()
Default destructor.
bool cellShouldBeMasked(const LArBadChannelCont *bcCont, const HWIdentifier &hardwareId) 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.
Base class for Athena Monitoring Algorithms.
bool isFCALchannel(const HWIdentifier id) const
bool isEMECchannel(const HWIdentifier id) const override final
Liquid Argon digit base class.
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< float > m_muonADCthreshold_FCAL
virtual StatusCode initialize() override
Overwrite dummy method from AlgTool.
LArBadChannelMask m_bcMask
Handle to bad-channel mask.
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.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Gaudi::Property< float > m_muonADCthreshold_EM_endcap
Gaudi::Property< float > m_muonADCthreshold_HEC
static double fix(double phi)
StatusCode initialize(bool used=true)
bool isEMBchannel(const HWIdentifier id) const
Gaudi::Property< std::vector< std::string > > m_problemsToMask
SG::ReadCondHandleKey< ILArPedestal > m_larPedestalKey
Handle to pedestal.
virtual StatusCode initialize() override
initialize
const LArHEC_ID * m_LArHEC_IDHelper
CaloGain::CaloGain gain() const
This class provides the client interface for accessing the detector description information common to...
bool is_em_barrel(const Identifier id) const
test if the id belongs to the EM barrel
int sampling(const Identifier id) const
return sampling [0,3] (only 0 for supercells)
SG::ReadCondHandleKey< CaloDetDescrManager > m_caloMgrKey
Gaudi::Property< std::string > m_CosmicsMonGroupName
const LArFCAL_ID * m_LArFCAL_IDHelper
bool isHECchannel(const HWIdentifier id) const override final
Declare a monitored scalar variable.
SG::ReadCondHandleKey< LArOnOffIdMapping > m_cablingKey
const LArEM_ID * m_LArEM_IDHelper
virtual StatusCode fillHistograms(const EventContext &ctx) const override
Called each event.
bool is_em_endcap(const Identifier id) const
test if the id belongs to the EM Endcap
float phi_raw() const
cell phi_raw