ATLAS Offline Software
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
InDet::TRT_DriftCircleTool Class Referencefinal

#include <TRT_DriftCircleTool.h>

Inheritance diagram for InDet::TRT_DriftCircleTool:
Collaboration diagram for InDet::TRT_DriftCircleTool:

Public Member Functions

 TRT_DriftCircleTool (const std::string &, const std::string &, const IInterface *)
 constructor More...
 
virtual ~TRT_DriftCircleTool ()
 destructor More...
 
virtual StatusCode initialize () override
 initialize needed services More...
 
virtual StatusCode finalize () override
 finalize More...
 
virtual InDet::TRT_DriftCircleCollectionconvert (int, const InDetRawDataCollection< TRT_RDORawData > *, const EventContext &ctx, DataPool< TRT_DriftCircle > *dataItemsPool, const bool CTBBadChannels) const override
 make the conversion from RDOs to DriftCircles More...
 
virtual bool passValidityGate (unsigned int word, float lowGate, float highGate, float t0) const override
 test validity gate for corrected drift times More...
 
ServiceHandle< StoreGateSvc > & evtStore ()
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & evtStore () const
 The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc. More...
 
const ServiceHandle< StoreGateSvc > & detStore () const
 The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc. More...
 
virtual StatusCode sysInitialize () override
 Perform system initialization for an algorithm. More...
 
virtual StatusCode sysStart () override
 Handle START transition. More...
 
virtual std::vector< Gaudi::DataHandle * > inputHandles () const override
 Return this algorithm's input handles. More...
 
virtual std::vector< Gaudi::DataHandle * > outputHandles () const override
 Return this algorithm's output handles. More...
 
Gaudi::Details::PropertyBase & declareProperty (Gaudi::Property< T > &t)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKey &hndl, const std::string &doc, const SG::VarHandleKeyType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleBase &hndl, const std::string &doc, const SG::VarHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, SG::VarHandleKeyArray &hndArr, const std::string &doc, const SG::VarHandleKeyArrayType &)
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc, const SG::NotHandleType &)
 Declare a new Gaudi property. More...
 
Gaudi::Details::PropertyBase * declareProperty (const std::string &name, T &property, const std::string &doc="none")
 Declare a new Gaudi property. More...
 
void updateVHKA (Gaudi::Details::PropertyBase &)
 
MsgStream & msg () const
 
MsgStream & msg (const MSG::Level lvl) const
 
bool msgLvl (const MSG::Level lvl) const
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 Return method for the InterfaceID. More...
 

Protected Member Functions

void renounceArray (SG::VarHandleKeyArray &handlesArray)
 remove all handles from I/O resolution More...
 
std::enable_if_t< std::is_void_v< std::result_of_t< decltype(&T::renounce)(T)> > &&!std::is_base_of_v< SG::VarHandleKeyArray, T > &&std::is_base_of_v< Gaudi::DataHandle, T >, void > renounce (T &h)
 
void extraDeps_update_handler (Gaudi::Details::PropertyBase &ExtraDeps)
 Add StoreName to extra input/output deps as needed. More...
 

Private Types

typedef ServiceHandle< StoreGateSvcStoreGateSvc_t
 

Private Member Functions

Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
 specialization for handling Gaudi::Property<SG::VarHandleKey> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleKeyArrayType &)
 specialization for handling Gaudi::Property<SG::VarHandleKeyArray> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &hndl, const SG::VarHandleType &)
 specialization for handling Gaudi::Property<SG::VarHandleBase> More...
 
Gaudi::Details::PropertyBase & declareGaudiProperty (Gaudi::Property< T > &t, const SG::NotHandleType &)
 specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray> More...
 

Private Attributes

SG::ReadCondHandleKey< InDetDD::TRT_DetElementContainerm_trtDetEleContKey {this, "TRTDetEleContKey", "TRT_DetElementContainer", "Key of TRT_DetElementContainer for TRT"}
 
SG::ReadCondHandleKey< LuminosityCondDatam_lumiDataKey {this, "LumiDataKey", "", "SG key for luminosity data"}
 
ToolHandle< ITRT_DriftFunctionToolm_driftFunctionTool
 DriftFunctionTool. More...
 
ToolHandle< ITRT_StrawStatusSummaryToolm_ConditionsSummary
 The ConditionsSummaryTool. More...
 
bool m_useConditionsStatus
 Shall the ConditionsSummaryTool be used? More...
 
bool m_useConditionsHTStatus
 Shall the ConditionsSummaryTool be used for HT to find argon straws? More...
 
bool m_useToTCorrection
 Shall the Time over Threshold correction be used? More...
 
bool m_useHTCorrection
 Shall the High Threshold correction be used? More...
 
const TRT_IDm_trtid
 ID helper. More...
 
bool m_reject_if_first_bit
 If true, reject this DC if first bit high. More...
 
bool m_reject_if_first_bit_argon
 If true, reject this DC if first bit high. More...
 
float m_min_trailing_edge
 Min raw trailing edge position to not reject this DC. More...
 
float m_min_trailing_edge_argon
 Min raw trailing edge position to not reject this DC. More...
 
float m_max_drift_time
 Max allowed raw drift time to not reject this DC. More...
 
float m_max_drift_time_argon
 Max allowed raw drift time to not reject this DC. More...
 
bool m_out_of_time_supression
 Turn this on to turn on the OOT options! More...
 
bool m_out_of_time_supression_argon
 Turn this on to turn on the OOT options! More...
 
bool m_validity_gate_suppression
 
bool m_validity_gate_suppression_argon
 Turn on suppression using validity gates. More...
 
float m_low_gate
 Turn on suppression using validity gates. More...
 
float m_low_gate_argon
 Low value for gate. More...
 
float m_high_gate
 Low value for gate. More...
 
float m_high_gate_argon
 High value for gate. More...
 
StoreGateSvc_t m_evtStore
 Pointer to StoreGate (event store by default) More...
 
StoreGateSvc_t m_detStore
 Pointer to StoreGate (detector store by default) More...
 
std::vector< SG::VarHandleKeyArray * > m_vhka
 
bool m_varHandleArraysDeclared
 

Detailed Description

Class for converting a RDO collection to a DriftCircle collection Performs trigger phase corrections in case of CTB data

Definition at line 45 of file TRT_DriftCircleTool.h.

Member Typedef Documentation

◆ StoreGateSvc_t

typedef ServiceHandle<StoreGateSvc> AthCommonDataStore< AthCommonMsg< AlgTool > >::StoreGateSvc_t
privateinherited

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ TRT_DriftCircleTool()

InDet::TRT_DriftCircleTool::TRT_DriftCircleTool ( const std::string &  t,
const std::string &  n,
const IInterface *  p 
)

constructor

Definition at line 36 of file TRT_DriftCircleTool.cxx.

38  :
39  AthAlgTool(t,n,p),
40  m_driftFunctionTool("TRT_DriftFunctionTool"),
41  m_ConditionsSummary("TRT_StrawStatusSummaryTool",this),
42  m_useConditionsStatus(false),
44  m_useToTCorrection(false),
45  m_useHTCorrection(false),
46  m_trtid(nullptr),
47  m_reject_if_first_bit(false),
57  m_low_gate(18.0*CLHEP::ns),
59  m_high_gate(38.0*CLHEP::ns),
61 {
62  declareInterface<ITRT_DriftCircleTool>(this);
63  declareProperty("TRTDriftFunctionTool", m_driftFunctionTool);
64  declareProperty("ConditionsSummaryTool",m_ConditionsSummary);
65  declareProperty("UseConditionsStatus",m_useConditionsStatus);
66  declareProperty("UseConditionsHTStatus",m_useConditionsHTStatus);
67  declareProperty("useDriftTimeToTCorrection",m_useToTCorrection);
68  declareProperty("useDriftTimeHTCorrection",m_useHTCorrection);
69  declareProperty("RejectIfFirstBit",m_reject_if_first_bit);
70  declareProperty("RejectIfFirstBitArgon",m_reject_if_first_bit_argon);
71  declareProperty("MinTrailingEdge",m_min_trailing_edge);
72  declareProperty("MinTrailingEdgeArgon",m_min_trailing_edge_argon);
73  declareProperty("MaxDriftTime",m_max_drift_time);
74  declareProperty("MaxDriftTimeArgon",m_max_drift_time_argon);
75  declareProperty("SimpleOutOfTimePileupSupression",m_out_of_time_supression);
76  declareProperty("SimpleOutOfTimePileupSupressionArgon",m_out_of_time_supression_argon);
77  declareProperty("ValidityGateSuppression",m_validity_gate_suppression);
78  declareProperty("ValidityGateSuppressionArgon",m_validity_gate_suppression_argon);
79  declareProperty("LowGate",m_low_gate);
80  declareProperty("LowGateArgon",m_low_gate_argon);
81  declareProperty("HighGate",m_high_gate);
82  declareProperty("HighGateArgon",m_high_gate_argon);
83 }

◆ ~TRT_DriftCircleTool()

InDet::TRT_DriftCircleTool::~TRT_DriftCircleTool ( )
virtualdefault

destructor

Member Function Documentation

◆ convert()

InDet::TRT_DriftCircleCollection * InDet::TRT_DriftCircleTool::convert ( int  Mode,
const InDetRawDataCollection< TRT_RDORawData > *  rdo,
const EventContext &  ctx,
DataPool< TRT_DriftCircle > *  dataItemsPool,
const bool  CTBBadChannels 
) const
overridevirtual

make the conversion from RDOs to DriftCircles

Implements InDet::ITRT_DriftCircleTool.

Definition at line 170 of file TRT_DriftCircleTool.cxx.

176 {
177 
178  //Initialise a new TRT_DriftCircleCollection
179  InDet::TRT_DriftCircleCollection* rio = nullptr;
180 
181  if (!rdo) {
182  ATH_MSG_ERROR("empty TRT raw data collection");
183  return rio;
184  }
185 
187  const InDetDD::TRT_DetElementCollection* elements(trtDetEleHandle->getElements());
188  if (not trtDetEleHandle.isValid() or elements==nullptr) {
189  ATH_MSG_FATAL(m_trtDetEleContKey.fullKey() << " is not available.");
190  return rio;
191  }
192 
193  float mu = 0;
194  if (!m_lumiDataKey.empty()) {
196  mu = lumiData->lbAverageInteractionsPerCrossing();
197  }
198 
200 
201  //Get the BaseElement and initialize the RIO collection
202  IdentifierHash IHc = rdo ->identifyHash();
203  const InDetDD::TRT_BaseElement* pE = elements->getDetectorElement(IHc);
204  rio = new InDet::TRT_DriftCircleCollection(IHc);
205  rio->setIdentifier(rdo->identify());
206  rio->reserve( std::distance(rb, re) );
207  //DataPool will own them if there.
208  if (dataItemsPool) {
209  rio->clear(SG::VIEW_ELEMENTS);
210  }
211 
212  bool isArgonStraw = false;
213  bool isGasSet = false;
214 
215  // Loop through all RDOs in the collection
216  //
217  for(r=rb; r!=re; ++r) {
218 
219  // raw data
220  Identifier id = (*r)->identify();
221  int LTbin = (*r)->driftTimeBin();
222  bool isOK =true;
223  double t0 =0.;
224  double rawTime = m_driftFunctionTool->rawTime(LTbin);
225  unsigned int word = (*r)->getWord();
226 
227  // Gas status - assumed same for all rdo's in the collection
228  if (m_useConditionsHTStatus && !isGasSet) {
229  if (m_ConditionsSummary->getStatusHT(id, ctx) == TRTCond::StrawStatus::Argon ||
230  m_ConditionsSummary->getStatusHT(id, ctx) == TRTCond::StrawStatus::Dead) {
231  isArgonStraw = true;
232  }
233  isGasSet = true;
234  }
235 
236 
237  // ToT and HT Corrections
238  if (m_useToTCorrection) {
239  rawTime -= m_driftFunctionTool->driftTimeToTCorrection((*r)->timeOverThreshold(), id, isArgonStraw);
240  }
241  if (m_useHTCorrection && (*r)->highLevel()) {
242  rawTime += m_driftFunctionTool->driftTimeHTCorrection(id, isArgonStraw);
243  }
244 
245  // calibrated data
246  double radius = 0.;
247  double driftTime = 0.;
248  if( LTbin==0 || LTbin==24) {
249  isOK=false;
250  } else {
251  bool dummy=false;
252  radius = m_driftFunctionTool->driftRadius(rawTime,id,t0,dummy,word);
253  driftTime = rawTime-t0;
254  }
255  if(!isOK) word &= 0xF7FFFFFF;
256  else word |= 0x08000000;
257 
258  // test validity gate
259  rawTime = (0.5+LTbin)*3.125; //redefine rawTime in order to keep Tier0 frozen
260  if (!isArgonStraw) {
262  // reject if first bit true
263  if ((word & 0x02000000) && m_reject_if_first_bit) continue;
264  // or if trailing edge (which is drift time + ToT) is less than min trailing edge
265  if ((rawTime + (*r)->timeOverThreshold()) < m_min_trailing_edge) continue;
266  // if leading edge is too large
267  if (rawTime > m_max_drift_time) continue;
268  }
269 
271  if(!passValidityGate(word, m_low_gate, m_high_gate, t0)) continue;
272  }
273  } else { // is argon straw, in case we want to do anything different for argon straws
275  // reject if first bit true
276  if ((word & 0x02000000) && m_reject_if_first_bit_argon) continue;
277  // or if trailing edge (which is drift time + ToT) is less than min trailing edge
278  if ((rawTime + (*r)->timeOverThreshold()) < m_min_trailing_edge_argon) continue;
279  // or if leading edge is too large
280  if (rawTime > m_max_drift_time_argon) continue;
281  }
282 
285  continue;
286  }
287  }
288 
289  // Require good straw status
290  if (m_useConditionsStatus && getTRTBadChannel) {
291  if (m_ConditionsSummary->getStatus(id,ctx) != TRTCond::StrawStatus::Good)
292  continue;
293  }
294 
295  // Error on Drift Radius
296  double error = 0;
297  // LE out of range. Make tube hit.
298  if (!isOK || Mode > 1) {
299  ATH_MSG_VERBOSE(" Making tube hit.");
300  radius = 0.;
301  error = 4. / sqrt(12.);
302  } else {
303  error =
304  m_driftFunctionTool->errorOfDriftRadius(driftTime, id, mu, word);
305  }
306 
307  // Fill the RIO collection with TRT_DriftCircle's
308  auto errmat = Amg::MatrixX(1,1);
309  errmat(0,0) = error*error;
310  Amg::Vector2D loc(radius, 0.);
311 
312  InDet::TRT_DriftCircle* tdc = nullptr;
313  //
314  if (dataItemsPool) {
315  tdc = dataItemsPool->nextElementPtr();
316  (*tdc) = InDet::TRT_DriftCircle(id, loc, std::move(errmat), pE, word);
317  } else {
318  tdc = new InDet::TRT_DriftCircle(id, loc, std::move(errmat), pE, word);
319  }
320  //
321  if (tdc) {
322  tdc->setHashAndIndex(rio->identifyHash(), rio->size());
323  rio->push_back(tdc);
324 
326  " accept hit id "
327  << m_trtid->barrel_ec(id) << " " << m_trtid->layer_or_wheel(id) << " "
328  << m_trtid->phi_module(id) << " " << m_trtid->straw_layer(id) << " "
329  << m_trtid->straw(id) << " data word " << MSG::hex << tdc->getWord()
330  << MSG::dec << " data word raw " << MSG::hex << (*r)->getWord()
331  << MSG::dec << " radius " << radius << " err " << error);
332 
333  ATH_MSG_VERBOSE(" driftTime " << tdc->rawDriftTime() << " t0 " << t0
334  << " raw time " << (0.5 + LTbin) * 3.125
335  << " ToT " << tdc->timeOverThreshold()
336  << " OK? " << isOK << " Noise? "
337  << tdc->isNoise() << " isArgon? "
338  << isArgonStraw);
339  } else {
340  ATH_MSG_ERROR("Could not create InDet::TRT_DriftCircle object !");
341  }
342  } // end loop over rdo's in the rdo collection
343 
344  return rio;
345 }

◆ declareGaudiProperty() [1/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleKeyArrayType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKeyArray>

Definition at line 170 of file AthCommonDataStore.h.

172  {
173  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
174  hndl.value(),
175  hndl.documentation());
176 
177  }

◆ declareGaudiProperty() [2/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleKeyType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleKey>

Definition at line 156 of file AthCommonDataStore.h.

158  {
159  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
160  hndl.value(),
161  hndl.documentation());
162 
163  }

◆ declareGaudiProperty() [3/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T > &  hndl,
const SG::VarHandleType  
)
inlineprivateinherited

specialization for handling Gaudi::Property<SG::VarHandleBase>

Definition at line 184 of file AthCommonDataStore.h.

186  {
187  return *AthCommonDataStore<PBASE>::declareProperty(hndl.name(),
188  hndl.value(),
189  hndl.documentation());
190  }

◆ declareGaudiProperty() [4/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareGaudiProperty ( Gaudi::Property< T > &  t,
const SG::NotHandleType  
)
inlineprivateinherited

specialization for handling everything that's not a Gaudi::Property<SG::VarHandleKey> or a <SG::VarHandleKeyArray>

Definition at line 199 of file AthCommonDataStore.h.

200  {
201  return PBASE::declareProperty(t);
202  }

◆ declareProperty() [1/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
SG::VarHandleBase hndl,
const std::string &  doc,
const SG::VarHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation string for the property.

This is the version for types that derive from SG::VarHandleBase. The property value object is put on the input and output lists as appropriate; then we forward to the base class.

Definition at line 245 of file AthCommonDataStore.h.

249  {
250  this->declare(hndl.vhKey());
251  hndl.vhKey().setOwner(this);
252 
253  return PBASE::declareProperty(name,hndl,doc);
254  }

◆ declareProperty() [2/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
SG::VarHandleKey hndl,
const std::string &  doc,
const SG::VarHandleKeyType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
hndlObject holding the property value.
docDocumentation string for the property.

This is the version for types that derive from SG::VarHandleKey. The property value object is put on the input and output lists as appropriate; then we forward to the base class.

Definition at line 221 of file AthCommonDataStore.h.

225  {
226  this->declare(hndl);
227  hndl.setOwner(this);
228 
229  return PBASE::declareProperty(name,hndl,doc);
230  }

◆ declareProperty() [3/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
SG::VarHandleKeyArray hndArr,
const std::string &  doc,
const SG::VarHandleKeyArrayType  
)
inlineinherited

Definition at line 259 of file AthCommonDataStore.h.

263  {
264 
265  // std::ostringstream ost;
266  // ost << Algorithm::name() << " VHKA declareProp: " << name
267  // << " size: " << hndArr.keys().size()
268  // << " mode: " << hndArr.mode()
269  // << " vhka size: " << m_vhka.size()
270  // << "\n";
271  // debug() << ost.str() << endmsg;
272 
273  hndArr.setOwner(this);
274  m_vhka.push_back(&hndArr);
275 
276  Gaudi::Details::PropertyBase* p = PBASE::declareProperty(name, hndArr, doc);
277  if (p != 0) {
278  p->declareUpdateHandler(&AthCommonDataStore<PBASE>::updateVHKA, this);
279  } else {
280  ATH_MSG_ERROR("unable to call declareProperty on VarHandleKeyArray "
281  << name);
282  }
283 
284  return p;
285 
286  }

◆ declareProperty() [4/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc,
const SG::NotHandleType  
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation string for the property.

This is the generic version, for types that do not derive from SG::VarHandleKey. It just forwards to the base class version of declareProperty.

Definition at line 333 of file AthCommonDataStore.h.

337  {
338  return PBASE::declareProperty(name, property, doc);
339  }

◆ declareProperty() [5/6]

Gaudi::Details::PropertyBase* AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( const std::string &  name,
T &  property,
const std::string &  doc = "none" 
)
inlineinherited

Declare a new Gaudi property.

Parameters
nameName of the property.
propertyObject holding the property value.
docDocumentation string for the property.

This dispatches to either the generic declareProperty or the one for VarHandle/Key/KeyArray.

Definition at line 352 of file AthCommonDataStore.h.

355  {
356  typedef typename SG::HandleClassifier<T>::type htype;
357  return declareProperty (name, property, doc, htype());
358  }

◆ declareProperty() [6/6]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty ( Gaudi::Property< T > &  t)
inlineinherited

Definition at line 145 of file AthCommonDataStore.h.

145  {
146  typedef typename SG::HandleClassifier<T>::type htype;
148  }

◆ detStore()

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< AlgTool > >::detStore ( ) const
inlineinherited

The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 95 of file AthCommonDataStore.h.

95 { return m_detStore; }

◆ evtStore() [1/2]

ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< AlgTool > >::evtStore ( )
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 85 of file AthCommonDataStore.h.

85 { return m_evtStore; }

◆ evtStore() [2/2]

const ServiceHandle<StoreGateSvc>& AthCommonDataStore< AthCommonMsg< AlgTool > >::evtStore ( ) const
inlineinherited

The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.

Definition at line 90 of file AthCommonDataStore.h.

90 { return m_evtStore; }

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::extraDeps_update_handler ( Gaudi::Details::PropertyBase &  ExtraDeps)
protectedinherited

Add StoreName to extra input/output deps as needed.

use the logic of the VarHandleKey to parse the DataObjID keys supplied via the ExtraInputs and ExtraOuputs Properties to add the StoreName if it's not explicitly given

◆ finalize()

StatusCode InDet::TRT_DriftCircleTool::finalize ( )
overridevirtual

finalize

Definition at line 138 of file TRT_DriftCircleTool.cxx.

139 {
140  StatusCode sc = AthAlgTool::finalize(); return sc;
141 }

◆ initialize()

StatusCode InDet::TRT_DriftCircleTool::initialize ( )
overridevirtual

initialize needed services

Definition at line 95 of file TRT_DriftCircleTool.cxx.

96 {
97 
99 
100  // Get DriftFunction tool servise
101  //
102  if ( m_driftFunctionTool.retrieve().isFailure() ) {
103  ATH_MSG_FATAL( m_driftFunctionTool.propertyName() << ": Failed to retrieve tool " << m_driftFunctionTool.type() );
104  return StatusCode::FAILURE;
105  }
106  ATH_MSG_DEBUG( m_driftFunctionTool.propertyName() << ": Retrieved tool " << m_driftFunctionTool.type() );
107 
109  if ( m_ConditionsSummary.retrieve().isFailure() ) {
110  ATH_MSG_FATAL( "Failed to retrieve "<< m_ConditionsSummary);
111  return StatusCode::FAILURE;
112  }
113  ATH_MSG_DEBUG( "Retrieved tool " << m_ConditionsSummary);
114  }
115 
116  // Get TRT ID helper
117  sc = detStore()->retrieve(m_trtid,"TRT_ID");
118  if ( sc.isFailure() ) {
119  ATH_MSG_FATAL( "Could not retrieve TRT ID helper." );
120  return sc;
121  }
122 
124  if (m_lumiDataKey.key().empty()) {
125  ATH_MSG_DEBUG("Luminosity conditions data key not set. No mu correction." );
126  }
127 
128  // Initialize readCondHandle key
130 
131  return sc;
132 }

◆ inputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< AlgTool > >::inputHandles ( ) const
overridevirtualinherited

Return this algorithm's input handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ interfaceID()

static const InterfaceID& InDet::ITRT_DriftCircleTool::interfaceID ( )
inlinestaticinherited

Return method for the InterfaceID.

Definition at line 44 of file ITRT_DriftCircleTool.h.

44 { return IID_ITRT_DriftCircleTool; };

◆ msg() [1/2]

MsgStream& AthCommonMsg< AlgTool >::msg ( ) const
inlineinherited

Definition at line 24 of file AthCommonMsg.h.

24  {
25  return this->msgStream();
26  }

◆ msg() [2/2]

MsgStream& AthCommonMsg< AlgTool >::msg ( const MSG::Level  lvl) const
inlineinherited

Definition at line 27 of file AthCommonMsg.h.

27  {
28  return this->msgStream(lvl);
29  }

◆ msgLvl()

bool AthCommonMsg< AlgTool >::msgLvl ( const MSG::Level  lvl) const
inlineinherited

Definition at line 30 of file AthCommonMsg.h.

30  {
31  return this->msgLevel(lvl);
32  }

◆ outputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< AlgTool > >::outputHandles ( ) const
overridevirtualinherited

Return this algorithm's output handles.

We override this to include handle instances from key arrays if they have not yet been declared. See comments on updateVHKA.

◆ passValidityGate()

bool InDet::TRT_DriftCircleTool::passValidityGate ( unsigned int  word,
float  lowGate,
float  highGate,
float  t0 
) const
overridevirtual

test validity gate for corrected drift times

Implements InDet::ITRT_DriftCircleTool.

Definition at line 146 of file TRT_DriftCircleTool.cxx.

147 {
148  bool foundInterval = false;
149  unsigned mask = 0x02000000;
150  int i = 0;
151  while ( !foundInterval && (i < 24) ) {
152  if (word & mask) {
153  float thisTime = ((0.5+i)*3.125)-t0;
154  if (thisTime >= lowGate && thisTime <= highGate) foundInterval = true;
155  }
156  mask >>= 1;
157  if (i == 7 || i == 15)
158  mask >>= 1;
159  i++;
160  }
161  return foundInterval;
162 }

◆ renounce()

std::enable_if_t<std::is_void_v<std::result_of_t<decltype(&T::renounce)(T)> > && !std::is_base_of_v<SG::VarHandleKeyArray, T> && std::is_base_of_v<Gaudi::DataHandle, T>, void> AthCommonDataStore< AthCommonMsg< AlgTool > >::renounce ( T &  h)
inlineprotectedinherited

Definition at line 380 of file AthCommonDataStore.h.

381  {
382  h.renounce();
383  PBASE::renounce (h);
384  }

◆ renounceArray()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::renounceArray ( SG::VarHandleKeyArray handlesArray)
inlineprotectedinherited

remove all handles from I/O resolution

Definition at line 364 of file AthCommonDataStore.h.

364  {
365  handlesArray.renounce();
366  }

◆ sysInitialize()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysInitialize ( )
overridevirtualinherited

Perform system initialization for an algorithm.

We override this to declare all the elements of handle key arrays at the end of initialization. See comments on updateVHKA.

Reimplemented in DerivationFramework::CfAthAlgTool, AthCheckedComponent< AthAlgTool >, AthCheckedComponent<::AthAlgTool >, and asg::AsgMetadataTool.

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< AlgTool > >::sysStart ( )
overridevirtualinherited

Handle START transition.

We override this in order to make sure that conditions handle keys can cache a pointer to the conditions container.

◆ updateVHKA()

void AthCommonDataStore< AthCommonMsg< AlgTool > >::updateVHKA ( Gaudi::Details::PropertyBase &  )
inlineinherited

Definition at line 308 of file AthCommonDataStore.h.

308  {
309  // debug() << "updateVHKA for property " << p.name() << " " << p.toString()
310  // << " size: " << m_vhka.size() << endmsg;
311  for (auto &a : m_vhka) {
312  std::vector<SG::VarHandleKey*> keys = a->keys();
313  for (auto k : keys) {
314  k->setOwner(this);
315  }
316  }
317  }

Member Data Documentation

◆ m_ConditionsSummary

ToolHandle<ITRT_StrawStatusSummaryTool> InDet::TRT_DriftCircleTool::m_ConditionsSummary
private

The ConditionsSummaryTool.

Definition at line 85 of file TRT_DriftCircleTool.h.

◆ m_detStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
privateinherited

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_driftFunctionTool

ToolHandle< ITRT_DriftFunctionTool > InDet::TRT_DriftCircleTool::m_driftFunctionTool
private

DriftFunctionTool.

Definition at line 84 of file TRT_DriftCircleTool.h.

◆ m_evtStore

StoreGateSvc_t AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
privateinherited

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_high_gate

float InDet::TRT_DriftCircleTool::m_high_gate
private

Low value for gate.

Definition at line 104 of file TRT_DriftCircleTool.h.

◆ m_high_gate_argon

float InDet::TRT_DriftCircleTool::m_high_gate_argon
private

High value for gate.

Definition at line 105 of file TRT_DriftCircleTool.h.

◆ m_low_gate

float InDet::TRT_DriftCircleTool::m_low_gate
private

Turn on suppression using validity gates.

Definition at line 102 of file TRT_DriftCircleTool.h.

◆ m_low_gate_argon

float InDet::TRT_DriftCircleTool::m_low_gate_argon
private

Low value for gate.

Definition at line 103 of file TRT_DriftCircleTool.h.

◆ m_lumiDataKey

SG::ReadCondHandleKey<LuminosityCondData> InDet::TRT_DriftCircleTool::m_lumiDataKey {this, "LumiDataKey", "", "SG key for luminosity data"}
private

Definition at line 81 of file TRT_DriftCircleTool.h.

◆ m_max_drift_time

float InDet::TRT_DriftCircleTool::m_max_drift_time
private

Max allowed raw drift time to not reject this DC.

Definition at line 96 of file TRT_DriftCircleTool.h.

◆ m_max_drift_time_argon

float InDet::TRT_DriftCircleTool::m_max_drift_time_argon
private

Max allowed raw drift time to not reject this DC.

Definition at line 97 of file TRT_DriftCircleTool.h.

◆ m_min_trailing_edge

float InDet::TRT_DriftCircleTool::m_min_trailing_edge
private

Min raw trailing edge position to not reject this DC.

Definition at line 94 of file TRT_DriftCircleTool.h.

◆ m_min_trailing_edge_argon

float InDet::TRT_DriftCircleTool::m_min_trailing_edge_argon
private

Min raw trailing edge position to not reject this DC.

Definition at line 95 of file TRT_DriftCircleTool.h.

◆ m_out_of_time_supression

bool InDet::TRT_DriftCircleTool::m_out_of_time_supression
private

Turn this on to turn on the OOT options!

Definition at line 98 of file TRT_DriftCircleTool.h.

◆ m_out_of_time_supression_argon

bool InDet::TRT_DriftCircleTool::m_out_of_time_supression_argon
private

Turn this on to turn on the OOT options!

Definition at line 99 of file TRT_DriftCircleTool.h.

◆ m_reject_if_first_bit

bool InDet::TRT_DriftCircleTool::m_reject_if_first_bit
private

If true, reject this DC if first bit high.

Definition at line 92 of file TRT_DriftCircleTool.h.

◆ m_reject_if_first_bit_argon

bool InDet::TRT_DriftCircleTool::m_reject_if_first_bit_argon
private

If true, reject this DC if first bit high.

Definition at line 93 of file TRT_DriftCircleTool.h.

◆ m_trtDetEleContKey

SG::ReadCondHandleKey<InDetDD::TRT_DetElementContainer> InDet::TRT_DriftCircleTool::m_trtDetEleContKey {this, "TRTDetEleContKey", "TRT_DetElementContainer", "Key of TRT_DetElementContainer for TRT"}
private

Definition at line 80 of file TRT_DriftCircleTool.h.

◆ m_trtid

const TRT_ID* InDet::TRT_DriftCircleTool::m_trtid
private

ID helper.

Definition at line 91 of file TRT_DriftCircleTool.h.

◆ m_useConditionsHTStatus

bool InDet::TRT_DriftCircleTool::m_useConditionsHTStatus
private

Shall the ConditionsSummaryTool be used for HT to find argon straws?

Definition at line 88 of file TRT_DriftCircleTool.h.

◆ m_useConditionsStatus

bool InDet::TRT_DriftCircleTool::m_useConditionsStatus
private

Shall the ConditionsSummaryTool be used?

Definition at line 87 of file TRT_DriftCircleTool.h.

◆ m_useHTCorrection

bool InDet::TRT_DriftCircleTool::m_useHTCorrection
private

Shall the High Threshold correction be used?

Definition at line 90 of file TRT_DriftCircleTool.h.

◆ m_useToTCorrection

bool InDet::TRT_DriftCircleTool::m_useToTCorrection
private

Shall the Time over Threshold correction be used?

Definition at line 89 of file TRT_DriftCircleTool.h.

◆ m_validity_gate_suppression

bool InDet::TRT_DriftCircleTool::m_validity_gate_suppression
private

Definition at line 100 of file TRT_DriftCircleTool.h.

◆ m_validity_gate_suppression_argon

bool InDet::TRT_DriftCircleTool::m_validity_gate_suppression_argon
private

Turn on suppression using validity gates.

Definition at line 101 of file TRT_DriftCircleTool.h.

◆ m_varHandleArraysDeclared

bool AthCommonDataStore< AthCommonMsg< AlgTool > >::m_varHandleArraysDeclared
privateinherited

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vhka

std::vector<SG::VarHandleKeyArray*> AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
privateinherited

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files:
InDet::TRT_DriftCircleTool::passValidityGate
virtual bool passValidityGate(unsigned int word, float lowGate, float highGate, float t0) const override
test validity gate for corrected drift times
Definition: TRT_DriftCircleTool.cxx:146
beamspotman.r
def r
Definition: beamspotman.py:676
python.tests.PyTestsLib.finalize
def finalize(self)
_info( "content of StoreGate..." ) self.sg.dump()
Definition: PyTestsLib.py:53
ATH_MSG_FATAL
#define ATH_MSG_FATAL(x)
Definition: AthMsgStreamMacros.h:34
DataModel_detail::const_iterator
Const iterator class for DataVector/DataList.
Definition: DVLIterator.h:82
Amg::MatrixX
Eigen::Matrix< double, Eigen::Dynamic, Eigen::Dynamic > MatrixX
Dynamic Matrix - dynamic allocation.
Definition: EventPrimitives.h:29
InDet::TRT_DriftCircleTool::m_useToTCorrection
bool m_useToTCorrection
Shall the Time over Threshold correction be used?
Definition: TRT_DriftCircleTool.h:89
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
SG::ReadCondHandle
Definition: ReadCondHandle.h:44
InDet::TRT_DriftCircleTool::m_trtDetEleContKey
SG::ReadCondHandleKey< InDetDD::TRT_DetElementContainer > m_trtDetEleContKey
Definition: TRT_DriftCircleTool.h:80
WriteCellNoiseToCool.rb
rb
Definition: WriteCellNoiseToCool.py:229
SG::VIEW_ELEMENTS
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
Definition: OwnershipPolicy.h:18
Amg::Vector2D
Eigen::Matrix< double, 2, 1 > Vector2D
Definition: GeoPrimitives.h:48
AthCommonDataStore< AthCommonMsg< AlgTool > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
InDet::TRT_DriftCircleTool::m_trtid
const TRT_ID * m_trtid
ID helper.
Definition: TRT_DriftCircleTool.h:91
InDet::TRT_DriftCircle::timeOverThreshold
double timeOverThreshold() const
returns Time over threshold in ns
initialize
void initialize()
Definition: run_EoverP.cxx:894
ALFA_EventTPCnv_Dict::t0
std::vector< ALFA_RawData_p1 > t0
Definition: ALFA_EventTPCnvDict.h:42
InDetRawDataCollection::identify
virtual Identifier identify() const override final
InDet::TRT_DriftCircleTool::m_useConditionsStatus
bool m_useConditionsStatus
Shall the ConditionsSummaryTool be used?
Definition: TRT_DriftCircleTool.h:87
InDet::TRT_DriftCircleTool::m_ConditionsSummary
ToolHandle< ITRT_StrawStatusSummaryTool > m_ConditionsSummary
The ConditionsSummaryTool.
Definition: TRT_DriftCircleTool.h:85
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
InDet::TRT_DriftCircleTool::m_out_of_time_supression
bool m_out_of_time_supression
Turn this on to turn on the OOT options!
Definition: TRT_DriftCircleTool.h:98
InDet::TRT_DriftCircleTool::m_useHTCorrection
bool m_useHTCorrection
Shall the High Threshold correction be used?
Definition: TRT_DriftCircleTool.h:90
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
ATH_MSG_VERBOSE
#define ATH_MSG_VERBOSE(x)
Definition: AthMsgStreamMacros.h:28
SG::VarHandleKey::key
const std::string & key() const
Return the StoreGate ID for the referenced object.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:141
SG::VarHandleKey::empty
bool empty() const
Test if the key is blank.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:150
TRTCond::StrawStatus::Dead
@ Dead
Definition: StrawStatus.h:18
InDet::TRT_DriftCircleTool::m_high_gate_argon
float m_high_gate_argon
High value for gate.
Definition: TRT_DriftCircleTool.h:105
InDet::TRT_DriftCircle
Definition: TRT_DriftCircle.h:32
python.utils.AtlRunQueryLookup.mask
string mask
Definition: AtlRunQueryLookup.py:460
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
AthCommonDataStore< AthCommonMsg< AlgTool > >::detStore
const ServiceHandle< StoreGateSvc > & detStore() const
The standard StoreGateSvc/DetectorStore Returns (kind of) a pointer to the StoreGateSvc.
Definition: AthCommonDataStore.h:95
SG::VarHandleKeyArray::setOwner
virtual void setOwner(IDataHandleHolder *o)=0
InDetRawDataCollection::identifyHash
virtual IdentifierHash identifyHash() const override final
InDet::TRT_DriftCircleTool::m_out_of_time_supression_argon
bool m_out_of_time_supression_argon
Turn this on to turn on the OOT options!
Definition: TRT_DriftCircleTool.h:99
TRT_ID::straw
int straw(const Identifier &id) const
Definition: TRT_ID.h:902
AthCommonDataStore
Definition: AthCommonDataStore.h:52
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
TRT::Hit::driftTime
@ driftTime
Definition: HitInfo.h:43
InDet::TRT_DriftCircle::isNoise
bool isNoise() const
returns true if the hit is caused by noise with a high probability.
lumiFormat.i
int i
Definition: lumiFormat.py:92
Trk::PrepRawData::setHashAndIndex
void setHashAndIndex(unsigned short collHash, unsigned short objIndex)
TEMP for testing: might make some classes friends later ...
InDet::TRT_DriftCircleTool::m_validity_gate_suppression_argon
bool m_validity_gate_suppression_argon
Turn on suppression using validity gates.
Definition: TRT_DriftCircleTool.h:101
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
beamspotman.n
n
Definition: beamspotman.py:731
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
InDet::TRT_DriftCircleTool::m_min_trailing_edge_argon
float m_min_trailing_edge_argon
Min raw trailing edge position to not reject this DC.
Definition: TRT_DriftCircleTool.h:95
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
InDet::TRT_DriftCircleTool::m_low_gate_argon
float m_low_gate_argon
Low value for gate.
Definition: TRT_DriftCircleTool.h:103
python.xAODType.dummy
dummy
Definition: xAODType.py:4
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
AthCommonDataStore< AthCommonMsg< AlgTool > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
TRT_ID::barrel_ec
int barrel_ec(const Identifier &id) const
Values of different levels (failure returns 0)
Definition: TRT_ID.h:866
TRT_ID::straw_layer
int straw_layer(const Identifier &id) const
Definition: TRT_ID.h:893
DataPool::nextElementPtr
pointer nextElementPtr()
obtain the next available element in pool by pointer pool is resized if its limit has been reached On...
TRT_ID::layer_or_wheel
int layer_or_wheel(const Identifier &id) const
Definition: TRT_ID.h:884
AthAlgTool::AthAlgTool
AthAlgTool()
Default constructor:
InDet::TRT_DriftCircleTool::m_lumiDataKey
SG::ReadCondHandleKey< LuminosityCondData > m_lumiDataKey
Definition: TRT_DriftCircleTool.h:82
TRTCond::StrawStatus::Good
@ Good
Definition: StrawStatus.h:18
SG::VarHandleKeyArray::renounce
virtual void renounce()=0
SG::HandleClassifier::type
std::conditional< std::is_base_of< SG::VarHandleKeyArray, T >::value, VarHandleKeyArrayType, type2 >::type type
Definition: HandleClassifier.h:54
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:192
InDet::TRT_DriftCircleTool::m_low_gate
float m_low_gate
Turn on suppression using validity gates.
Definition: TRT_DriftCircleTool.h:102
InDet::TRT_DriftCircleCollection
Trk::PrepRawDataCollection< TRT_DriftCircle > TRT_DriftCircleCollection
Definition: TRT_DriftCircleCollection.h:26
EventContainers::Mode
Mode
Definition: IdentifiableContainerBase.h:13
SG::CondHandleKey::initialize
StatusCode initialize(bool used=true)
TRT_ID::phi_module
int phi_module(const Identifier &id) const
Definition: TRT_ID.h:875
ParticleGun_SamplingFraction.radius
radius
Definition: ParticleGun_SamplingFraction.py:96
DataVector< RawDataT >::end
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
InDet::TRT_DriftCircleTool::m_driftFunctionTool
ToolHandle< ITRT_DriftFunctionTool > m_driftFunctionTool
DriftFunctionTool.
Definition: TRT_DriftCircleTool.h:84
a
TList * a
Definition: liststreamerinfos.cxx:10
h
InDet::TRT_DriftCircleTool::m_max_drift_time_argon
float m_max_drift_time_argon
Max allowed raw drift time to not reject this DC.
Definition: TRT_DriftCircleTool.h:97
re
const boost::regex re(r_e)
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:616
declareProperty
#define declareProperty(n, p, h)
Definition: BaseFakeBkgTool.cxx:15
python.SystemOfUnits.ns
int ns
Definition: SystemOfUnits.py:130
InDet::TRT_DriftCircleTool::m_reject_if_first_bit_argon
bool m_reject_if_first_bit_argon
If true, reject this DC if first bit high.
Definition: TRT_DriftCircleTool.h:93
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:790
InDet::TRT_DriftCircleTool::m_reject_if_first_bit
bool m_reject_if_first_bit
If true, reject this DC if first bit high.
Definition: TRT_DriftCircleTool.h:92
InDet::TRT_DriftCircleTool::m_high_gate
float m_high_gate
Low value for gate.
Definition: TRT_DriftCircleTool.h:104
InDetDD::TRT_DetElementCollection
Class to hold collection of TRT detector elements.
Definition: TRT_DetElementCollection.h:28
InDet::TRT_DriftCircle::rawDriftTime
double rawDriftTime() const
returns the raw driftTime
InDet::TRT_DriftCircle::getWord
unsigned int getWord() const
returns the TRT dataword
IdentifierHash
Definition: IdentifierHash.h:38
InDet::TRT_DriftCircleTool::m_min_trailing_edge
float m_min_trailing_edge
Min raw trailing edge position to not reject this DC.
Definition: TRT_DriftCircleTool.h:94
get_generator_info.error
error
Definition: get_generator_info.py:40
CaloNoise_fillDB.mu
mu
Definition: CaloNoise_fillDB.py:53
error
Definition: IImpactPoint3dEstimator.h:70
InDet::TRT_DriftCircleTool::m_validity_gate_suppression
bool m_validity_gate_suppression
Definition: TRT_DriftCircleTool.h:100
Amg::distance
float distance(const Amg::Vector3D &p1, const Amg::Vector3D &p2)
calculates the distance between two point in 3D space
Definition: GeoPrimitivesHelpers.h:54
TRTCond::StrawStatus::Argon
@ Argon
Definition: StrawStatus.h:18
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
InDet::TRT_DriftCircleTool::m_useConditionsHTStatus
bool m_useConditionsHTStatus
Shall the ConditionsSummaryTool be used for HT to find argon straws?
Definition: TRT_DriftCircleTool.h:88
DataVector< RawDataT >::begin
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.
fitman.k
k
Definition: fitman.py:528
InDetDD::TRT_BaseElement
Definition: TRT_BaseElement.h:57
InDet::TRT_DriftCircleTool::m_max_drift_time
float m_max_drift_time
Max allowed raw drift time to not reject this DC.
Definition: TRT_DriftCircleTool.h:96