Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
9 m_BadLBTool(this,
"DQBadLBFilterTool"),
10 m_ReadyFilterTool(this,
"DQAtlasReadyFilterTool")
63 ATH_MSG_DEBUG(
"CaloMonAlgBase:checkFilters() starts "<<MonGroupName);
66 fill(MonGroupName,evtbin);
73 fill(MonGroupName,evtbin);
78 fill(MonGroupName,evtbin);
82 ATH_MSG_DEBUG(
"CaloMonAlgBase::checkFilters() ATLAS Ready done");
89 if(ifPass) {evtbin=3;
fill(MonGroupName,evtbin);}
96 if(ifPass) {evtbin=3;
fill(MonGroupName,evtbin);}
99 ATH_MSG_DEBUG(
"CaloMonAlgBase::checkFilters() BadLBTool done");
105 if(!larTime.isValid()){
107 if(ifPass) {evtbin=4;
fill(MonGroupName,evtbin);}
110 if (larTime->timeC()!=0 && larTime->timeA()!=0 && std::fabs(larTime->timeC() - larTime->timeA())<10) {
114 ifPass = ifPass && 1;
115 if(ifPass) {evtbin=4;
fill(MonGroupName,evtbin);}
120 if(ifPass) {evtbin=4;
fill(MonGroupName,evtbin);}
122 ATH_MSG_DEBUG(
"CaloMonAlgBase::checkFilters() CollisionFilterTool done");
125 passBeamBackgroundRemoval=
true;
128 if(!beamBackgroundData.isValid()){
132 if( beamBackgroundData->GetNumSegment() > 0 ) {
133 passBeamBackgroundRemoval =
false;
138 passBeamBackgroundRemoval =
true;
139 ifPass = ifPass && 1;
140 if(ifPass){evtbin=5;
fill(MonGroupName,evtbin);}
145 ifPass = ifPass && 1;
146 if(ifPass) {evtbin=5;
fill(MonGroupName,evtbin);}
149 ATH_MSG_DEBUG(
"CaloMonAlgBase::checkFilters() m_useBeamBackgroundRemoval done");
151 std::string TheTrigger;
153 TheTrigger=
"NoTrigSel";
154 ifPass = ifPass && 1;
155 if(ifPass) {evtbin=6;
fill(MonGroupName,evtbin);}
159 if(ifPass) {evtbin=6;
fill(MonGroupName,evtbin);}
166 ifPass = ifPass && 1;
167 if(ifPass) {evtbin=7;
fill(MonGroupName,evtbin);}
171 return StatusCode::SUCCESS;
197 const unsigned side=(celleta>0) ? 0 : 1;
def retrieve(aClass, aKey=None)
StatusCode checkFilters(bool &ifPass, bool &passBeamBackgroundRemoval, const std::string &MonGroupName, const EventContext &ctx) const
bool is_lar_em_endcap_inner() const
cell belongs to the inner wheel of EM end cap
int region(const Identifier id) const
LAr field values (NOT_VALID == invalid request)
SG::ReadHandleKey< LArCollisionTime > m_LArCollisionTimeKey
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Gaudi::Property< std::string > m_triggerChainString
Trigger chain string pulled from the job option and parsed into a vector.
This class groups all DetDescr information related to a CaloCell. Provides a generic interface for al...
std::vector< std::string > m_vTrigChainNames
Vector of trigger chain names parsed from trigger chain string.
bool m_useCollisionFilterTool
bool m_useBeamBackgroundRemoval
virtual StatusCode initialize()
initialize
@ LAr
The LAr calorimeter.
const std::map< unsigned, LayerEnumNoSides > m_caloSamplingToLyrNS
float eta_raw() const
cell eta_raw
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
@ Error
The sub-detector issued an error.
Base class for Athena Monitoring Algorithms.
Identifier identify() const override final
cell identifier
CaloMonAlgBase(const std::string &name, ISvcLocator *pSvcLocator)
::StatusCode StatusCode
StatusCode definition for legacy code.
const CaloCell_ID * m_calo_id
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.
ToolHandle< IDQFilterTool > m_BadLBTool
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
void getHistoCoordinates(const CaloDetDescrElement *dde, float &celleta, float &cellphi, unsigned &iLyr, unsigned &iLyrNS) const
SG::ReadHandle< xAOD::EventInfo > GetEventInfo(const EventContext &) const
Return a ReadHandle for an EventInfo object (get run/event numbers, etc.)
virtual StatusCode initialize() override
initialize
CaloCell_ID::CaloSample getSampling() const
cell sampling
#define ATH_MSG_WARNING(x)
bool m_useReadyFilterTool
SG::ReadHandleKey< BeamBackgroundData > m_beamBackgroundKey
ToolHandle< IDQFilterTool > m_ReadyFilterTool
Declare a monitored scalar variable.
float phi_raw() const
cell phi_raw