ATLAS Offline Software
Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
TRTStrawEfficiency Class Reference

#include <TRTStrawEfficiency.h>

Inheritance diagram for TRTStrawEfficiency:
Collaboration diagram for TRTStrawEfficiency:

Public Member Functions

 TRTStrawEfficiency (const std::string &name, ISvcLocator *pSvcLocator)
 
StatusCode initialize ()
 
StatusCode finalize ()
 
StatusCode execute ()
 
virtual StatusCode sysInitialize () override
 Override sysInitialize. More...
 
virtual const DataObjIDColl & extraOutputDeps () const override
 Return the list of extra output dependencies. 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 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
 

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

void make_branches ()
 
void clear_branches ()
 
int fill_hit_data (const Trk::TrackStateOnSurface &hit)
 
int fill_hole_data (const Trk::TrackStateOnSurface &hole)
 
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

ToolHandle< Trk::ITrackHoleSearchToolm_trt_hole_finder
 
float m_max_abs_d0
 
float m_max_abs_z0
 
float m_min_pT
 
float m_min_p
 
float m_max_abs_eta
 
int m_min_pixel_hits
 
int m_min_sct_hits
 
int m_min_trt_hits
 
ServiceHandle< ITHistSvc > m_hist_svc
 
ServiceHandle< ITRT_StrawNeighbourSvcm_TRTStrawNeighbourSvc
 
std::string m_tree_name
 
std::string m_stream_name
 
std::string m_required_trigger
 
TTree * m_tree
 
const TRT_IDm_TRT_ID
 
PublicToolHandle< Trk::IUpdatorm_updator {this,"KalmanUpdator","Trk::KalmanUpdator/TrkKalmanUpdator",""}
 
PublicToolHandle< Trig::ITrigDecisionToolm_trigDec {this,"ITrigDecisionTool","Trig::ITrigDecisionTool/TrigDecisionTool",""}
 
SG::ReadHandleKey< TrackCollectionm_tracksKey {this, "track_collection", "CombinedInDetTracks", "Tracks container key"}
 
SG::ReadHandleKey< xAOD::EventInfom_eventInfoKey {this, "event_info_key", "EventInfo", "Event info key"}
 
SG::ReadHandleKey< xAOD::VertexContainerm_vertexContainerKey {this, "VertexContainerName", "PrimaryVertices", "Vertex container key"}
 
unsigned int m_num_events
 
unsigned int m_num_tracks
 
unsigned int m_num_preselected_tracks
 
unsigned int m_event_number
 
unsigned int m_run_number
 
unsigned int m_lumi_block
 
float m_track_pt
 
float m_track_eta
 
float m_track_phi
 
float m_track_d0
 
float m_track_z0
 
int m_n_pixel_hits
 
int m_n_sct_hits
 
int m_n_trt_hits
 
std::vector< int > m_hit_bec
 
std::vector< int > m_hit_phi
 
std::vector< int > m_hit_layer
 
std::vector< int > m_hit_strawlayer
 
std::vector< int > m_hit_straw
 
std::vector< int > m_hit_chip
 
std::vector< int > m_hit_pad
 
std::vector< float > m_hit_x
 
std::vector< float > m_hit_y
 
std::vector< float > m_hit_z
 
std::vector< float > m_hit_center_x
 
std::vector< float > m_hit_center_y
 
std::vector< float > m_hit_center_z
 
std::vector< float > m_hit_R
 
std::vector< float > m_hit_locR
 
std::vector< int > m_hit_HL
 
std::vector< int > m_hit_det
 
std::vector< float > m_hit_ub_locR
 
std::vector< float > m_hit_ub_x
 
std::vector< float > m_hit_ub_y
 
std::vector< float > m_hit_ub_z
 
int m_n_pixel_holes
 
int m_n_sct_holes
 
int m_n_trt_holes
 
std::vector< int > m_hole_bec
 
std::vector< int > m_hole_phi
 
std::vector< int > m_hole_layer
 
std::vector< int > m_hole_strawlayer
 
std::vector< int > m_hole_straw
 
std::vector< int > m_hole_chip
 
std::vector< int > m_hole_pad
 
std::vector< float > m_hole_x
 
std::vector< float > m_hole_y
 
std::vector< float > m_hole_z
 
std::vector< float > m_hole_center_x
 
std::vector< float > m_hole_center_y
 
std::vector< float > m_hole_center_z
 
std::vector< float > m_hole_locR
 
std::vector< float > m_hole_locR_error
 
std::vector< int > m_hole_det
 
std::vector< int > m_hit_tube_hit
 
int m_n_primary_vertex
 
int m_n_tube_hits
 
DataObjIDColl m_extendedExtraObjects
 
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

Definition at line 40 of file TRTStrawEfficiency.h.

Member Typedef Documentation

◆ StoreGateSvc_t

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

Definition at line 388 of file AthCommonDataStore.h.

Constructor & Destructor Documentation

◆ TRTStrawEfficiency()

TRTStrawEfficiency::TRTStrawEfficiency ( const std::string &  name,
ISvcLocator *  pSvcLocator 
)

Definition at line 37 of file TRTStrawEfficiency.cxx.

38  : AthAlgorithm(name, pSvcLocator),
39  m_trt_hole_finder("TRTTrackHoleSearchTool"),
40  m_hist_svc("THistSvc", name),
41  m_TRTStrawNeighbourSvc("TRT_StrawNeighbourSvc", name),
42  m_tree(nullptr),
43  m_TRT_ID(nullptr),
44  m_num_events(0),
45  m_num_tracks(0),
47  m_event_number(0),
48  m_run_number(0),
49  m_lumi_block(0),
50  m_track_pt(0.),
51  m_track_eta(0.),
52  m_track_phi(0.),
53  m_track_d0(0.),
54  m_track_z0(0.),
55  m_n_pixel_hits(0),
56  m_n_sct_hits(0),
57  m_n_trt_hits(0),
58  m_n_pixel_holes(0),
59  m_n_sct_holes(0),
60  m_n_trt_holes(0),
62  m_n_tube_hits(0)
63 {
64  declareProperty("trt_hole_finder", m_trt_hole_finder);
65  declareProperty("max_abs_d0", m_max_abs_d0 = 600*CLHEP::mm );
66  declareProperty("max_abs_z0", m_max_abs_z0 = 600*CLHEP::mm );
67  declareProperty("min_pT", m_min_pT = 1.0*CLHEP::GeV );
68  declareProperty("min_p", m_min_p = 2.0*CLHEP::GeV ); // added by dan
69  declareProperty("max_abs_eta", m_max_abs_eta = 2.5 );
70  declareProperty("min_pixel_hits", m_min_pixel_hits = 0 );
71  declareProperty("min_sct_hits", m_min_sct_hits = 2 );
72  declareProperty("min_trt_hits", m_min_trt_hits = 15 );
73  declareProperty("hist_svc", m_hist_svc );
74  declareProperty("straw_neighbour_svc", m_TRTStrawNeighbourSvc );
75  declareProperty("tree_name", m_tree_name = "trt_eff" );
76  declareProperty("stream_name", m_stream_name = "TRTEffStream" );
77  declareProperty("required_trigger", m_required_trigger = "" );
78 }

Member Function Documentation

◆ clear_branches()

void TRTStrawEfficiency::clear_branches ( )
private

Definition at line 376 of file TRTStrawEfficiency.cxx.

376  {
377  m_event_number = 0;
378  m_run_number = 0;
379  m_lumi_block = 0;
380  m_track_pt = 0.0;
381  m_track_eta = 0.0;
382  m_track_phi = 0.0;
383  m_track_d0 = 0.0;
384  m_track_z0 = 0.0;
385  m_n_pixel_hits = 0;
386  m_n_sct_hits = 0;
387  m_n_trt_hits = 0;
388  m_hit_bec.clear();
389  m_hit_phi.clear();
390  m_hit_layer.clear();
391  m_hit_strawlayer.clear();
392  m_hit_straw.clear();
393  m_hit_chip.clear();
394  m_hit_pad.clear();
395  m_hit_x.clear();
396  m_hit_y.clear();
397  m_hit_z.clear();
398  m_hit_center_x.clear();
399  m_hit_center_y.clear();
400  m_hit_center_z.clear();
401  m_hit_R.clear();
402  m_hit_locR.clear();
403  m_hit_HL.clear();
404  m_hit_det.clear();
405  m_hit_ub_locR.clear();
406  m_hit_ub_x.clear();
407  m_hit_ub_y.clear();
408  m_hit_ub_z.clear();
409  m_n_pixel_holes = 0;
410  m_n_sct_holes = 0;
411  m_n_trt_holes = 0;
412  m_hole_bec.clear();
413  m_hole_phi.clear();
414  m_hole_layer.clear();
415  m_hole_strawlayer.clear();
416  m_hole_straw.clear();
417  m_hole_chip.clear();
418  m_hole_pad.clear();
419  m_hole_x.clear();
420  m_hole_y.clear();
421  m_hole_z.clear();
422  m_hole_center_x.clear();
423  m_hole_center_y.clear();
424  m_hole_center_z.clear();
425  m_hole_locR.clear();
426  m_hole_locR_error.clear();
427  m_hole_det.clear();
428 
429  m_n_primary_vertex = 0; // added by dan
430  m_hit_tube_hit.clear(); // added by dan
431  m_n_tube_hits = 0; // added by dan
432 }

◆ declareGaudiProperty() [1/4]

Gaudi::Details::PropertyBase& AthCommonDataStore< AthCommonMsg< Algorithm > >::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< Algorithm > >::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< Algorithm > >::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< Algorithm > >::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< Algorithm > >::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< Algorithm > >::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< Algorithm > >::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< Algorithm > >::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< Algorithm > >::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< Algorithm > >::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< Algorithm > >::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< Algorithm > >::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< Algorithm > >::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; }

◆ execute()

StatusCode TRTStrawEfficiency::execute ( )

Definition at line 125 of file TRTStrawEfficiency.cxx.

125  {
126  ATH_MSG_DEBUG( "TRTStrawEfficiency::execute() event: " << m_num_events );
127 
128  // ATH_MSG_DEUBG( "getListOfTriggers: " << m_trigDec->getListOfTriggers() );
129 
130  // require trigger
131  if ( !m_required_trigger.empty() ) {
132  if ( !m_trigDec->isPassed(m_required_trigger) ) {
133  // skip event
134  ATH_MSG_DEBUG( " trigger: " << m_required_trigger << " failed. Skipping event.");
135  return StatusCode::SUCCESS;
136  } else {
137  ATH_MSG_DEBUG( " trigger: " << m_required_trigger << " passed.");
138  }
139  }
140 
141  // retrive tracks
143  if (!tracks.isValid()) {
144  ATH_MSG_FATAL( "Failed to retrieve " << m_tracksKey.key() );
145  return StatusCode::FAILURE;
146  }
147 
148  // retrieve event info
150  if (!event_info.isValid()) {
151  ATH_MSG_FATAL( "Failed to retrieve " << m_eventInfoKey.key() );
152  return StatusCode::FAILURE;
153  }
154 
155  m_event_number = event_info->eventNumber();
156  m_run_number = event_info->runNumber();
157  m_lumi_block = event_info->lumiBlock();
158 
159  ATH_MSG_DEBUG( "run_number = " << m_run_number << ", lumi_block = " << m_lumi_block << ", event_number = " << m_event_number );
160 
161  // loop over tracks
162  ATH_MSG_DEBUG( "This event has " << tracks->size() << " tracks." );
163  for (const auto *track : *tracks) {
164  m_num_tracks++;
165 
166  // clear branches
167  clear_branches();
168 
169  // get perigee
170  const Trk::Perigee* perigee = track->perigeeParameters();
171  if (perigee) {
172  m_track_pt = perigee->pT();
173  m_track_eta = perigee->eta();
174  m_track_phi = perigee->parameters()[Trk::phi0];
175  m_track_d0 = perigee->parameters()[Trk::d0];
176  m_track_z0 = perigee->parameters()[Trk::z0];
177  ATH_MSG_DEBUG( " This track has perigee parameters:\n"
178  << " pT = " << m_track_pt/CLHEP::GeV << " CLHEP::GeV" << "\n"
179  << " eta = " << m_track_eta << "\n"
180  << " phi0 = " << m_track_phi << "\n"
181  << " d0 = " << m_track_d0 << "\n"
182  << " z0 = " << m_track_z0 << "\n"
183  << " theta = " << perigee->parameters()[Trk::theta] << "\n"
184  << " qOverP = " << perigee->parameters()[Trk::qOverP] );
185  } else {
186  ATH_MSG_ERROR( " This track has null perigeeParameters." );
187  continue;
188  }
189 
190  // get TrackStateOnSurfaces
191  const Trk::TrackStates* track_states = track->trackStateOnSurfaces();
192  if (track_states) {
193  ATH_MSG_DEBUG( " This track has " << track_states->size() << " track states on surface." );
194  } else {
195  ATH_MSG_ERROR( " This track has null track states on surface." );
196  continue;
197  }
198 
199  // count hits
200  for (const auto *trackState : *track_states) {
201  if (trackState->type(Trk::TrackStateOnSurface::Measurement)) {
202  if (dynamic_cast<const InDet::TRT_DriftCircleOnTrack*> (trackState->measurementOnTrack())) m_n_trt_hits++;
203  else if (dynamic_cast<const InDet::SCT_ClusterOnTrack*> (trackState->measurementOnTrack())) m_n_sct_hits++;
204  else if (dynamic_cast<const InDet::PixelClusterOnTrack*> (trackState->measurementOnTrack())) m_n_pixel_hits++;
205  }
206  }
207 
208  ATH_MSG_DEBUG( " This track has\n"
209  << " # Pixel hits = " << m_n_pixel_hits << "\n"
210  << " # SCT hits = " << m_n_sct_hits << "\n"
211  << " # TRT hits = " << m_n_trt_hits );
212 
213  // preselect tracks
214  bool passed_track_preselection =
215  ( fabs(perigee->parameters()[Trk::d0]) < m_max_abs_d0 )&&
216  ( fabs(perigee->parameters()[Trk::z0]) < m_max_abs_z0 )&&
217  ( 1/fabs(perigee->parameters()[Trk::qOverP]) > m_min_p )&& // added by dan
218  ( perigee->pT() > m_min_pT )&&
219  ( fabs(perigee->eta()) < m_max_abs_eta )&&
223 
224  if (!passed_track_preselection) {
225  ATH_MSG_DEBUG( " This track failed preselection." );
226  continue;
227  }
228 
229  ATH_MSG_DEBUG( " This track passed preselection." );
231 
232  for (const auto *trackState : *track_states ) {
233  if (trackState->type(Trk::TrackStateOnSurface::Measurement)) {
234  fill_hit_data(*trackState);
235  }
236  }
237 
238  const Trk::TrackStates* holes = m_trt_hole_finder->getHolesOnTrack(*track);
239  if (!holes) {
240  ATH_MSG_WARNING( " TRTTrackHoleSearchTool returned null results." );
241  continue;
242  } else {
243  m_n_pixel_holes = 0;
244  m_n_sct_holes = 0;
245  m_n_trt_holes = 0;
246  for (const auto *hole : *holes) {
248  int hole_det = fill_hole_data(*hole);
249  switch (hole_det) {
250  case 1:
251  m_n_pixel_holes++;
252  break;
253  case 2:
254  m_n_sct_holes++;
255  break;
256  case 3:
257  m_n_trt_holes++;
258  break;
259  default:
260  ATH_MSG_ERROR("fill_hole_data returned an invalid det type: " << hole_det);
261  }
262  } else {
263  ATH_MSG_WARNING(" hole finder returned a TrackStateOnSurface not of type Hole.");
264  }
265  }
266  delete holes;
267  }
268 
269  //------- added by dan -------
270 
272 
273  if (!vxContainer.isValid()) {
274  ATH_MSG_ERROR(" Failed to retrieve VxContainer: " << m_vertexContainerKey.key());
275  return StatusCode::FAILURE;
276  }
277  m_n_primary_vertex = vxContainer->size() - 1;
278  //-----------------------------
279 
280 
281  m_tree->Fill();
282 
283  ATH_MSG_DEBUG( " This track has\n"
284  << " # Pixel holes = " << m_n_pixel_holes << "\n"
285  << " # SCT holes = " << m_n_sct_holes << "\n"
286  << " # TRT holes = " << m_n_trt_holes );
287 
288  } // end loop over tracks
289 
290  m_num_events++;
291  return StatusCode::SUCCESS;
292 }

◆ extraDeps_update_handler()

void AthCommonDataStore< AthCommonMsg< Algorithm > >::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

◆ extraOutputDeps()

const DataObjIDColl & AthAlgorithm::extraOutputDeps ( ) const
overridevirtualinherited

Return the list of extra output dependencies.

This list is extended to include symlinks implied by inheritance relations.

Definition at line 50 of file AthAlgorithm.cxx.

51 {
52  // If we didn't find any symlinks to add, just return the collection
53  // from the base class. Otherwise, return the extended collection.
54  if (!m_extendedExtraObjects.empty()) {
56  }
57  return Algorithm::extraOutputDeps();
58 }

◆ fill_hit_data()

int TRTStrawEfficiency::fill_hit_data ( const Trk::TrackStateOnSurface hit)
private

Definition at line 436 of file TRTStrawEfficiency.cxx.

436  {
437  const Trk::TrackParameters* track_parameters = hit.trackParameters();
438  if (!track_parameters) {
439  ATH_MSG_ERROR("fill_hit_data(hit): null track_parameters");
440  return 0;
441  }
442 
443  m_hit_x.push_back( track_parameters->position().x() );
444  m_hit_y.push_back( track_parameters->position().y() );
445  m_hit_z.push_back( track_parameters->position().z() );
446 
447  m_hit_center_x.push_back( track_parameters->associatedSurface().center().x() );
448  m_hit_center_y.push_back( track_parameters->associatedSurface().center().y() );
449  m_hit_center_z.push_back( track_parameters->associatedSurface().center().z() );
450 
452 
453  int det = 0;
454  if(m_TRT_ID->is_pixel(id)) {
455  det = 1;
456  } else if(m_TRT_ID->is_sct(id)) {
457  det = 2;
458  } else if(m_TRT_ID->is_trt(id)) {
459  det = 3;
460  }
461  m_hit_det.push_back( det );
462 
463  m_hit_bec.push_back( det == 3 ? m_TRT_ID->barrel_ec(id) : 0 );
464  m_hit_phi.push_back( det == 3 ? m_TRT_ID->phi_module(id) : -1 );
465  m_hit_layer.push_back( det == 3 ? m_TRT_ID->layer_or_wheel(id) : -1 );
466  m_hit_strawlayer.push_back( det == 3 ? m_TRT_ID->straw_layer(id) : -1 );
467  m_hit_straw.push_back( det == 3 ? m_TRT_ID->straw(id) : -1 );
468 
469  int chip = -1;
470  if(det == 3) {
471  m_TRTStrawNeighbourSvc->getChip(id, chip);
472  }
473  m_hit_chip.push_back(chip);
474 
475  int pad = -1;
476  if(det == 3) {
477  m_TRTStrawNeighbourSvc->getPad(id, pad);
478  }
479  m_hit_pad.push_back(pad);
480 
481  m_hit_locR.push_back( det == 3 ? track_parameters->parameters()[Trk::locR] : -1 );
482 
483  const Trk::MeasurementBase* measurement = hit.measurementOnTrack();
484  const InDet::TRT_DriftCircleOnTrack* trtcircle = nullptr;
485  if(measurement) {
486  trtcircle = dynamic_cast<const InDet::TRT_DriftCircleOnTrack*> (measurement);
487  } else {
488  ATH_MSG_ERROR("fill_hit_data(hit): null measurement");
489  }
490 
491  if(!trtcircle) {
492  ATH_MSG_DEBUG("fill_hit_data(hit): null trtcircle");
493  }
494 
495  m_hit_R.push_back( (det == 3)&&(trtcircle != nullptr) ? trtcircle->localParameters()[Trk::driftRadius] : -1 );
496  m_hit_HL.push_back( (det == 3)&&(trtcircle != nullptr) ? trtcircle->highLevel() : -1 );
497 
498  // unbiased trk parameters
499  std::unique_ptr<Trk::TrackParameters> unbiased_track_parameters =
500  m_updator->removeFromState(
501  *(hit.trackParameters()),
504 
505  m_hit_ub_locR.push_back( det == 3 && unbiased_track_parameters ? unbiased_track_parameters->parameters()[Trk::locR] : -1 );
506  m_hit_ub_x.push_back( unbiased_track_parameters ? unbiased_track_parameters->position().x() : -1 );
507  m_hit_ub_y.push_back( unbiased_track_parameters ? unbiased_track_parameters->position().y() : -1 );
508  m_hit_ub_z.push_back( unbiased_track_parameters ? unbiased_track_parameters->position().z() : -1 );
509 
510  // ------- added by dan -------
511  int is_tube_hit = -1;
512  if (measurement && (det == 3) ) {
513  is_tube_hit = ((measurement->localCovariance())(Trk::locX,Trk::locX) > 1.0)? 1 : 0;
514  if (is_tube_hit) m_n_tube_hits++;
515  }
516 
517  m_hit_tube_hit.push_back( (det == 3)&&(measurement != nullptr) ? is_tube_hit : -1);
518 
519  // ----------------------------
520 
521 
522  return det;
523 }

◆ fill_hole_data()

int TRTStrawEfficiency::fill_hole_data ( const Trk::TrackStateOnSurface hole)
private

Definition at line 527 of file TRTStrawEfficiency.cxx.

527  {
528  const Trk::TrackParameters* track_parameters = hole.trackParameters();
529  if (!track_parameters) {
530  ATH_MSG_ERROR("fill_hole_data(hole): null track_parameters");
531  return 0;
532  }
533 
534  m_hole_x.push_back( track_parameters->position().x() );
535  m_hole_y.push_back( track_parameters->position().y() );
536  m_hole_z.push_back( track_parameters->position().z() );
537 
538  m_hole_center_x.push_back( track_parameters->associatedSurface().center().x() );
539  m_hole_center_y.push_back( track_parameters->associatedSurface().center().y() );
540  m_hole_center_z.push_back( track_parameters->associatedSurface().center().z() );
541 
543 
544  int det = 0;
545  if(m_TRT_ID->is_pixel(id)) {
546  det = 1;
547  } else if(m_TRT_ID->is_sct(id)) {
548  det = 2;
549  } else if(m_TRT_ID->is_trt(id)) {
550  det = 3;
551  }
552  m_hole_det.push_back( det );
553 
554  m_hole_bec.push_back( det == 3 ? m_TRT_ID->barrel_ec(id) : -1 );
555  m_hole_phi.push_back( det == 3 ? m_TRT_ID->phi_module(id) : -1 );
556  m_hole_layer.push_back( det == 3 ? m_TRT_ID->layer_or_wheel(id) : -1 );
557  m_hole_strawlayer.push_back( det == 3 ? m_TRT_ID->straw_layer(id) : -1 );
558  m_hole_straw.push_back( det == 3 ? m_TRT_ID->straw(id) : -1 );
559 
560  int chip = -1;
561  if (det == 3) {
562  m_TRTStrawNeighbourSvc->getChip(id, chip);
563  }
564  m_hole_chip.push_back(chip);
565 
566  int pad = -1;
567  if (det == 3) {
568  m_TRTStrawNeighbourSvc->getPad(id, pad);
569  }
570  m_hole_pad.push_back(pad);
571 
572  float locR = track_parameters->parameters()[Trk::locR];
573  m_hole_locR.push_back( det == 3 ? locR : -1 );
574 
575  float locR_error = 0.0;
576  //const Trk::MeasuredTrackParameters* meas = dynamic_cast< const Trk::MeasuredTrackParameters* >(track_parameters);
577  //if(meas)
578  //{
579 
580  const AmgSymMatrix(5)* merr = track_parameters->covariance();
581  if(merr){
582  locR_error = Amg::error(*merr,Trk::locR);
583  } else {
584  ATH_MSG_ERROR("Track parameters have no covariance attached.");
585  }
586  m_hole_locR_error.push_back( det == 3 ? locR_error : 0.0 );
587 
588  /*
589  ATH_MSG_DEBUG("hole trk x = " << track_parameters->position().x() <<
590  ", surf x = " << track_parameters->associatedSurface()->center().x());
591  ATH_MSG_DEBUG("hole trk y = " << track_parameters->position().y() <<
592  ", surf y = " << track_parameters->associatedSurface()->center().y());
593  ATH_MSG_DEBUG("hole trk z = " << track_parameters->position().z() <<
594  ", surf z = " << track_parameters->associatedSurface()->center().z());
595  */
596 
597  return det;
598 }

◆ finalize()

StatusCode TRTStrawEfficiency::finalize ( )

Definition at line 296 of file TRTStrawEfficiency.cxx.

296  {
297  ATH_MSG_DEBUG( "# tracks = " << m_num_tracks );
298  ATH_MSG_DEBUG( "# preselected tracks = " << m_num_preselected_tracks );
299 
300 #ifdef ANP_CPU_PROFILER
301  ATH_MSG_ALWAYS("ProfilerStop.");
302  ProfilerStop();
303 #endif
304 
305  return StatusCode::SUCCESS;
306 }

◆ initialize()

StatusCode TRTStrawEfficiency::initialize ( )

Definition at line 82 of file TRTStrawEfficiency.cxx.

82  {
83 
84  // retrieve TRTTrackHoleSearchTool
85  ATH_CHECK(m_trt_hole_finder.retrieve());
86 
87  // retrieve TRT_ID
88  ATH_CHECK(detStore()->retrieve(m_TRT_ID, "TRT_ID"));
89 
91 
92  // retrieve the Trk::KalmanUpdator to calculate unbiased track states
93  ATH_CHECK(m_updator.retrieve());
94 
95  // retrieve THistSvc
96  ATH_CHECK(m_hist_svc.retrieve());
97 
98  // retrieve TrigDecisionTool
99  if (!m_required_trigger.empty()) {
100  ATH_CHECK(m_trigDec.retrieve());
101  }
102 
103  // ntuple
104  m_tree = new TTree(m_tree_name.c_str(), m_tree_name.c_str());
105  ATH_CHECK(m_hist_svc->regTree(std::string("/") + m_stream_name + std::string("/") + m_tree_name, m_tree));
106 
107  // Read handles
108  ATH_CHECK(m_tracksKey.initialize());
110  ATH_CHECK(m_vertexContainerKey.initialize());
111 
112  make_branches();
113 
114 #ifdef CPU_PROFILER
115  std::string profile_file = "cpu.prof";
116  ATH_MSG_ALWAYS( "ProfilerStart(" << profile_file << ")" );
117  ProfilerStart(profile_file.c_str());
118 #endif
119 
120  return StatusCode::SUCCESS;
121 }

◆ inputHandles()

virtual std::vector<Gaudi::DataHandle*> AthCommonDataStore< AthCommonMsg< Algorithm > >::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.

◆ make_branches()

void TRTStrawEfficiency::make_branches ( )
private

Definition at line 314 of file TRTStrawEfficiency.cxx.

314  {
315  m_tree->Branch("event_number", &m_event_number, "event_number/i");
316  m_tree->Branch("run_number", &m_run_number, "run_number/i");
317  m_tree->Branch("lumi_block", &m_lumi_block, "lumi_block/i");
318  m_tree->Branch("track_pt", &m_track_pt, "track_pt/F");
319  m_tree->Branch("track_eta", &m_track_eta, "track_eta/F");
320  m_tree->Branch("track_phi", &m_track_phi, "track_phi/F");
321  m_tree->Branch("track_d0", &m_track_d0, "track_d0/F");
322  m_tree->Branch("track_z0", &m_track_z0, "track_z0/F");
323  m_tree->Branch("n_pixel_hits", &m_n_pixel_hits, "n_pixel_hits/I");
324  m_tree->Branch("n_sct_hits", &m_n_sct_hits, "n_sct_hits/I");
325  m_tree->Branch("n_trt_hits", &m_n_trt_hits, "n_trt_hits/I");
326  m_tree->Branch("hit_bec", &m_hit_bec);
327  m_tree->Branch("hit_phi", &m_hit_phi);
328  m_tree->Branch("hit_layer", &m_hit_layer);
329  m_tree->Branch("hit_strawlayer", &m_hit_strawlayer);
330  m_tree->Branch("hit_straw", &m_hit_straw);
331  m_tree->Branch("hit_chip", &m_hit_chip);
332  m_tree->Branch("hit_pad", &m_hit_pad);
333  m_tree->Branch("hit_x", &m_hit_x);
334  m_tree->Branch("hit_y", &m_hit_y);
335  m_tree->Branch("hit_z", &m_hit_z);
336  m_tree->Branch("hit_center_x", &m_hit_center_x);
337  m_tree->Branch("hit_center_y", &m_hit_center_y);
338  m_tree->Branch("hit_center_z", &m_hit_center_z);
339  m_tree->Branch("hit_R", &m_hit_R);
340  m_tree->Branch("hit_locR", &m_hit_locR);
341  m_tree->Branch("hit_HL", &m_hit_HL);
342  m_tree->Branch("hit_det", &m_hit_det);
343  m_tree->Branch("hit_ub_locR", &m_hit_ub_locR);
344  m_tree->Branch("hit_ub_x", &m_hit_ub_x);
345  m_tree->Branch("hit_ub_y", &m_hit_ub_y);
346  m_tree->Branch("hit_ub_z", &m_hit_ub_z);
347  m_tree->Branch("n_pixel_holes", &m_n_pixel_holes, "n_pixel_holes/I");
348  m_tree->Branch("n_sct_holes", &m_n_sct_holes, "n_sct_holes/I");
349  m_tree->Branch("n_trt_holes", &m_n_trt_holes, "n_trt_holes/I");
350  m_tree->Branch("hole_bec", &m_hole_bec);
351  m_tree->Branch("hole_phi", &m_hole_phi);
352  m_tree->Branch("hole_layer", &m_hole_layer);
353  m_tree->Branch("hole_strawlayer", &m_hole_strawlayer);
354  m_tree->Branch("hole_straw", &m_hole_straw);
355  m_tree->Branch("hole_chip", &m_hole_chip);
356  m_tree->Branch("hole_pad", &m_hole_pad);
357  m_tree->Branch("hole_x", &m_hole_x);
358  m_tree->Branch("hole_y", &m_hole_y);
359  m_tree->Branch("hole_z", &m_hole_z);
360  m_tree->Branch("hole_center_x", &m_hole_center_x);
361  m_tree->Branch("hole_center_y", &m_hole_center_y);
362  m_tree->Branch("hole_center_z", &m_hole_center_z);
363  m_tree->Branch("hole_locR", &m_hole_locR);
364  m_tree->Branch("hole_locR_error", &m_hole_locR_error);
365  m_tree->Branch("hole_det", &m_hole_det);
366 
367  // ---- branches added by dan ------
368  m_tree->Branch("n_primary_vertex", &m_n_primary_vertex, "n_primary_vertex/I");
369  m_tree->Branch("hit_tube_hit", &m_hit_tube_hit);
370  m_tree->Branch("n_tube_hits", &m_n_tube_hits, "n_tube_hits/I");
371  // -------------------------------
372 }

◆ msg() [1/2]

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

Definition at line 24 of file AthCommonMsg.h.

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

◆ msg() [2/2]

MsgStream& AthCommonMsg< Algorithm >::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< Algorithm >::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< Algorithm > >::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.

◆ 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< Algorithm > >::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< Algorithm > >::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()

StatusCode AthAlgorithm::sysInitialize ( )
overridevirtualinherited

Override sysInitialize.

Override sysInitialize from the base class.

Loop through all output handles, and if they're WriteCondHandles, automatically register them and this Algorithm with the CondSvc

Scan through all outputHandles, and if they're WriteCondHandles, register them with the CondSvc

Reimplemented from AthCommonDataStore< AthCommonMsg< Algorithm > >.

Reimplemented in AthAnalysisAlgorithm, AthFilterAlgorithm, PyAthena::Alg, and AthHistogramAlgorithm.

Definition at line 66 of file AthAlgorithm.cxx.

66  {
68 
69  if (sc.isFailure()) {
70  return sc;
71  }
72  ServiceHandle<ICondSvc> cs("CondSvc",name());
73  for (auto h : outputHandles()) {
74  if (h->isCondition() && h->mode() == Gaudi::DataHandle::Writer) {
75  // do this inside the loop so we don't create the CondSvc until needed
76  if ( cs.retrieve().isFailure() ) {
77  ATH_MSG_WARNING("no CondSvc found: won't autoreg WriteCondHandles");
78  return StatusCode::SUCCESS;
79  }
80  if (cs->regHandle(this,*h).isFailure()) {
81  sc = StatusCode::FAILURE;
82  ATH_MSG_ERROR("unable to register WriteCondHandle " << h->fullKey()
83  << " with CondSvc");
84  }
85  }
86  }
87  return sc;
88 }

◆ sysStart()

virtual StatusCode AthCommonDataStore< AthCommonMsg< Algorithm > >::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< Algorithm > >::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_detStore

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

Pointer to StoreGate (detector store by default)

Definition at line 393 of file AthCommonDataStore.h.

◆ m_event_number

unsigned int TRTStrawEfficiency::m_event_number
private

Definition at line 86 of file TRTStrawEfficiency.h.

◆ m_eventInfoKey

SG::ReadHandleKey<xAOD::EventInfo> TRTStrawEfficiency::m_eventInfoKey {this, "event_info_key", "EventInfo", "Event info key"}
private

Definition at line 78 of file TRTStrawEfficiency.h.

◆ m_evtStore

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

Pointer to StoreGate (event store by default)

Definition at line 390 of file AthCommonDataStore.h.

◆ m_extendedExtraObjects

DataObjIDColl AthAlgorithm::m_extendedExtraObjects
privateinherited

Definition at line 79 of file AthAlgorithm.h.

◆ m_hist_svc

ServiceHandle<ITHistSvc> TRTStrawEfficiency::m_hist_svc
private

Definition at line 61 of file TRTStrawEfficiency.h.

◆ m_hit_bec

std::vector<int> TRTStrawEfficiency::m_hit_bec
private

Definition at line 97 of file TRTStrawEfficiency.h.

◆ m_hit_center_x

std::vector<float> TRTStrawEfficiency::m_hit_center_x
private

Definition at line 107 of file TRTStrawEfficiency.h.

◆ m_hit_center_y

std::vector<float> TRTStrawEfficiency::m_hit_center_y
private

Definition at line 108 of file TRTStrawEfficiency.h.

◆ m_hit_center_z

std::vector<float> TRTStrawEfficiency::m_hit_center_z
private

Definition at line 109 of file TRTStrawEfficiency.h.

◆ m_hit_chip

std::vector<int> TRTStrawEfficiency::m_hit_chip
private

Definition at line 102 of file TRTStrawEfficiency.h.

◆ m_hit_det

std::vector<int> TRTStrawEfficiency::m_hit_det
private

Definition at line 113 of file TRTStrawEfficiency.h.

◆ m_hit_HL

std::vector<int> TRTStrawEfficiency::m_hit_HL
private

Definition at line 112 of file TRTStrawEfficiency.h.

◆ m_hit_layer

std::vector<int> TRTStrawEfficiency::m_hit_layer
private

Definition at line 99 of file TRTStrawEfficiency.h.

◆ m_hit_locR

std::vector<float> TRTStrawEfficiency::m_hit_locR
private

Definition at line 111 of file TRTStrawEfficiency.h.

◆ m_hit_pad

std::vector<int> TRTStrawEfficiency::m_hit_pad
private

Definition at line 103 of file TRTStrawEfficiency.h.

◆ m_hit_phi

std::vector<int> TRTStrawEfficiency::m_hit_phi
private

Definition at line 98 of file TRTStrawEfficiency.h.

◆ m_hit_R

std::vector<float> TRTStrawEfficiency::m_hit_R
private

Definition at line 110 of file TRTStrawEfficiency.h.

◆ m_hit_straw

std::vector<int> TRTStrawEfficiency::m_hit_straw
private

Definition at line 101 of file TRTStrawEfficiency.h.

◆ m_hit_strawlayer

std::vector<int> TRTStrawEfficiency::m_hit_strawlayer
private

Definition at line 100 of file TRTStrawEfficiency.h.

◆ m_hit_tube_hit

std::vector<int> TRTStrawEfficiency::m_hit_tube_hit
private

Definition at line 139 of file TRTStrawEfficiency.h.

◆ m_hit_ub_locR

std::vector<float> TRTStrawEfficiency::m_hit_ub_locR
private

Definition at line 114 of file TRTStrawEfficiency.h.

◆ m_hit_ub_x

std::vector<float> TRTStrawEfficiency::m_hit_ub_x
private

Definition at line 115 of file TRTStrawEfficiency.h.

◆ m_hit_ub_y

std::vector<float> TRTStrawEfficiency::m_hit_ub_y
private

Definition at line 116 of file TRTStrawEfficiency.h.

◆ m_hit_ub_z

std::vector<float> TRTStrawEfficiency::m_hit_ub_z
private

Definition at line 117 of file TRTStrawEfficiency.h.

◆ m_hit_x

std::vector<float> TRTStrawEfficiency::m_hit_x
private

Definition at line 104 of file TRTStrawEfficiency.h.

◆ m_hit_y

std::vector<float> TRTStrawEfficiency::m_hit_y
private

Definition at line 105 of file TRTStrawEfficiency.h.

◆ m_hit_z

std::vector<float> TRTStrawEfficiency::m_hit_z
private

Definition at line 106 of file TRTStrawEfficiency.h.

◆ m_hole_bec

std::vector<int> TRTStrawEfficiency::m_hole_bec
private

Definition at line 121 of file TRTStrawEfficiency.h.

◆ m_hole_center_x

std::vector<float> TRTStrawEfficiency::m_hole_center_x
private

Definition at line 131 of file TRTStrawEfficiency.h.

◆ m_hole_center_y

std::vector<float> TRTStrawEfficiency::m_hole_center_y
private

Definition at line 132 of file TRTStrawEfficiency.h.

◆ m_hole_center_z

std::vector<float> TRTStrawEfficiency::m_hole_center_z
private

Definition at line 133 of file TRTStrawEfficiency.h.

◆ m_hole_chip

std::vector<int> TRTStrawEfficiency::m_hole_chip
private

Definition at line 126 of file TRTStrawEfficiency.h.

◆ m_hole_det

std::vector<int> TRTStrawEfficiency::m_hole_det
private

Definition at line 136 of file TRTStrawEfficiency.h.

◆ m_hole_layer

std::vector<int> TRTStrawEfficiency::m_hole_layer
private

Definition at line 123 of file TRTStrawEfficiency.h.

◆ m_hole_locR

std::vector<float> TRTStrawEfficiency::m_hole_locR
private

Definition at line 134 of file TRTStrawEfficiency.h.

◆ m_hole_locR_error

std::vector<float> TRTStrawEfficiency::m_hole_locR_error
private

Definition at line 135 of file TRTStrawEfficiency.h.

◆ m_hole_pad

std::vector<int> TRTStrawEfficiency::m_hole_pad
private

Definition at line 127 of file TRTStrawEfficiency.h.

◆ m_hole_phi

std::vector<int> TRTStrawEfficiency::m_hole_phi
private

Definition at line 122 of file TRTStrawEfficiency.h.

◆ m_hole_straw

std::vector<int> TRTStrawEfficiency::m_hole_straw
private

Definition at line 125 of file TRTStrawEfficiency.h.

◆ m_hole_strawlayer

std::vector<int> TRTStrawEfficiency::m_hole_strawlayer
private

Definition at line 124 of file TRTStrawEfficiency.h.

◆ m_hole_x

std::vector<float> TRTStrawEfficiency::m_hole_x
private

Definition at line 128 of file TRTStrawEfficiency.h.

◆ m_hole_y

std::vector<float> TRTStrawEfficiency::m_hole_y
private

Definition at line 129 of file TRTStrawEfficiency.h.

◆ m_hole_z

std::vector<float> TRTStrawEfficiency::m_hole_z
private

Definition at line 130 of file TRTStrawEfficiency.h.

◆ m_lumi_block

unsigned int TRTStrawEfficiency::m_lumi_block
private

Definition at line 88 of file TRTStrawEfficiency.h.

◆ m_max_abs_d0

float TRTStrawEfficiency::m_max_abs_d0
private

Definition at line 53 of file TRTStrawEfficiency.h.

◆ m_max_abs_eta

float TRTStrawEfficiency::m_max_abs_eta
private

Definition at line 57 of file TRTStrawEfficiency.h.

◆ m_max_abs_z0

float TRTStrawEfficiency::m_max_abs_z0
private

Definition at line 54 of file TRTStrawEfficiency.h.

◆ m_min_p

float TRTStrawEfficiency::m_min_p
private

Definition at line 56 of file TRTStrawEfficiency.h.

◆ m_min_pixel_hits

int TRTStrawEfficiency::m_min_pixel_hits
private

Definition at line 58 of file TRTStrawEfficiency.h.

◆ m_min_pT

float TRTStrawEfficiency::m_min_pT
private

Definition at line 55 of file TRTStrawEfficiency.h.

◆ m_min_sct_hits

int TRTStrawEfficiency::m_min_sct_hits
private

Definition at line 59 of file TRTStrawEfficiency.h.

◆ m_min_trt_hits

int TRTStrawEfficiency::m_min_trt_hits
private

Definition at line 60 of file TRTStrawEfficiency.h.

◆ m_n_pixel_hits

int TRTStrawEfficiency::m_n_pixel_hits
private

Definition at line 94 of file TRTStrawEfficiency.h.

◆ m_n_pixel_holes

int TRTStrawEfficiency::m_n_pixel_holes
private

Definition at line 118 of file TRTStrawEfficiency.h.

◆ m_n_primary_vertex

int TRTStrawEfficiency::m_n_primary_vertex
private

Definition at line 140 of file TRTStrawEfficiency.h.

◆ m_n_sct_hits

int TRTStrawEfficiency::m_n_sct_hits
private

Definition at line 95 of file TRTStrawEfficiency.h.

◆ m_n_sct_holes

int TRTStrawEfficiency::m_n_sct_holes
private

Definition at line 119 of file TRTStrawEfficiency.h.

◆ m_n_trt_hits

int TRTStrawEfficiency::m_n_trt_hits
private

Definition at line 96 of file TRTStrawEfficiency.h.

◆ m_n_trt_holes

int TRTStrawEfficiency::m_n_trt_holes
private

Definition at line 120 of file TRTStrawEfficiency.h.

◆ m_n_tube_hits

int TRTStrawEfficiency::m_n_tube_hits
private

Definition at line 141 of file TRTStrawEfficiency.h.

◆ m_num_events

unsigned int TRTStrawEfficiency::m_num_events
private

Definition at line 81 of file TRTStrawEfficiency.h.

◆ m_num_preselected_tracks

unsigned int TRTStrawEfficiency::m_num_preselected_tracks
private

Definition at line 83 of file TRTStrawEfficiency.h.

◆ m_num_tracks

unsigned int TRTStrawEfficiency::m_num_tracks
private

Definition at line 82 of file TRTStrawEfficiency.h.

◆ m_required_trigger

std::string TRTStrawEfficiency::m_required_trigger
private

Definition at line 65 of file TRTStrawEfficiency.h.

◆ m_run_number

unsigned int TRTStrawEfficiency::m_run_number
private

Definition at line 87 of file TRTStrawEfficiency.h.

◆ m_stream_name

std::string TRTStrawEfficiency::m_stream_name
private

Definition at line 64 of file TRTStrawEfficiency.h.

◆ m_track_d0

float TRTStrawEfficiency::m_track_d0
private

Definition at line 92 of file TRTStrawEfficiency.h.

◆ m_track_eta

float TRTStrawEfficiency::m_track_eta
private

Definition at line 90 of file TRTStrawEfficiency.h.

◆ m_track_phi

float TRTStrawEfficiency::m_track_phi
private

Definition at line 91 of file TRTStrawEfficiency.h.

◆ m_track_pt

float TRTStrawEfficiency::m_track_pt
private

Definition at line 89 of file TRTStrawEfficiency.h.

◆ m_track_z0

float TRTStrawEfficiency::m_track_z0
private

Definition at line 93 of file TRTStrawEfficiency.h.

◆ m_tracksKey

SG::ReadHandleKey<TrackCollection> TRTStrawEfficiency::m_tracksKey {this, "track_collection", "CombinedInDetTracks", "Tracks container key"}
private

Definition at line 77 of file TRTStrawEfficiency.h.

◆ m_tree

TTree* TRTStrawEfficiency::m_tree
private

Definition at line 69 of file TRTStrawEfficiency.h.

◆ m_tree_name

std::string TRTStrawEfficiency::m_tree_name
private

Definition at line 63 of file TRTStrawEfficiency.h.

◆ m_trigDec

PublicToolHandle<Trig::ITrigDecisionTool> TRTStrawEfficiency::m_trigDec {this,"ITrigDecisionTool","Trig::ITrigDecisionTool/TrigDecisionTool",""}
private

Definition at line 73 of file TRTStrawEfficiency.h.

◆ m_trt_hole_finder

ToolHandle<Trk::ITrackHoleSearchTool> TRTStrawEfficiency::m_trt_hole_finder
private

Definition at line 52 of file TRTStrawEfficiency.h.

◆ m_TRT_ID

const TRT_ID* TRTStrawEfficiency::m_TRT_ID
private

Definition at line 70 of file TRTStrawEfficiency.h.

◆ m_TRTStrawNeighbourSvc

ServiceHandle<ITRT_StrawNeighbourSvc> TRTStrawEfficiency::m_TRTStrawNeighbourSvc
private

Definition at line 62 of file TRTStrawEfficiency.h.

◆ m_updator

PublicToolHandle<Trk::IUpdator> TRTStrawEfficiency::m_updator {this,"KalmanUpdator","Trk::KalmanUpdator/TrkKalmanUpdator",""}
private

Definition at line 71 of file TRTStrawEfficiency.h.

◆ m_varHandleArraysDeclared

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

Definition at line 399 of file AthCommonDataStore.h.

◆ m_vertexContainerKey

SG::ReadHandleKey<xAOD::VertexContainer> TRTStrawEfficiency::m_vertexContainerKey {this, "VertexContainerName", "PrimaryVertices", "Vertex container key"}
private

Definition at line 79 of file TRTStrawEfficiency.h.

◆ m_vhka

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

Definition at line 398 of file AthCommonDataStore.h.


The documentation for this class was generated from the following files:
TRTStrawEfficiency::m_max_abs_d0
float m_max_abs_d0
Definition: TRTStrawEfficiency.h:53
TRTStrawEfficiency::m_track_phi
float m_track_phi
Definition: TRTStrawEfficiency.h:91
python.PyKernel.retrieve
def retrieve(aClass, aKey=None)
Definition: PyKernel.py:110
TRTStrawEfficiency::m_min_pixel_hits
int m_min_pixel_hits
Definition: TRTStrawEfficiency.h:58
AtlasDetectorID::is_pixel
bool is_pixel(Identifier id) const
Definition: AtlasDetectorID.h:760
TRTStrawEfficiency::m_min_p
float m_min_p
Definition: TRTStrawEfficiency.h:56
TRTStrawEfficiency::m_min_trt_hits
int m_min_trt_hits
Definition: TRTStrawEfficiency.h:60
Trk::TrackStateOnSurface::trackParameters
const TrackParameters * trackParameters() const
return ptr to trackparameters const overload
TRTStrawEfficiency::m_updator
PublicToolHandle< Trk::IUpdator > m_updator
Definition: TRTStrawEfficiency.h:72
TRTStrawEfficiency::m_n_sct_hits
int m_n_sct_hits
Definition: TRTStrawEfficiency.h:95
TRTStrawEfficiency::m_max_abs_z0
float m_max_abs_z0
Definition: TRTStrawEfficiency.h:54
ATH_MSG_FATAL
#define ATH_MSG_FATAL(x)
Definition: AthMsgStreamMacros.h:34
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
TRTStrawEfficiency::m_hole_pad
std::vector< int > m_hole_pad
Definition: TRTStrawEfficiency.h:127
TRTStrawEfficiency::m_hit_center_x
std::vector< float > m_hit_center_x
Definition: TRTStrawEfficiency.h:107
Trk::locX
@ locX
Definition: ParamDefs.h:43
TRTStrawEfficiency::m_hit_ub_z
std::vector< float > m_hit_ub_z
Definition: TRTStrawEfficiency.h:117
AtlasDetectorID::is_sct
bool is_sct(Identifier id) const
Definition: AtlasDetectorID.h:770
Trk::ParametersBase::position
const Amg::Vector3D & position() const
Access method for the position.
SG::ReadHandle
Definition: StoreGate/StoreGate/ReadHandle.h:70
TRTStrawEfficiency::m_hit_bec
std::vector< int > m_hit_bec
Definition: TRTStrawEfficiency.h:97
Trk::ParametersBase::associatedSurface
virtual const Surface & associatedSurface() const override=0
Access to the Surface associated to the Parameters.
AthCommonDataStore< AthCommonMsg< Algorithm > >::declareProperty
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
Definition: AthCommonDataStore.h:145
InDetDD::holes
@ holes
Definition: InDetDD_Defs.h:17
Trk::ParametersT
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
Definition: EMErrorDetail.h:25
TRTStrawEfficiency::m_n_pixel_holes
int m_n_pixel_holes
Definition: TRTStrawEfficiency.h:118
TRTStrawEfficiency::m_hole_z
std::vector< float > m_hole_z
Definition: TRTStrawEfficiency.h:130
Trk::Surface::associatedDetectorElementIdentifier
Identifier associatedDetectorElementIdentifier() const
return Identifier of the associated Detector Element
TRTStrawEfficiency::m_hist_svc
ServiceHandle< ITHistSvc > m_hist_svc
Definition: TRTStrawEfficiency.h:61
TRTStrawEfficiency::m_hit_phi
std::vector< int > m_hit_phi
Definition: TRTStrawEfficiency.h:98
AthCommonDataStore< AthCommonMsg< Algorithm > >::m_evtStore
StoreGateSvc_t m_evtStore
Pointer to StoreGate (event store by default)
Definition: AthCommonDataStore.h:390
AthCommonDataStore< AthCommonMsg< Algorithm > >::m_vhka
std::vector< SG::VarHandleKeyArray * > m_vhka
Definition: AthCommonDataStore.h:398
TRTStrawEfficiency::m_num_preselected_tracks
unsigned int m_num_preselected_tracks
Definition: TRTStrawEfficiency.h:83
TRTStrawEfficiency::m_hit_layer
std::vector< int > m_hit_layer
Definition: TRTStrawEfficiency.h:99
TRTStrawEfficiency::m_hit_chip
std::vector< int > m_hit_chip
Definition: TRTStrawEfficiency.h:102
TRTStrawEfficiency::m_event_number
unsigned int m_event_number
Definition: TRTStrawEfficiency.h:86
TRTStrawEfficiency::make_branches
void make_branches()
Definition: TRTStrawEfficiency.cxx:314
Trk::z0
@ z0
Definition: ParamDefs.h:70
Trk::TrackStateOnSurface::measurementOnTrack
const MeasurementBase * measurementOnTrack() const
returns MeasurementBase const overload
InDet::TRT_DriftCircleOnTrack::highLevel
bool highLevel() const
returns true if the high level threshold was passed
Definition: TRT_DriftCircleOnTrack.h:234
Trk::locR
@ locR
Definition: ParamDefs.h:50
TRTStrawEfficiency::m_n_pixel_hits
int m_n_pixel_hits
Definition: TRTStrawEfficiency.h:94
AtlasDetectorID::is_trt
bool is_trt(Identifier id) const
Definition: AtlasDetectorID.h:782
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
TRTStrawEfficiency::m_track_d0
float m_track_d0
Definition: TRTStrawEfficiency.h:92
SG::VarHandleKey::key
const std::string & key() const
Return the StoreGate ID for the referenced object.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:141
TRTStrawEfficiency::m_hole_chip
std::vector< int > m_hole_chip
Definition: TRTStrawEfficiency.h:126
Trk::Surface::center
const Amg::Vector3D & center() const
Returns the center position of the Surface.
TRTStrawEfficiency::m_min_sct_hits
int m_min_sct_hits
Definition: TRTStrawEfficiency.h:59
InDet::TRT_DriftCircleOnTrack
Definition: TRT_DriftCircleOnTrack.h:53
TRTStrawEfficiency::m_trigDec
PublicToolHandle< Trig::ITrigDecisionTool > m_trigDec
Definition: TRTStrawEfficiency.h:74
TRTStrawEfficiency::m_TRTStrawNeighbourSvc
ServiceHandle< ITRT_StrawNeighbourSvc > m_TRTStrawNeighbourSvc
Definition: TRTStrawEfficiency.h:62
TRTStrawEfficiency::m_TRT_ID
const TRT_ID * m_TRT_ID
Definition: TRTStrawEfficiency.h:70
TRTStrawEfficiency::m_n_trt_hits
int m_n_trt_hits
Definition: TRTStrawEfficiency.h:96
TRTStrawEfficiency::m_hole_straw
std::vector< int > m_hole_straw
Definition: TRTStrawEfficiency.h:125
AmgSymMatrix
#define AmgSymMatrix(dim)
Definition: EventPrimitives.h:52
TRTStrawEfficiency::m_hole_det
std::vector< int > m_hole_det
Definition: TRTStrawEfficiency.h:136
AthenaPoolTestRead.sc
sc
Definition: AthenaPoolTestRead.py:27
TRTStrawEfficiency::m_hole_locR
std::vector< float > m_hole_locR
Definition: TRTStrawEfficiency.h:134
AthCommonDataStore< AthCommonMsg< Algorithm > >::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
TRTStrawEfficiency::m_hit_locR
std::vector< float > m_hit_locR
Definition: TRTStrawEfficiency.h:111
TRTStrawEfficiency::m_hit_HL
std::vector< int > m_hit_HL
Definition: TRTStrawEfficiency.h:112
TRTStrawEfficiency::m_n_primary_vertex
int m_n_primary_vertex
Definition: TRTStrawEfficiency.h:140
TRTStrawEfficiency::m_hole_center_x
std::vector< float > m_hole_center_x
Definition: TRTStrawEfficiency.h:131
TRTStrawEfficiency::m_hit_center_y
std::vector< float > m_hit_center_y
Definition: TRTStrawEfficiency.h:108
TRTStrawEfficiency::m_vertexContainerKey
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexContainerKey
Definition: TRTStrawEfficiency.h:79
TRTStrawEfficiency::m_hit_R
std::vector< float > m_hit_R
Definition: TRTStrawEfficiency.h:110
TRTStrawEfficiency::m_tree
TTree * m_tree
Definition: TRTStrawEfficiency.h:69
TRTStrawEfficiency::m_hole_layer
std::vector< int > m_hole_layer
Definition: TRTStrawEfficiency.h:123
TRTStrawEfficiency::m_track_pt
float m_track_pt
Definition: TRTStrawEfficiency.h:89
TRTStrawEfficiency::m_hole_center_y
std::vector< float > m_hole_center_y
Definition: TRTStrawEfficiency.h:132
TRTStrawEfficiency::m_required_trigger
std::string m_required_trigger
Definition: TRTStrawEfficiency.h:65
TRT_ID::straw
int straw(const Identifier &id) const
Definition: TRT_ID.h:902
TRTStrawEfficiency::m_hole_y
std::vector< float > m_hole_y
Definition: TRTStrawEfficiency.h:129
TRTStrawEfficiency::m_hit_ub_locR
std::vector< float > m_hit_ub_locR
Definition: TRTStrawEfficiency.h:114
TRTStrawEfficiency::m_stream_name
std::string m_stream_name
Definition: TRTStrawEfficiency.h:64
AthCommonDataStore
Definition: AthCommonDataStore.h:52
AthAlgorithm::sysInitialize
virtual StatusCode sysInitialize() override
Override sysInitialize.
Definition: AthAlgorithm.cxx:66
ATH_MSG_ERROR
#define ATH_MSG_ERROR(x)
Definition: AthMsgStreamMacros.h:33
AthCommonDataStore< AthCommonMsg< Algorithm > >::outputHandles
virtual std::vector< Gaudi::DataHandle * > outputHandles() const override
Return this algorithm's output handles.
Trk::TrackStateOnSurface::Hole
@ Hole
A hole on the track - this is defined in the following way.
Definition: TrackStateOnSurface.h:128
TRTStrawEfficiency::m_hit_pad
std::vector< int > m_hit_pad
Definition: TRTStrawEfficiency.h:103
TRTStrawEfficiency::m_trt_hole_finder
ToolHandle< Trk::ITrackHoleSearchTool > m_trt_hole_finder
Definition: TRTStrawEfficiency.h:52
TRTStrawEfficiency::m_num_tracks
unsigned int m_num_tracks
Definition: TRTStrawEfficiency.h:82
Identifier
Definition: DetectorDescription/Identifier/Identifier/Identifier.h:32
Trk::theta
@ theta
Definition: ParamDefs.h:72
TRTStrawEfficiency::m_n_sct_holes
int m_n_sct_holes
Definition: TRTStrawEfficiency.h:119
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
ATH_MSG_DEBUG
#define ATH_MSG_DEBUG(x)
Definition: AthMsgStreamMacros.h:29
TRTStrawEfficiency::m_hit_center_z
std::vector< float > m_hit_center_z
Definition: TRTStrawEfficiency.h:109
Trk::driftRadius
@ driftRadius
trt, straws
Definition: ParamDefs.h:59
TRTStrawEfficiency::m_hit_x
std::vector< float > m_hit_x
Definition: TRTStrawEfficiency.h:104
TRTStrawEfficiency::m_hole_x
std::vector< float > m_hole_x
Definition: TRTStrawEfficiency.h:128
WritePulseShapeToCool.det
det
Definition: WritePulseShapeToCool.py:204
TRTStrawEfficiency::m_eventInfoKey
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfoKey
Definition: TRTStrawEfficiency.h:78
TRTStrawEfficiency::m_hit_strawlayer
std::vector< int > m_hit_strawlayer
Definition: TRTStrawEfficiency.h:100
TRTStrawEfficiency::m_tracksKey
SG::ReadHandleKey< TrackCollection > m_tracksKey
Definition: TRTStrawEfficiency.h:77
ATH_MSG_ALWAYS
#define ATH_MSG_ALWAYS(x)
Definition: AthMsgStreamMacros.h:35
ATH_CHECK
#define ATH_CHECK
Definition: AthCheckMacros.h:40
TRTStrawEfficiency::m_min_pT
float m_min_pT
Definition: TRTStrawEfficiency.h:55
AthCommonDataStore< AthCommonMsg< Algorithm > >::m_detStore
StoreGateSvc_t m_detStore
Pointer to StoreGate (detector store by default)
Definition: AthCommonDataStore.h:393
Trk::ParametersBase
Definition: ParametersBase.h:55
SG::VarHandleKey::initialize
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
Definition: AthToolSupport/AsgDataHandles/Root/VarHandleKey.cxx:103
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
DataVector< const Trk::TrackStateOnSurface >
TRT_ID::layer_or_wheel
int layer_or_wheel(const Identifier &id) const
Definition: TRT_ID.h:884
TRTStrawEfficiency::fill_hit_data
int fill_hit_data(const Trk::TrackStateOnSurface &hit)
Definition: TRTStrawEfficiency.cxx:436
Trk::MeasurementBase::localCovariance
const Amg::MatrixX & localCovariance() const
Interface method to get the localError.
Definition: MeasurementBase.h:138
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
TRTStrawEfficiency::m_track_z0
float m_track_z0
Definition: TRTStrawEfficiency.h:93
Trk::MeasurementBase
Definition: MeasurementBase.h:58
merge_scale_histograms.doc
string doc
Definition: merge_scale_histograms.py:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
Trk::d0
@ d0
Definition: ParamDefs.h:69
TRTStrawEfficiency::m_hit_tube_hit
std::vector< int > m_hit_tube_hit
Definition: TRTStrawEfficiency.h:139
Amg::error
double error(const Amg::MatrixX &mat, int index)
return diagonal error of the matrix caller should ensure the matrix is symmetric and the index is in ...
Definition: EventPrimitivesHelpers.h:40
TRTStrawEfficiency::fill_hole_data
int fill_hole_data(const Trk::TrackStateOnSurface &hole)
Definition: TRTStrawEfficiency.cxx:527
TRTStrawEfficiency::m_hole_phi
std::vector< int > m_hole_phi
Definition: TRTStrawEfficiency.h:122
TRT_ID::phi_module
int phi_module(const Identifier &id) const
Definition: TRT_ID.h:875
TRTStrawEfficiency::m_n_tube_hits
int m_n_tube_hits
Definition: TRTStrawEfficiency.h:141
Trk::MeasurementBase::localParameters
const LocalParameters & localParameters() const
Interface method to get the LocalParameters.
Definition: MeasurementBase.h:132
python.SystemOfUnits.mm
int mm
Definition: SystemOfUnits.py:83
TRTStrawEfficiency::m_max_abs_eta
float m_max_abs_eta
Definition: TRTStrawEfficiency.h:57
TRTStrawEfficiency::m_run_number
unsigned int m_run_number
Definition: TRTStrawEfficiency.h:87
AthAlgorithm::m_extendedExtraObjects
DataObjIDColl m_extendedExtraObjects
Definition: AthAlgorithm.h:79
TRTStrawEfficiency::m_hit_det
std::vector< int > m_hit_det
Definition: TRTStrawEfficiency.h:113
a
TList * a
Definition: liststreamerinfos.cxx:10
TRTStrawEfficiency::m_hit_ub_x
std::vector< float > m_hit_ub_x
Definition: TRTStrawEfficiency.h:115
h
InDet::PixelClusterOnTrack
Definition: PixelClusterOnTrack.h:51
TRTStrawEfficiency::m_n_trt_holes
int m_n_trt_holes
Definition: TRTStrawEfficiency.h:120
ATH_MSG_WARNING
#define ATH_MSG_WARNING(x)
Definition: AthMsgStreamMacros.h:32
Trk::qOverP
@ qOverP
perigee
Definition: ParamDefs.h:73
TRTStrawEfficiency::m_hit_ub_y
std::vector< float > m_hit_ub_y
Definition: TRTStrawEfficiency.h:116
TRTStrawEfficiency::m_hole_bec
std::vector< int > m_hole_bec
Definition: TRTStrawEfficiency.h:121
SG::VarHandleBase::vhKey
SG::VarHandleKey & vhKey()
Return a non-const reference to the HandleKey.
Definition: StoreGate/src/VarHandleBase.cxx:616
TRTStrawEfficiency::m_hole_center_z
std::vector< float > m_hole_center_z
Definition: TRTStrawEfficiency.h:133
declareProperty
#define declareProperty(n, p, h)
Definition: BaseFakeBkgTool.cxx:15
TRTStrawEfficiency::m_lumi_block
unsigned int m_lumi_block
Definition: TRTStrawEfficiency.h:88
Trk::hole
@ hole
Definition: MeasurementType.h:36
TRTStrawEfficiency::m_tree_name
std::string m_tree_name
Definition: TRTStrawEfficiency.h:63
AthAlgorithm::AthAlgorithm
AthAlgorithm()
Default constructor:
python.Bindings.keys
keys
Definition: Control/AthenaPython/python/Bindings.py:790
TRTStrawEfficiency::m_hole_strawlayer
std::vector< int > m_hole_strawlayer
Definition: TRTStrawEfficiency.h:124
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
LHEF::Writer
Pythia8::Writer Writer
Definition: Prophecy4fMerger.cxx:12
TRTStrawEfficiency::m_num_events
unsigned int m_num_events
Definition: TRTStrawEfficiency.h:81
TRTStrawEfficiency::clear_branches
void clear_branches()
Definition: TRTStrawEfficiency.cxx:376
TRTStrawEfficiency::m_hole_locR_error
std::vector< float > m_hole_locR_error
Definition: TRTStrawEfficiency.h:135
GeV
#define GeV
Definition: CaloTransverseBalanceVecMon.cxx:30
TRTStrawEfficiency::m_track_eta
float m_track_eta
Definition: TRTStrawEfficiency.h:90
DataVector::size
size_type size() const noexcept
Returns the number of elements in the collection.
AthCommonDataStore::declareGaudiProperty
Gaudi::Details::PropertyBase & declareGaudiProperty(Gaudi::Property< T > &hndl, const SG::VarHandleKeyType &)
specialization for handling Gaudi::Property<SG::VarHandleKey>
Definition: AthCommonDataStore.h:156
TRTStrawEfficiency::m_hit_z
std::vector< float > m_hit_z
Definition: TRTStrawEfficiency.h:106
Trk::phi0
@ phi0
Definition: ParamDefs.h:71
Trk::TrackStateOnSurface::Measurement
@ Measurement
This is a measurement, and will at least contain a Trk::MeasurementBase.
Definition: TrackStateOnSurface.h:101
TRTStrawEfficiency::m_hit_straw
std::vector< int > m_hit_straw
Definition: TRTStrawEfficiency.h:101
fitman.k
k
Definition: fitman.py:528
InDet::SCT_ClusterOnTrack
Definition: SCT_ClusterOnTrack.h:44
ServiceHandle< ICondSvc >
TRTStrawEfficiency::m_hit_y
std::vector< float > m_hit_y
Definition: TRTStrawEfficiency.h:105