ATLAS Offline Software
TileCalibDrawerCmt.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TILECALIBBLOBOBJS_TILECALIBDRAWERCMT_H
6 #define TILECALIBBLOBOBJS_TILECALIBDRAWERCMT_H
7 
18 #include <iostream>
19 
21  public:
23  virtual ~TileCalibDrawerCmt(){}
24 
26  virtual uint16_t getType() const {return TileCalibType::CMT;}
27 
29  static const TileCalibDrawerCmt* getInstance(const coral::Blob& blob);
30 
37  const std::string& author,
38  const std::string& comment="",
40 
45  void init(const std::string& author, const std::string& comment="", uint64_t timeStamp=0);
46 
48  virtual void dump() const { dumpHeader(std::cout); }
51  virtual void dump(std::ostream& stm) const { dumpHeader(stm); }
52 
53  protected:
59 };
60 
61 #endif
62 
TileCalibDrawerCmt::init
void init(const std::string &author, const std::string &comment="", uint64_t timeStamp=0)
Initializing a TileCalibDrawerCmt.
Definition: TileCalibDrawerCmt.cxx:54
TileCalibDrawerCmt::TileCalibDrawerCmt
TileCalibDrawerCmt(const coral::Blob &blob)
Ctor used when interpreting an already existing BLOB.
Definition: TileCalibDrawerCmt.cxx:35
TileCalibType::CMT
@ CMT
Enum for TileCalibDrawerCmt class.
Definition: TileCalibType.h:28
TileCalibDrawerCmt::dump
virtual void dump() const
Print the header to std::cout.
Definition: TileCalibDrawerCmt.h:48
python.subdetectors.tile.Blob
Blob
Definition: tile.py:17
TileCalibDrawerBase::dumpHeader
void dumpHeader(std::ostream &stm) const
Prints the BLOB header summary information.
Definition: TileCalibDrawerBase.cxx:200
TileCalibDrawerBase.h
xAOD::uint16_t
setWord1 uint16_t
Definition: eFexEMRoI_v1.cxx:88
TileCalibDrawerCmt::dump
virtual void dump(std::ostream &stm) const
Print the header.
Definition: TileCalibDrawerCmt.h:51
TileCalibDrawerBase
This class provides the core BLOB infrastructure.
Definition: TileCalibDrawerBase.h:59
xAOD::uint64_t
uint64_t
Definition: EventInfo_v1.cxx:123
TileCalibDrawerCmt::~TileCalibDrawerCmt
virtual ~TileCalibDrawerCmt()
Dtor.
Definition: TileCalibDrawerCmt.h:23
CaloCondBlobAlgs_fillNoiseFromASCII.comment
string comment
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:27
xAOD::timeStamp
setEventNumber timeStamp
Definition: EventInfo_v1.cxx:128
TileCalibDrawerCmt::getInstance
static const TileCalibDrawerCmt * getInstance(const coral::Blob &blob)
Returns a pointer to a const TileCalibDrawerCmt.
Definition: TileCalibDrawerCmt.cxx:24
CaloCondBlobAlgs_fillNoiseFromASCII.author
string author
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:26
TileCalibDrawerCmt::getType
virtual uint16_t getType() const
Returns TileCalibType::CMT.
Definition: TileCalibDrawerCmt.h:26
TileCalibDrawerCmt
Class to store comments in BLOB without any data.
Definition: TileCalibDrawerCmt.h:20
CaloCondBlobAlgs_fillNoiseFromASCII.blob
blob
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:96