 |
ATLAS Offline Software
|
Go to the documentation of this file.
61 ATH_MSG_DEBUG(
"CaloMonAlgBase:checkFilters() starts "<<MonGroupName);
64 fill(MonGroupName,evtbin);
71 fill(MonGroupName,evtbin);
76 fill(MonGroupName,evtbin);
80 ATH_MSG_DEBUG(
"CaloMonAlgBase::checkFilters() ATLAS Ready done");
87 if(ifPass) {evtbin=3;
fill(MonGroupName,evtbin);}
94 if(ifPass) {evtbin=3;
fill(MonGroupName,evtbin);}
97 ATH_MSG_DEBUG(
"CaloMonAlgBase::checkFilters() BadLBTool done");
103 if(!larTime.isValid()){
105 if(ifPass) {evtbin=4;
fill(MonGroupName,evtbin);}
108 if (larTime->timeC()!=0 && larTime->timeA()!=0 && std::fabs(larTime->timeC() - larTime->timeA())<10) {
112 ifPass = ifPass && 1;
113 if(ifPass) {evtbin=4;
fill(MonGroupName,evtbin);}
118 if(ifPass) {evtbin=4;
fill(MonGroupName,evtbin);}
120 ATH_MSG_DEBUG(
"CaloMonAlgBase::checkFilters() CollisionFilterTool done");
123 passBeamBackgroundRemoval=
true;
126 if(!beamBackgroundData.isValid()){
130 if( beamBackgroundData->GetNumSegment() > 0 ) {
131 passBeamBackgroundRemoval =
false;
136 passBeamBackgroundRemoval =
true;
137 ifPass = ifPass && 1;
138 if(ifPass){evtbin=5;
fill(MonGroupName,evtbin);}
143 ifPass = ifPass && 1;
144 if(ifPass) {evtbin=5;
fill(MonGroupName,evtbin);}
147 ATH_MSG_DEBUG(
"CaloMonAlgBase::checkFilters() m_useBeamBackgroundRemoval done");
149 std::string TheTrigger;
151 TheTrigger=
"NoTrigSel";
152 ifPass = ifPass && 1;
153 if(ifPass) {evtbin=6;
fill(MonGroupName,evtbin);}
157 if(ifPass) {evtbin=6;
fill(MonGroupName,evtbin);}
164 ifPass = ifPass && 1;
165 if(ifPass) {evtbin=7;
fill(MonGroupName,evtbin);}
169 return StatusCode::SUCCESS;
195 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::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.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T, V, H > &t)
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