 |
ATLAS Offline Software
|
Go to the documentation of this file.
28 const std::string&
name,
61 return StatusCode::FAILURE;
79 if (
sc.isFailure() ) {
86 ATH_MSG_FATAL(
"Length of ToTCorrectionsBarrelXe is not 20." );
90 ATH_MSG_FATAL(
"Length of ToTCorrectionsEndcapXe is not 20." );
94 ATH_MSG_FATAL(
"Length of ToTCorrectionsBarrelAr is not 20." );
98 ATH_MSG_FATAL(
"Length of ToTCorrectionsEndcapAr is not 20." );
104 SmartIF<IGeoModelSvc> geomodel{service(
"GeoModelSvc")};
134 if(driftradius<0.100) {
136 }
else if(driftradius<1.99) {
155 if (drifttimebin-1 > -1)
159 }
else if (drifttimebin+1 < 20) {
191 bool mcdigit = word & (1
u<<31);
201 double drifttime = rawtime-
t0;
210 if(
m_dummy)
return 4./std::sqrt(12.);
213 bool foundslope=
true;
215 double slope =
m_TRTCalDbTool->driftSlope(drifttime,
id,foundslope);
216 bool mcdigit = word & (1
u<<31);
222 ATH_MSG_DEBUG (
"Overlay TRTCalDbTool gave slope: "<<slope<<
", found="<<foundslope);
224 ATH_MSG_DEBUG (
"Overlay TRTCalDbTool2 gives slope: "<<slope<<
", found="<<foundslope);
227 if(founderr && foundslope) {
231 else if ((founderr && !foundslope) || (
mu<0)) {
240 int drifttimebin = (
int)drifttimeinbins;
241 float fracbin = drifttimeinbins-drifttimebin;
252 if (tot_index < 0) tot_index = 0;
253 if (tot_index > 19) tot_index = 19;
312 if(
m_key.compare(6,4,
"Comm")==0) {
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
std::vector< ALFA_RawData_p1 > t0
This is an Identifier helper class for the TRT subdetector. This class is a factory for creating comp...
@ u
Enums for curvilinear frames.
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
TRT_Numerology * getNumerology()
Access Numerological information:---------------------------------------—.
::StatusCode StatusCode
StatusCode definition for legacy code.
This is a helper class to query the version tags from GeoModelSvc and determine the appropriate tag a...
const std::string & tag() const
Return version tag.
unsigned int getNBarrelPhi() const
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)