ATLAS Offline Software
IDetectorElementStatusTool.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef IDetectorElementStatusTool_h
6 #define IDetectorElementStatusTool_h
7 
9 #include "GaudiKernel/EventIDRange.h"
10 #include <vector>
11 #include <tuple>
12 
13 namespace InDet {
14  class SiDetectorElementStatus;
15 }
16 
17 class IDetectorElementStatusTool : virtual public IInterface, virtual public IAlgTool {
18 public:
19 
28  virtual std::unique_ptr<InDet::SiDetectorElementStatus>
29  getDetectorElementStatus(const EventContext& ctx,
31 
32  static EventIDBase getUndefinedEventId() { return EventIDBase (0, EventIDBase::UNDEFEVT, EventIDBase::UNDEFNUM, 0, 0); }
33  static EventIDRange getInvalidRange() { return EventIDRange (getUndefinedEventId(),getUndefinedEventId()); }
34 
35 };
36 
37 
38 #endif
InDet
Primary Vertex Finder.
Definition: VP1ErrorUtils.h:36
IDetectorElementStatusTool
Definition: IDetectorElementStatusTool.h:17
WriteCondHandle.h
IDetectorElementStatusTool::getInvalidRange
static EventIDRange getInvalidRange()
Definition: IDetectorElementStatusTool.h:33
IDetectorElementStatusTool::getDetectorElementStatus
virtual std::unique_ptr< InDet::SiDetectorElementStatus > getDetectorElementStatus(const EventContext &ctx, SG::WriteCondHandle< InDet::SiDetectorElementStatus > *whandle) const =0
get the module and chip status of Si detector elements
SG::WriteCondHandle
Definition: WriteCondHandle.h:26
IDetectorElementStatusTool::getUndefinedEventId
static EventIDBase getUndefinedEventId()
Definition: IDetectorElementStatusTool.h:32