ATLAS Offline Software
Public Member Functions | Protected Attributes | Private Attributes | List of all members
VertexAnalysis Class Referenceabstract

#include <VertexAnalysis.h>

Inheritance diagram for VertexAnalysis:
Collaboration diagram for VertexAnalysis:

Public Member Functions

 VertexAnalysis (const std::string &n)
 
virtual ~VertexAnalysis ()
 
const std::string & name () const
 
virtual void initialise ()=0
 
virtual void execute (const std::vector< TIDA::Vertex * > &vtx0, const std::vector< TIDA::Vertex * > &vtx1, const TIDA::Event *te=0)=0
 
virtual void finalise ()=0
 
void addHistogram (TH1 *h)
 
void addHistogram (TProfile *h)
 
const std::vector< TH1 * > & objects () const
 
const std::vector< TProfile * > & profs () const
 

Protected Attributes

std::vector< TH1 * > m_histos
 
std::vector< TProfile * > m_profs
 

Private Attributes

std::string m_name
 

Detailed Description

Definition at line 25 of file VertexAnalysis.h.

Constructor & Destructor Documentation

◆ VertexAnalysis()

VertexAnalysis::VertexAnalysis ( const std::string &  n)
inline

Definition at line 29 of file VertexAnalysis.h.

29 : m_name(n) { }

◆ ~VertexAnalysis()

virtual VertexAnalysis::~VertexAnalysis ( )
inlinevirtual

Definition at line 31 of file VertexAnalysis.h.

31 { }

Member Function Documentation

◆ addHistogram() [1/2]

void VertexAnalysis::addHistogram ( TH1 *  h)
inline

Definition at line 43 of file VertexAnalysis.h.

43 { m_histos.push_back( h ); }

◆ addHistogram() [2/2]

void VertexAnalysis::addHistogram ( TProfile *  h)
inline

Definition at line 45 of file VertexAnalysis.h.

45 { m_profs.push_back( h ); }

◆ execute()

virtual void VertexAnalysis::execute ( const std::vector< TIDA::Vertex * > &  vtx0,
const std::vector< TIDA::Vertex * > &  vtx1,
const TIDA::Event te = 0 
)
pure virtual

Implemented in ConfVtxAnalysis, VtxAnalysis, and VtxR3Analysis.

◆ finalise()

virtual void VertexAnalysis::finalise ( )
pure virtual

Implemented in VtxAnalysis, VtxR3Analysis, and ConfVtxAnalysis.

◆ initialise()

virtual void VertexAnalysis::initialise ( )
pure virtual

Implemented in VtxAnalysis, VtxR3Analysis, and ConfVtxAnalysis.

◆ name()

const std::string& VertexAnalysis::name ( ) const
inline

Definition at line 33 of file VertexAnalysis.h.

33 { return m_name; }

◆ objects()

const std::vector<TH1*>& VertexAnalysis::objects ( ) const
inline

Definition at line 47 of file VertexAnalysis.h.

47 { return m_histos; }

◆ profs()

const std::vector<TProfile*>& VertexAnalysis::profs ( ) const
inline

Definition at line 48 of file VertexAnalysis.h.

48 { return m_profs; }

Member Data Documentation

◆ m_histos

std::vector<TH1*> VertexAnalysis::m_histos
protected

Definition at line 52 of file VertexAnalysis.h.

◆ m_name

std::string VertexAnalysis::m_name
private

Definition at line 57 of file VertexAnalysis.h.

◆ m_profs

std::vector<TProfile*> VertexAnalysis::m_profs
protected

Definition at line 53 of file VertexAnalysis.h.


The documentation for this class was generated from the following file:
VertexAnalysis::m_profs
std::vector< TProfile * > m_profs
Definition: VertexAnalysis.h:53
beamspotman.n
n
Definition: beamspotman.py:731
VertexAnalysis::m_histos
std::vector< TH1 * > m_histos
Definition: VertexAnalysis.h:52
VertexAnalysis::m_name
std::string m_name
Definition: VertexAnalysis.h:57
h