|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #ifndef TIDA_TRACKANALYSIS_H
13 #define TIDA_TRACKANALYSIS_H
57 virtual void execute(
const std::vector<TIDA::Track*>& tracks1,
58 const std::vector<TIDA::Track*>& tracks2,
61 virtual void execute(
const std::vector<TIDA::Track*>& tracks1,
62 const std::vector<TIDA::Track*>& tracks2,
65 execute( tracks1, tracks2, matcher );
68 virtual void execute(
const std::vector<TIDA::Track*>& ,
69 const std::vector<TIDA::Track*>& ,
73 virtual void execute(
const std::vector<TIDA::Track*>& tracks1,
74 const std::vector<TIDA::Track*>& tracks2,
81 virtual void execute(
const std::vector<TIDA::Track*>& ,
82 const std::vector<TIDA::Track*>& ,
90 const std::vector<TIDA::Vertex*>& ,
98 std::string
name =
h->GetName();
99 m_histos.insert( std::map<std::string, TH1*>::value_type(
name,
h) );
105 std::map<std::string, TH1*>::const_iterator
begin()
const {
return m_histos.begin(); }
106 std::map<std::string, TH1*>::const_iterator
end()
const {
return m_histos.end(); }
171 return s << ta.
name();
175 #endif // TIDA_TRACKANALYSIS_H
TIDARoiDescriptor * m_roi
void setBeamRef(const std::vector< double > &v)
void setBeamTest(double x, double y, double z=0)
virtual void initialise()=0
standard operation interface
virtual void finalise()=0
Basic event class to contain a vector of chains for trigger analysis
virtual void execute(const std::vector< TIDA::Track * > &tracks1, const std::vector< TIDA::Track * > &tracks2, TrackAssociator *matcher, const TIDA::Event *event, double *)
virtual void execute(const std::vector< TIDA::Track * > &tracks1, const std::vector< TIDA::Track * > &tracks2, TrackAssociator *matcher)=0
const std::map< std::string, TH1 * > & getHistograms() const
access the histograms
virtual void execute_vtx(const std::vector< TIDA::Vertex * > &, const std::vector< TIDA::Vertex * > &, const TIDA::Event *=0)
Describes the Region of Ineterest geometry It has basically 8 parameters.
virtual void execute(const std::vector< TIDA::Track * > &, const std::vector< TIDA::Track * > &, TrackAssociator *, const TIDA::Event *)
const TIDARoiDescriptor * roi() const
void setBeamTest(const std::vector< double > &v)
const std::string & name() const
return identifier
void setevent(TIDA::Event *e)
Generic storage container - to contain objects wrapped as Features
virtual void execute(const std::vector< TIDA::Track * > &tracks1, const std::vector< TIDA::Track * > &tracks2, TrackAssociator *matcher, TrigObjectMatcher *)
void setBeamRef(double x, double y, double z=0)
set the beamline positions
const TIDA::Event * event() const
std::map< std::string, TH1 * > m_histos
lookup table for the histograms by name - does this need to be in the base class?
TIDA::FeatureStore m_store
TrackAnalysis(const std::string &name)
the beam test parts are not really usable in a multithreaded environment
std::map< std::string, TH1 * >::const_iterator end() const
std::map< std::string, TH1 * >::const_iterator begin() const
std::ostream & operator<<(std::ostream &s, const TrackAnalysis &ta)
void setroi(TIDARoiDescriptor *r)
void addHistogram(TH1 *h)
double m_xBeamTest
test sample
virtual void execute(const std::vector< TIDA::Track * > &, const std::vector< TIDA::Track * > &, TrackAssociator *, const TIDA::Event *, double *, TIDARoiDescriptor *)
TrackAnalysis & operator=(const TrackAnalysis &)=delete
TrackAnalysis(const TrackAnalysis &)=delete
std::string m_name
identifier of the of the analysis - also used for the root directory into which the histograms are pu...
TIDA::FeatureStore & store()
double m_xBeamReference
beamline positions reference sample