![Logo](../../ATLAS-Logo-Square-Blue-RGB.png) |
ATLAS Offline Software
|
Go to the documentation of this file.
19 #include "GaudiKernel/MsgStream.h"
20 #include "GaudiKernel/ITHistSvc.h"
24 "tier0Raw",
"tier0ESD",
"AOD",
"altprod" };
25 static const char*
const eventflagdets[] = {
"Pixel",
"SCT",
"TRT",
26 "LAr",
"Tile",
"Muon",
28 "Background",
"Lumi"};
34 const std::string &
name,
38 m_releaseStageString(
""),
40 m_release_stage_lowStat(0),
46 declareInterface<IMonitorToolBase>(
this);
47 m_path =
"GLOBAL/DQTDataFlow";
82 const EventContext& ctx = Gaudi::Hive::currentContext();
113 failure |= rolling_hists.
regHist(
m_sumweights =
new TH1D(
"m_sumweights",
"Sum of MC event weights", 50, 0.5, 50.5)).isFailure();
116 if (failure) {
return StatusCode::FAILURE;}
117 else {
return StatusCode::SUCCESS;}
163 if (failure) {
return StatusCode::FAILURE;}
164 else {
return StatusCode::SUCCESS;}
180 return StatusCode::FAILURE;
194 if (detstate > worststate) worststate = detstate;
200 return StatusCode::SUCCESS;
225 return StatusCode::SUCCESS;
235 return StatusCode::SUCCESS;
EventInfo_v1 EventInfo
Definition of the latest event info version.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
@ IS_SIMULATION
true: simulation, false: data
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
uint32_t lumiBlock() const
The current event's luminosity block number.
virtual bool isValid() override final
Can the handle be successfully dereferenced?
EventFlagErrorState errorState(EventFlagSubDet subDet) const
Get the error state for a particular sub-detector.
float mcEventWeight(size_t i=0) const
The weight of one specific MC event used in the simulation.
Handle class for reading from StoreGate.
bool eventType(EventType type) const
Check for one particular bitmask value.