ATLAS Offline Software
AlignTrackCreator.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TRKALIGNGENTOOLS_ALIGN_TRACK_CREATOR_H
6 #define TRKALIGNGENTOOLS_ALIGN_TRACK_CREATOR_H
7 
8 #include "GaudiKernel/ToolHandle.h"
10 
12 
13 #include <vector>
14 
25 class AtlasDetectorID;
26 
27 namespace Trk {
28 
29  class AlignTrack;
30  class AlignTSOS;
31  class MeasurementTypeID;
32  class IAlignModuleTool;
34 
35  class AlignTrackCreator : virtual public IAlignTrackCreator, public AthAlgTool {
36 
37  public:
38  AlignTrackCreator(const std::string& type, const std::string& name,
39  const IInterface* parent);
40  virtual ~AlignTrackCreator();
41 
44 
47 
48  private:
49 
50  // private variables
51  ToolHandle<IAlignModuleTool> m_alignModuleTool;
52  ToolHandle<IAlignResidualCalculator> m_residualCalculator;
53 
56 
57  std::vector< std::pair<int,int> > m_goodEventList;
58 
59  std::string m_eventListName;
64 
65  }; // end class
66 
67 } // end namespace
68 
69 #endif // TRKALIGNGENTOOLS_ALIGN_TRACK_CREATOR_H
Trk::AlignTrackCreator::finalize
StatusCode finalize()
Definition: AlignTrackCreator.cxx:92
IAlignResidualCalculator
Interface for tool used to calculate residuals.
Trk::AlignTrackCreator::initialize
StatusCode initialize()
Definition: AlignTrackCreator.cxx:64
Trk::AlignTrackCreator::AlignTrackCreator
AlignTrackCreator(const std::string &type, const std::string &name, const IInterface *parent)
Definition: AlignTrackCreator.cxx:35
Trk::AlignTrackCreator::m_eventListName
std::string m_eventListName
good events read in from ASCII file
Definition: AlignTrackCreator.h:59
Trk::AlignTrackCreator::m_requireOverlap
bool m_requireOverlap
write selected events to event list ASCII file
Definition: AlignTrackCreator.h:61
IAlignTrackCreator.h
Trk::AlignTrackCreator::m_alignModuleTool
ToolHandle< IAlignModuleTool > m_alignModuleTool
Definition: AlignTrackCreator.h:51
Trk::AlignTrackCreator::m_idHelper
const AtlasDetectorID * m_idHelper
Definition: AlignTrackCreator.h:54
Trk::AlignTrackCreator::processAlignTrack
bool processAlignTrack(AlignTrack *track)
creates AlignTrack containing all TSOS on track
Definition: AlignTrackCreator.cxx:117
Trk::AlignTrackCreator::m_includeScatterers
bool m_includeScatterers
remove AlignTSOS not in AlignModules
Definition: AlignTrackCreator.h:63
AlignTSOS
AlignTSOS is a TSOS with extra variables useful for alignment. It is created using an implementation ...
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
Trk::AlignTrackCreator::m_goodEventList
std::vector< std::pair< int, int > > m_goodEventList
Definition: AlignTrackCreator.h:57
Trk
Ensure that the ATLAS eigen extensions are properly loaded.
Definition: FakeTrackBuilder.h:9
Trk::AlignTrackCreator::m_residualCalculator
ToolHandle< IAlignResidualCalculator > m_residualCalculator
Definition: AlignTrackCreator.h:52
Trk::AlignTrackCreator::~AlignTrackCreator
virtual ~AlignTrackCreator()
Definition: AlignTrackCreator.cxx:58
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
Trk::MeasurementTypeID
classifies a MeasurementBase into one of the known inherited flavours or one of the detector types fo...
Definition: MeasurementTypeID.h:26
Trk::AlignTrackCreator::m_measTypeIdHelper
MeasurementTypeID * m_measTypeIdHelper
Definition: AlignTrackCreator.h:55
Trk::AlignTrack
Definition: AlignTrack.h:41
Trk::AlignTrackCreator::m_writeEventList
bool m_writeEventList
name of event list ASCII file
Definition: AlignTrackCreator.h:60
Trk::IAlignTrackCreator
Definition: IAlignTrackCreator.h:30
Trk::AlignTrackCreator
Definition: AlignTrackCreator.h:35
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
xAOD::track
@ track
Definition: TrackingPrimitives.h:512
AthAlgTool
Definition: AthAlgTool.h:26
Trk::AlignTrackCreator::m_removeATSOSNotInAlignModule
bool m_removeATSOSNotInAlignModule
keep only tracks that pass through 2 or more AlignModules
Definition: AlignTrackCreator.h:62
AtlasDetectorID
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
Definition: AtlasDetectorID.h:57
AlignTrack
AlignTrack is a generalization of a Trk::Track, used as the basic object to contain track information...