ATLAS Offline Software
TileCondDCS_Data.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
11 #ifndef TILECONDDCS_DATA_H
12 #define TILECONDDCS_DATA_H
13 
14 #include "AthenaKernel/CLASS_DEF.h"
16 #include <map>
17 #include <vector>
18 #include <string>
19 
21 {
22 public:
23  //constructor
25 
26  //destructor
27  virtual ~TileCondDCS_Data();
28 
29  virtual StatusCode initialize();
30  virtual StatusCode finalize();
31 
33  void fill( const CondAttrListCollection::ChanNum& chanNum , const std::string& param);
35  void remove( const CondAttrListCollection::ChanNum& chanNum , const std::string& param);
37  int output( const CondAttrListCollection::ChanNum & chanNum,std::vector< std::string > & usersVector);
38 
40 
41  std::map<CondAttrListCollection::ChanNum, float >* m_pModulesHV;
42 
43 private:
44  typedef std::map<CondAttrListCollection::ChanNum, std::vector< std::string > > DCSConditions;
46 
47 };
48 
49 CLASS_DEF( TileCondDCS_Data , 2911 , 0 )
50 
51 #endif // TILECONDDCS_DATA_H
TileCondDCS_Data::m_bad_channels
DCSConditions m_bad_channels
Definition: TileCondDCS_Data.h:45
TileCondDCS_Data
Definition: TileCondDCS_Data.h:21
CondAttrListCollection.h
This file defines the class for a collection of AttributeLists where each one is associated with a ch...
TileCondDCS_Data::initialize
virtual StatusCode initialize()
Definition: TileCondDCS_Data.cxx:27
TileCondDCS_Data::fill
void fill(const CondAttrListCollection::ChanNum &chanNum, const std::string &param)
add defect
Definition: TileCondDCS_Data.cxx:42
TileCondDCS_Data::DCSConditions
std::map< CondAttrListCollection::ChanNum, std::vector< std::string > > DCSConditions
Definition: TileCondDCS_Data.h:44
checkCoolLatestUpdate.chanNum
chanNum
Definition: checkCoolLatestUpdate.py:27
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TileCondDCS_Data::output
int output(const CondAttrListCollection::ChanNum &chanNum, std::vector< std::string > &usersVector)
copy all defects to a users vector, the return value is the size
Definition: TileCondDCS_Data.cxx:73
CondAttrListCollection::ChanNum
unsigned int ChanNum
Definition: CondAttrListCollection.h:55
TileCondDCS_Data::~TileCondDCS_Data
virtual ~TileCondDCS_Data()
Definition: TileCondDCS_Data.cxx:21
TileCondDCS_Data::TileCondDCS_Data
TileCondDCS_Data()
Definition: TileCondDCS_Data.cxx:16
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
TileCondDCS_Data::remove
void remove(const CondAttrListCollection::ChanNum &chanNum, const std::string &param)
remove a defect
Definition: TileCondDCS_Data.cxx:61
TileCondDCS_Data::m_pModulesHV
std::map< CondAttrListCollection::ChanNum, float > * m_pModulesHV
Definition: TileCondDCS_Data.h:41
TileCondDCS_Data::finalize
virtual StatusCode finalize()
Definition: TileCondDCS_Data.cxx:34
CLASS_DEF.h
macros to associate a CLID to a type