|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #ifndef ANALYSIS_CONFANALYSIS_H
13 #define ANALYSIS_CONFANALYSIS_H
41 inline const std::string
clean( std::string
s) {
64 std::cout <<
"ConfAnalysis::ConfAnalysis() " <<
TrackAnalysis::name() <<
" ..." << std::endl;
72 for ( ; hitr!=hend ; ++hitr )
delete hitr->second;
76 for ( ; hitr2D!=hend2D ; ++hitr2D )
delete hitr2D->second;
84 virtual void execute(
const std::vector<TIDA::Track*>& reftracks,
85 const std::vector<TIDA::Track*>& testtracks,
89 virtual void execute(
const std::vector<TIDA::Track*>& reftracks,
90 const std::vector<TIDA::Track*>& testtracks,
95 virtual void execute(
const std::vector<TIDA::Track*>& reftracks,
96 const std::vector<TIDA::Track*>& testtracks,
104 virtual void execute(
const std::vector<TIDA::Track*>& reftracks,
105 const std::vector<TIDA::Track*>& testtracks,
133 std::string
name =
h->GetName();
134 m_histos.insert( std::map<std::string, TH1F*>::value_type(
name,
h) );
137 std::string
name =
h->GetName();
138 m_histos2D.insert( std::map<std::string, TH2F*>::value_type(
name,
h) );
143 if ( hmitr!=
m_histos.end() )
return hmitr->second;
149 if ( hmitr!=
m_histos2D.end() )
return hmitr->second;
383 return s <<
ca.name();
390 #endif // ANALYSIS_CONFANALYSIS_H
JetConstituentVector::iterator iterator
std::string replace(std::string s, const std::string &s2, const std::string &s3)
Resplot * m_rnpix_phi_rec
Resplot * m_rChi2prob_rec
std::ostream & operator<<(std::ostream &s, const ConfAnalysis &ca)
Efficiency2D * m_eff_d0_vs_pt
std::vector< Resplot * > m_rptres
virtual void initialiseInternal()
virtual TH1F * getHist_invmassObj()
virtual void finalise()
calculate the efficiencies and write them out with all the histograms
Efficiency1D * m_purity_pt
const TIDARoiDescriptor * m_roi
Efficiency1D * m_purity_phi
bool m_initialiseFirstEvent
Resplot * m_rnsct_vs_npix
virtual void execute(const std::vector< TIDA::Track * > &tracks1, const std::vector< TIDA::Track * > &tracks2, TrackAssociator *matcher)=0
std::map< std::string, TH2F * > m_histos2D
Efficiency1D * m_eff_vs_mu
std::vector< Resplot * > m_rd0res
TH1F * m_etovpt_raw
electron specific ET/PT related stuff
Efficiency1D * m_eff_vs_ntracks
Resplot * m_rnsihit_eta_rec
Resplot * m_rnpix_eta_rec
Efficiency1D * m_eff_vs_mult
const ChainString & config() const
bool m_print
flag to print out the matched tracks etc
Efficiency1D * m_eff_roi_dR
Describes the Region of Ineterest geometry It has basically 8 parameters.
virtual void initialise()
book all the histograms
TH1F * find(const std::string &n)
const TIDARoiDescriptor * roi() const
std::vector< Resplot * > m_rDz0res
void addHistogram2D(TH2F *h)
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
const std::string clean(std::string s)
Resplot * m_rnsct_eta_rec
std::map< int, int > m_rmap
Efficiency1D * m_eff_vs_et
virtual void execute(const std::vector< TIDA::Track * > &reftracks, const std::vector< TIDA::Track * > &testtracks, TrackAssociator *matcher)
std::vector< Resplot * > m_riptres
Efficiency1D * m_purity_a0
void addHistogram(TH1F *h)
Efficiency1D * m_eff_roi_deta
Efficiency1D * m_eff_vs_nvtx
std::vector< Resplot * > m_retares
Resplot * m_rd0_vs_phi
beam spot dependent
virtual void execute(const std::vector< TIDA::Track * > &reftracks, const std::vector< TIDA::Track * > &testtracks, TrackAssociator *matcher, const TIDA::Event *)
Efficiency2D * m_eff_eta_vs_pt
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
std::vector< Resplot * > m_rzedthetares
void setTnPtool(TagNProbe *TnP_tool)
emacs: this is -*- c++ -*-
ConfAnalysis(const std::string &name, const ChainString &config, TagNProbe *TnP_tool=0)
Resplot * m_rnsct_phi_rec
Resplot * m_rntrt_phi_rec
Resplot * m_rChi2prob_bad
Resplot * m_rRoi_dzed_vs_eta
int m_Nreco
number of reconstructed tracks
Efficiency1D * m_eff_roi_dphi
Efficiency1D * m_eff_vs_lb
virtual TagNProbe * getTnPtool()
Resplot * m_rnsct_vs_npix_rec
Efficiency1D * m_purity_d0
Resplot * m_rRoi_deta_vs_eta
Residuals.
virtual TH1F * getHist_invmass()
Efficiency1D * m_eff_vs_etovpt
std::vector< Resplot * > m_rDd0res
Efficiency1D * m_purity_z0
std::vector< Resplot * > m_retaresPull
std::vector< Resplot * > m_rzedresPull
Resplot * m_rChi2d_vs_Chi2d
void initialiseFirstEvent(bool b=true)
Resplot * m_rntrt_eta_rec
virtual void execute(const std::vector< TIDA::Track * > &reftracks, const std::vector< TIDA::Track * > &testtracks, TrackAssociator *matcher, TrigObjectMatcher *objects)
TH2F * find2D(const std::string &n)
Resplot * m_rnscth_pt_rec
std::vector< Resplot * > m_res
Resplot * m_rd0_vs_phi_rec
std::vector< Resplot * > m_rptresPull
std::vector< Resplot * > m_rphires
std::vector< Resplot * > m_rd0resPull
Resplot * m_rnpixh_pt_rec
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
std::vector< Resplot * > m_rphiresPull
Efficiency1D * m_eff_vs_ntracks2
Efficiency1D * m_purity_eta
Resplot * m_rRoi_dphi_vs_eta
void setRoi(const TIDARoiDescriptor *roi)
std::map< std::string, TH1F * > m_histos
std::vector< Resplot * > m_rDa0res
std::vector< Resplot * > m_rzedres
std::vector< Resplot * > m_riptresPull