ATLAS Offline Software
Loading...
Searching...
No Matches
IAlignTrackPreProcessor.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 TRKALIGNMENT_ALIGNTRACKPREPROCESSOR_IH
6#define TRKALIGNMENT_ALIGNTRACKPREPROCESSOR_IH
7
20
21#include "GaudiKernel/IAlgTool.h"
23
24#include <fstream>
25
26class TFile;
27
28namespace Trk {
29
30 class Track;
31 class AlignTrack;
32
33 static const InterfaceID
34 IID_Trk_IAlignTrackPreProcessor("IAlignTrackPreProcessor",1,0);
35
36 class IAlignTrackPreProcessor: virtual public IAlgTool {
37
38 public:
39 static const InterfaceID& interfaceID();
40
46
48 virtual void setLogStream(std::ostream * os) { m_logStream = os; }
49
51 virtual void setNtuple(TFile*) {}
52
54 virtual StatusCode fillNtuple() { return StatusCode::SUCCESS; }
55
57 virtual void accumulateVTX(AlignTrack* ) {}
58
59 virtual void solveVTX() {}
60
62 virtual void printSummary() {}
63
64 protected:
65
66 std::ostream * m_logStream = nullptr;
67
68 };
69
70 inline const InterfaceID& IAlignTrackPreProcessor::interfaceID()
71 {
73 }
74
75} // namespace Trk
76
77#endif // TRKALIGNMENT_ALIGNTRACKPREPROCESSOR_IH
An STL vector of pointers that by default owns its pointed-to elements.
AlignTrack is a generalization of a Trk::Track, used as the basic object to contain track information...
Derived DataVector<T>.
Definition DataVector.h:795
virtual void setNtuple(TFile *)
Sets output ntuple file, to be implemented if needed for detector-specific implementation.
virtual void accumulateVTX(AlignTrack *)
methods added for the full VTX fit:
std::ostream * m_logStream
logfile output stream
virtual void setLogStream(std::ostream *os)
sets the output stream for the logfile
virtual StatusCode fillNtuple()
writes tree and histogrms to ntuple
virtual void printSummary()
Print processing summary to logfile.
virtual DataVector< Trk::Track > * processTrackCollection(const DataVector< Trk::Track > *trks)=0
Main processing of track collection.
static const InterfaceID & interfaceID()
Ensure that the ATLAS eigen extensions are properly loaded.
static const InterfaceID IID_Trk_IAlignTrackPreProcessor("IAlignTrackPreProcessor", 1, 0)