ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConditions
TRT_ConditionsAlgs
src
TRTCondStoreText.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef TRTCONDITIONSALGS_TRTCONDSTORETEXT_H
6
#define TRTCONDITIONSALGS_TRTCONDSTORETEXT_H
7
13
14
//
15
16
#include "
AthenaBaseComps/AthAlgorithm.h
"
17
18
#include "
TRT_ConditionsData/RtRelationMultChanContainer.h
"
19
#include "
TRT_ConditionsData/StrawT0MultChanContainer.h
"
20
#include "
TRT_ConditionsData/ExpandedIdentifier.h
"
//for TRTCond::ExpandedIdentifier::STRAW
21
22
#include <string>
23
#include <iosfwd>
//for std::istream fwd declaration
24
25
class
Identifier
;
26
class
TRT_ID
;
27
31
32
class
TRTCondStoreText
:
public
AthAlgorithm
{
33
public
:
34
typedef
TRTCond::RtRelationMultChanContainer
RtRelationContainer
;
35
typedef
TRTCond::StrawT0MultChanContainer
StrawT0Container
;
36
37
39
TRTCondStoreText
(
const
std::string& name, ISvcLocator* pSvcLocator);
40
41
virtual
~TRTCondStoreText
()
override
=
default
;
42
43
virtual
StatusCode
initialize
(
void
)
override
;
44
virtual
StatusCode
execute
(
const
EventContext& ctx)
override
;
45
virtual
StatusCode
finalize
(
void
)
override
;
46
48
virtual
TRTCond::ExpandedIdentifier
trtcondid
(
const
Identifier
&
id
,
int
level =
TRTCond::ExpandedIdentifier::STRAW
)
const
;
49
51
virtual
StatusCode
checkTextFile
(
const
std::string&
file
,
int
& format);
52
virtual
StatusCode
readTextFile
(
const
std::string&
file
,
int
& format);
53
virtual
StatusCode
readTextFile_Format1
(std::istream&);
54
virtual
StatusCode
readTextFile_Format2
(std::istream&);
55
virtual
StatusCode
readTextFile_Format3
(std::istream&);
56
57
58
private
:
59
60
Gaudi::Property<std::string>
m_par_errcontainerkey
{
this
,
"ErrorFolderName"
,
"/TRT/Calib/errors2d"
,
""
};
61
Gaudi::Property<std::string>
m_par_slopecontainerkey
{
this
,
"ErrorSlopeFolderName"
,
"/TRT/Calib/slopes"
,
""
};
62
Gaudi::Property<std::string>
m_par_rtcontainerkey
{
this
,
"RtFolderName"
,
"/TRT/Calib/RT"
,
""
};
63
Gaudi::Property<std::string>
m_par_t0containerkey
{
this
,
"T0FolderName"
,
"/TRT/Calib/T0"
,
""
};
64
Gaudi::Property<std::string>
m_par_caltextfile
{
this
,
"CalibInputFile"
,
"dbconst.txt"
,
""
};
65
Gaudi::Property<std::string>
m_streamer
{
this
,
"StreamTool"
,
"AthenaOutputStreamTool/CondStream1"
,
""
};
66
67
const
TRT_ID
*
m_trtid
{};
68
69
};
70
71
#endif
// TRTCONDITIONSALGS_TRTCONDSTORETEXT_H
72
AthAlgorithm.h
ExpandedIdentifier.h
RtRelationMultChanContainer.h
Class for storing/accessing trt rtrelations with channels 1;95;0c.
StrawT0MultChanContainer.h
AthAlgorithm::AthAlgorithm
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor.
Definition
AthAlgorithm.cxx:10
TRTCondStoreText::readTextFile_Format3
virtual StatusCode readTextFile_Format3(std::istream &)
Definition
TRTCondStoreText.cxx:363
TRTCondStoreText::readTextFile
virtual StatusCode readTextFile(const std::string &file, int &format)
Definition
TRTCondStoreText.cxx:98
TRTCondStoreText::m_par_slopecontainerkey
Gaudi::Property< std::string > m_par_slopecontainerkey
Definition
TRTCondStoreText.h:61
TRTCondStoreText::m_par_errcontainerkey
Gaudi::Property< std::string > m_par_errcontainerkey
Definition
TRTCondStoreText.h:60
TRTCondStoreText::finalize
virtual StatusCode finalize(void) override
Definition
TRTCondStoreText.cxx:63
TRTCondStoreText::TRTCondStoreText
TRTCondStoreText(const std::string &name, ISvcLocator *pSvcLocator)
constructor
Definition
TRTCondStoreText.cxx:25
TRTCondStoreText::m_par_caltextfile
Gaudi::Property< std::string > m_par_caltextfile
Definition
TRTCondStoreText.h:64
TRTCondStoreText::checkTextFile
virtual StatusCode checkTextFile(const std::string &file, int &format)
read calibration from text file into TDS
Definition
TRTCondStoreText.cxx:69
TRTCondStoreText::m_par_rtcontainerkey
Gaudi::Property< std::string > m_par_rtcontainerkey
Definition
TRTCondStoreText.h:62
TRTCondStoreText::initialize
virtual StatusCode initialize(void) override
Definition
TRTCondStoreText.cxx:27
TRTCondStoreText::m_streamer
Gaudi::Property< std::string > m_streamer
Definition
TRTCondStoreText.h:65
TRTCondStoreText::readTextFile_Format2
virtual StatusCode readTextFile_Format2(std::istream &)
Definition
TRTCondStoreText.cxx:241
TRTCondStoreText::m_par_t0containerkey
Gaudi::Property< std::string > m_par_t0containerkey
Definition
TRTCondStoreText.h:63
TRTCondStoreText::m_trtid
const TRT_ID * m_trtid
trt id helper
Definition
TRTCondStoreText.h:67
TRTCondStoreText::StrawT0Container
TRTCond::StrawT0MultChanContainer StrawT0Container
Definition
TRTCondStoreText.h:35
TRTCondStoreText::trtcondid
virtual TRTCond::ExpandedIdentifier trtcondid(const Identifier &id, int level=TRTCond::ExpandedIdentifier::STRAW) const
create an TRTCond::ExpandedIdentifier from a TRTID identifier
Definition
TRTCondStoreText.cxx:512
TRTCondStoreText::readTextFile_Format1
virtual StatusCode readTextFile_Format1(std::istream &)
Definition
TRTCondStoreText.cxx:135
TRTCondStoreText::RtRelationContainer
TRTCond::RtRelationMultChanContainer RtRelationContainer
Definition
TRTCondStoreText.h:34
TRTCondStoreText::~TRTCondStoreText
virtual ~TRTCondStoreText() override=default
TRTCondStoreText::execute
virtual StatusCode execute(const EventContext &ctx) override
Execute method.
Definition
TRTCondStoreText.cxx:57
TRTCond::ExpandedIdentifier
Identifier for TRT detector elements in the conditions code.
Definition
InnerDetector/InDetConditions/TRT_ConditionsData/TRT_ConditionsData/ExpandedIdentifier.h:30
TRTCond::ExpandedIdentifier::STRAW
@ STRAW
Definition
InnerDetector/InDetConditions/TRT_ConditionsData/TRT_ConditionsData/ExpandedIdentifier.h:37
TRTCond::RtRelationMultChanContainer
Multichannel container for RtRelation objects.
Definition
RtRelationMultChanContainer.h:29
TRTCond::StrawT0MultChanContainer
A COOL Multichannel container for StrawT0 objects.
Definition
StrawT0MultChanContainer.h:31
TRT_ID
This is an Identifier helper class for the TRT subdetector.
Definition
TRT_ID.h:84
Identifier
Definition
IdentifierFieldParser.cxx:14
file
TFile * file
Definition
tile_monitor.h:29
Generated on
for ATLAS Offline Software by
1.17.0