NtupleReaderFast Class Reference

#include <NtupleReaderFast.h>

List of all members.

Public Member Functions

 NtupleReaderFast (const std::vector< std::string > &file_name, const std::string &tree_name, MyAnalysis *analysis)
 ~NtupleReaderFast (void)
 Destructor.
void event_loop (void)

Private Member Functions

void init (const std::vector< std::string > &file_name, const std::string &tree_name, MyAnalysis *analysis)
void destruct (void)
void delete_new_objects (std::vector< MyParticle * > tmp_vector)

Private Attributes

TChain * m_chain
Int_t RunNumber
Int_t EventNumber
Char_t StreamATLFAST_ref
Char_t Stream1_ref [153]
Char_t Token [153]
Int_t Run
Int_t Event
Int_t Time
Double_t Weight
Int_t IEvent
Int_t NELE
Float_t PXELE [12]
Float_t PYELE [12]
Float_t PZELE [12]
Float_t EEELE [12]
std::vector< double > * e_calo_p_x
std::vector< double > * e_calo_p_y
std::vector< double > * e_calo_p_z
std::vector< double > * e_calo_E
Int_t KFELE [12]
std::vector< double > * e_NeuralNet
std::vector< double > * e_isEM
std::vector< int > * e_egamma_flag
std::vector< int > * e_softe_flag
std::vector< double > * e_E_over_p
std::vector< double > * e_Et_in_cone_0
std::vector< double > * e_Et_in_cone_1
std::vector< double > * e_Et_in_cone_2
std::vector< double > * e_Et_in_cone_3
Int_t NMUO
Float_t PXMUO [12]
Float_t PYMUO [12]
Float_t PZMUO [12]
Float_t EEMUO [12]
Int_t KFMUO [12]
std::vector< int > * mu_rec_flag
std::vector< double > * mu_Et_in_cone_0
std::vector< double > * mu_Et_in_cone_1
std::vector< double > * mu_Et_in_cone_2
std::vector< double > * mu_Et_in_cone_3
std::vector< double > * mu_Et_in_cone_4
std::vector< double > * mu_Et_in_cone_5
std::vector< double > * mu_Et_in_cone_6
std::vector< double > * mu_Et_in_cone_7
std::vector< int > * mu_nb_tracks_in_cone_0
std::vector< int > * mu_nb_tracks_in_cone_1
std::vector< int > * mu_nb_tracks_in_cone_2
std::vector< int > * mu_nb_tracks_in_cone_3
std::vector< int > * mu_nb_tracks_in_cone_4
std::vector< int > * mu_nb_tracks_in_cone_5
std::vector< int > * mu_nb_tracks_in_cone_6
std::vector< int > * mu_nb_tracks_in_cone_7
Int_t NJET
Int_t KFJET [40]
Float_t PXJET [40]
Float_t PYJET [40]
Float_t PZJET [40]
Float_t EEJET [40]
std::vector< int > * jet_flag
Float_t BTAG [40]
Float_t BCORR [40]
Float_t TAUTAG [40]
Float_t TAUCORR [40]
std::vector< int > * jet_truthflavor
Int_t JETTAU
std::vector< double > * taujet_p_x
std::vector< double > * taujet_p_y
std::vector< double > * taujet_p_z
std::vector< double > * taujet_E
std::vector< int > * taujet_flag
std::vector< double > * taujet_charge
std::vector< double > * taujet_llh
std::vector< double > * taujet_lowPtTauEleDiscriminant
std::vector< double > * taujet_tauENeuralNetwork
std::vector< double > * taujet_etHadCalib
std::vector< double > * taujet_etEMCalib
std::vector< int > * taujet_nb_tracks
std::vector< double > * taujet_track_px_1
std::vector< double > * taujet_track_py_1
std::vector< double > * taujet_track_pz_1
std::vector< double > * taujet_track_e_1
std::vector< double > * taujet_track_px_2
std::vector< double > * taujet_track_py_2
std::vector< double > * taujet_track_pz_2
std::vector< double > * taujet_track_e_2
std::vector< double > * taujet_track_px_3
std::vector< double > * taujet_track_py_3
std::vector< double > * taujet_track_pz_3
std::vector< double > * taujet_track_e_3
Float_t PXMISS
Float_t PYMISS
Float_t MET_ExTruthInt
Float_t MET_EyTruthInt
Float_t MET_EtSumTruthInt
Float_t MET_ExTruthNonInt
Float_t MET_EyTruthNonInt
Float_t MET_EtSumTruthNonInt
Float_t MET_ExTruthIntCentral
Float_t MET_EyTruthIntCentral
Float_t MET_EtSumTruthIntCentral
Float_t MET_ExTruthIntFwd
Float_t MET_EyTruthIntFwd
Float_t MET_EtSumTruthIntFwd
Float_t MET_ExTruthMuons
Float_t MET_EyTruthMuons
Float_t MET_EtSumTruthMuons
Int_t ProcId
Int_t NPar
Int_t Type [1000]
Float_t PtGen [1000]
Float_t PhiGen [1000]
Float_t EtaGen [1000]
Float_t MGen [1000]
Float_t Charge [1000]
Int_t GenStat [1000]
Int_t GenRef [1000]
Int_t KMothNt [1000]
Int_t KFDauNt [1000]
Int_t KLDauNt [1000]
Int_t KOriVNt [1000]
Int_t KEndVNt [1000]
Int_t BunchNum [1000]
Int_t NPART
Int_t KPPART [40]
Int_t KSPART [40]
Int_t KFPART [40]
Int_t KPMOTH [40]
Int_t KFMOTH [40]
Float_t PXPART [40]
Float_t PYPART [40]
Float_t PZPART [40]
Float_t EEPART [40]
Float_t RVGen [1000]
Float_t PhiVGen [1000]
Float_t ZVGen [1000]
Int_t NVer
Int_t BunchV [1000]
Float_t RV [1000]
Float_t PhiV [1000]
Float_t ZV [1000]
Int_t GenRefV [1000]
Int_t KVMothNt [1000]
Int_t KVFDauNt [1000]
Int_t KVLDauNt [1000]
Int_t IVPrimary
Int_t jetNumC4McJets
Float_t jetEtaC4McJets [40]
Float_t jetPhiC4McJets [40]
Float_t jetEC4McJets [40]
Float_t jetEtC4McJets [40]
Float_t jetMC4McJets [40]
Float_t jetEemC4McJets [40]
MyAnalysism_analysis


Detailed Description

This class reads AAN written by HiggsAnalysisNtupleWriter and call a user analysis class which get the data stored in the AAN in MyEvent objects. It can be used inside ROOT, but could also be called via the joboptions of an algorithm NtupleReaderAlg in ATHENA.

Date:
7.11.2006
Author:
Thies.Ehrich

Definition at line 41 of file NtupleReaderFast.h.


Constructor & Destructor Documentation

NtupleReaderFast::NtupleReaderFast ( const std::vector< std::string > &  file_name,
const std::string &  tree_name,
MyAnalysis analysis 
) [inline]

Constructor; file_name: name of the ROOT files containing the AAN tree; tree_name: name of the AAN tree containing the event data; analysis: analysis object to be implemented by the user

Definition at line 45 of file NtupleReaderFast.h.


Member Function Documentation

void NtupleReaderFast::event_loop ( void   ) 

method which loop over the given data file and calls the routines of the class MyAnalysis

Definition at line 504 of file NtupleReaderFast.cxx.


The documentation for this class was generated from the following files:
Generated on Tue Oct 21 11:50:49 2008 for NtupleAnalysis by  doxygen 1.5.1