 |
ATLAS Offline Software
|
Go to the documentation of this file.
33 return StatusCode::SUCCESS;
58 ATH_MSG_WARNING(
"The file name must contain either 'caliboutput' or 'erroroutput' ");
64 ATH_MSG_INFO(
" Spot check of T0 in every 10'th straw_layer in phi_modules 0, 10, 20 and 30");
82 for (
int i = 0;
i <= nStrawsInLayer;
i++)
96 ATH_MSG_INFO(
" Several cases of T0=0. Check the input text file and assign default T0 values instead of zero ");
100 return StatusCode::SUCCESS;
105 return StatusCode::SUCCESS;
114 outfile <<
"# Rtrelation" << std::endl;
116 rtContainer->
getall(rtrelations);
127 outfile <<
"# StrawT0" << std::endl;
129 t0Container->
getall(packedstrawdata);
130 float t0(0), t0err(0);
134 t0Container->
unpack(calid, *
it->second,
t0, t0err);
135 outfile << calid <<
" : " <<
t0 <<
" " << t0err << std::endl;
138 return StatusCode::SUCCESS;
147 outfile <<
"# RtErrors" << std::endl;
161 outfile <<
"# RtSlopes" << std::endl;
163 slopeContainer->
getall(slopes);
165 it != slopes.end(); ++
it)
174 return StatusCode::SUCCESS;
def retrieve(aClass, aKey=None)
JetConstituentVector::iterator iterator
virtual StatusCode writeCalibTextFile(std::ostream &) const
write calibration constants or errors to flat text file
int straw_max(const Identifier &id) const
std::vector< ALFA_RawData_p1 > t0
const_id_iterator straw_layer_end() const
const_id_iterator straw_layer_begin() const
Iterators over full set of straw_layer ids. Straw_layer ids are sorted.
virtual StatusCode initialize(void) override
virtual StatusCode finalize(void) override
Algorithm to read TRT calibration constants from db and dump them to a text file.
TRTCondRead(const std::string &name, ISvcLocator *pSvcLocator)
constructor
virtual StatusCode writeErrorTextFile(std::ostream &) const
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
virtual TRTCond::ExpandedIdentifier trtcondid(const Identifier &id, int level=TRTCond::ExpandedIdentifier::STRAW) const
create an TRTCond::ExpandedIdentifier from a TRTID identifier
int straw(const Identifier &id) const
static void writeToFile(std::ostream &os, const RtRelation &rt)
write method
(Non-const) Iterator class for DataVector/DataList.
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< std::string > m_par_caloutputfile
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
int straw_layer(const Identifier &id) const
void unpack(const ExpandedIdentifier &id, const StrawT0 &sd, float &t0, float &t0err) const
public method to unpack a StrawT0 object
int layer_or_wheel(const Identifier &id) const
int phi_module(const Identifier &id) const
virtual StatusCode execute(void) override
ToolHandle< ITRT_CalDbTool > m_TRTCalDbTool
void getall(typename DaughterContainer::FlatContainer &entries) const
get a flat vector with all values.
#define ATH_MSG_WARNING(x)
RtRelationLayerContainer::FlatContainer FlatContainer
typedef
Identifier for TRT detector elements in the conditions code.
StrawT0ContainerTemplate< ExpandedIdentifier::LAYERWHEEL >::FlatContainer FlatContainer
typedefs
Identifier straw_id(int barrel_ec, int phi_module, int layer_or_wheel, int straw_layer, int straw) const
Three ways of getting id for a single straw:
const TRT_ID * m_trtid
trt id helper