|
ATLAS Offline Software
|
Go to the documentation of this file.
12 #ifndef TIDAEXAMPLE_SIGANALYSIS_H
13 #define TIDAEXAMPLE_SIGANALYSIS_H
41 std::cout <<
"SigAnalysis::~SigAnalysis() " <<
name() << std::endl;
44 for ( ; hitr!=hend ; hitr++ )
delete hitr->second;
49 for (
int i=4 ;
i-- ; ) {
delete heff[
i];
delete hpurity[
i]; }
58 virtual void initialise();
60 virtual void execute(
const std::vector<TIDA::Track*>& reftracks,
61 const std::vector<TIDA::Track*>& testtracks,
64 virtual void finalise();
71 std::string
name =
h->GetName();
72 m_histos.insert( std::map<std::string, TH1F*>::value_type(
name,
h) );
77 if ( hmitr!=m_histos.end() )
return hmitr->second;
130 #endif // TIDAEXAMPLE_SIGANALYSIS_H
JetConstituentVector::iterator iterator
SigAnalysis(const std::string &name)
virtual void execute(const std::vector< TIDA::Track * > &tracks1, const std::vector< TIDA::Track * > &tracks2, TrackAssociator *matcher)=0
TH1F * find(const std::string &n)
Efficiency1D * m_purity_phi
def TH2F(name, title, nxbins, bins_par2, bins_par3, bins_par4, bins_par5=None, bins_par6=None, path='', **kwargs)
class to keep a directory for each object in a root sort of way, but needed to keep the root objects ...
Efficiency1D * m_purity_pt
bool m_print
flag to print out the matched tracks etc
std::string name() const
return identifier
Efficiency1D * m_purity_eta
std::map< std::string, TH1F * > m_histos
int m_icount
Event counter.
Efficiency1D * m_purity_z0
void addHistogram(TH1F *h)
def TH1F(name, title, nxbins, bins_par2, bins_par3=None, path='', **kwargs)
int m_Nreco
number of reconstructed tracks
std::ostream & operator<<(std::ostream &s, const SigAnalysis &)