|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #ifndef TrigInDetAnalysisExample_Analysis_Tier0_H
13 #define TrigInDetAnalysisExample_Analysis_Tier0_H
27 #include "GaudiKernel/ToolHandle.h"
38 Analysis_Tier0(
const std::string&
name,
double pTCut,
double etaCut,
double d0Cut,
double z0Cut);
42 virtual void execute(
const std::vector<TIDA::Track*>& referenceTracks,
43 const std::vector<TIDA::Track*>& testTracks,
46 virtual void execute_vtx(
const std::vector<TIDA::Vertex*>& vtx0,
47 const std::vector<TIDA::Vertex*>& vtx1,
54 std::map<std::string, TH1*>::const_iterator
THbegin()
const {
return m_histos.begin(); }
55 std::map<std::string, TH1*>::const_iterator
THend()
const {
return m_histos.end(); }
71 std::string
name =
h->GetName();
72 m_histos.insert( std::map<std::string, TH1*>::value_type(
name,
h) );
76 std::string
name =
h->GetName();
77 m_effhistos.insert( std::map<std::string, TProfile*>::value_type(
name,
h) );
229 #endif // TrigInDetAnalysisExample_Analysis_Tier0_H
TProfile * m_h_npixvsphi_rec
TProfile * m_h_npixvspT_rec
TH1F * m_h_trkdd0_residual
TProfile * m_h_total_efficiency
void setvertices(int numvtx)
TH1F * m_h_trkd0_residual
TProfile * m_h_trkvtx_y_lb
virtual void execute(const std::vector< TIDA::Track * > &tracks1, const std::vector< TIDA::Track * > &tracks2, TrackAssociator *matcher)=0
TProfile * m_h_ntrtvsphi_rec
TProfile * m_h_nsctvseta_rec
virtual void execute_vtx(const std::vector< TIDA::Vertex * > &vtx0, const std::vector< TIDA::Vertex * > &vtx1, const TIDA::Event *tevt=0)
TProfile * m_h_npixvsd0_rec
void set_monTool(ToolHandle< GenericMonitoringTool > *m)
TProfile * m_h_ntrtvseta_rec
TProfile * m_h_d0vsphi_rec
std::map< std::string, TProfile * > m_effhistos
virtual void execute(const std::vector< TIDA::Track * > &referenceTracks, const std::vector< TIDA::Track * > &testTracks, TrackAssociator *associator)
ToolHandle< GenericMonitoringTool > * monTool()
class to keep a directory for each object in a root sort of way, but needed to keep the root objects ...
const std::string & name() const
return identifier
TProfile * m_h_nsctvspT_rec
std::map< std::string, TProfile * >::const_iterator TEffend() const
def TProfile(*args, **kwargs)
Analysis_Tier0(const std::string &name, double pTCut, double etaCut, double d0Cut, double z0Cut)
std::map< std::string, TH1 * >::const_iterator THend() const
virtual void initialise()
standard operation interface
TH1F * m_h_trketa_residual
TProfile * m_h_nsihits_lb_rec
TProfile * m_h_npixvseta_rec
ToolHandle< GenericMonitoringTool > * m_monTool
TH1F * m_h_trkdz0_residual
TH1F * m_h_trkz0_residual
TH1F * m_h_trkipT_residual
TH1F * m_h_trkphi_residual
std::map< std::string, TProfile * >::const_iterator TEffbegin() const
TProfile * m_h_nsihits_lb
std::map< std::string, TH1 * >::const_iterator THbegin() const
TProfile * m_h_trkvtx_z_lb
std::map< std::string, TH1 * > m_histos
TProfile * m_h_trkvtx_x_lb
TProfile * m_h_nsctvsphi_rec
void addHistogram(TH1 *h)
TProfile * m_h_nsctvsd0_rec
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
void addHistogram(TProfile *h)
unsigned long long m_eventid
TH1F * m_h_trkpT_residual