AANtupleWriter14 Class Reference

#include <AANtupleWriter14.h>

List of all members.

Public Member Functions

 AANtupleWriter14 (const std::string &name, ISvcLocator *pSvcLocator)
 Constructor.
 ~AANtupleWriter14 ()
 Destructor.
virtual StatusCode CBNT_initializeBeforeEventLoop (void)
virtual StatusCode CBNT_initialize (void)
virtual StatusCode CBNT_finalize (void)
virtual StatusCode CBNT_execute (void)
virtual StatusCode CBNT_clear (void)
 clear the data vectors

Static Public Attributes

tuple tdt = TrigDecisionTool()
tuple cfg = TriggerConfigGetter()
 LoadATLASGeometry = True
string DetDescrVersion = "ATLAS-CSC-02-01-00"
string dataset = "default"
string outputdir = ""
 AtlFastFlag = False;
 doAODFix1mm = False;
 doEventWeight = True;
int filenumber = 0
string jetcontainer = "Cone4H1Topo"
int nevents = 1
 doTrackJets = False
 doTrackParticles = False
string jetcontainername = "Jets"
list namelist = ["H1Topo", "UnCalTopo", "Topo", "Tower"]
string truthjetcontainername = ""
tuple truthjetcontainername = jetcontainername.replace(k_string,"Truth")
tuple VertexCollectionSvc = Service( "VertexCollectionSvc" )
tuple VertexCollector = Algorithm( "MPIHiggsAnalysis::VertexCollector" )
tuple HistogramPersistencySvc = Service( "HistogramPersistencySvc" )
tuple data_lib = datatools.DataLib()
string jo_path = ''
tuple dataset = dataset.replace('jo:','')
string datasetname = 'defaultfile'
tuple tuple = dataset.rsplit("/",1)
list datasetname = tuple[len(tuple)-1]
tuple ds = data_lib.find_dataset(dataset)
 datasetname = dataset
string filename = "_"
tuple filename
 CBNTAthenaAware = True
tuple AANTupleStream = AANTupleStream()
tuple MessageSvc = Service( "MessageSvc" )

Private Member Functions

bool get_trigger_data (void)
bool get_trigger_muon_lvl1_data (void)
bool get_trigger_muon_lvl2_data (void)
bool get_trigger_muon_ef_data (void)
bool get_trigger_met_data (void)
bool get_photon_data (void)
bool get_trackparticle_data (void)
bool get_electron_data (void)
bool get_muon_data (void)
bool get_jet_data (void)
bool get_taujet_data (void)
bool get_truthjet_data (void)
bool get_missingEt_data (void)
bool get_truthmissingEt_data (void)
bool get_truthparticle_data (void)
void fill_truthparticle_data (const TruthParticle *m_TruthParticle)
bool get_eventweight_data (void)
bool get_vertex_data (void)
bool get_truth_vertex_data (void)
bool get_track_jet_data (void)
bool get_truth_track_jet_data (void)
unsigned int find_vertex (const Trk::RecVertex *vertex) const
double get_energy_in_cone (const double &cone, const HepLorentzVector &p, const Hep3Vector &vertex)

Private Attributes

StoreGateSvc * m_storeGate
MsgStream * m_log
MPIHiggsAnalysis::VertexCollectionSvcm_vert_coll
IAlgTool * tmp_trackIsolationTool
TrackIsolationTool * m_trackIsolationTool
IToolSvc * m_toolSvc
std::string m_trigger_decision_container
std::string m_trigger_mu_lvl1_container
std::string m_trigger_mu_lvl2_container
std::string m_trigger_mu_ef_container
std::string m_trigger_met_container
std::string m_photon_container
std::string m_electron_container
std::vector< std::string > m_muon_container
std::string m_jet_container
std::string m_taujet_container
std::string m_truthjet_container
std::string m_truthmissingEt_container
std::string m_truthparticle_container
std::string m_vert_coll_svc_name
std::string m_primary_vertex_container
std::string m_track_jet_container
std::string m_truth_track_jet_container
std::string m_track_particle_container
std::string m_showerContainerName
std::string m_trackMatchContainerName
std::string m_tauDetailsContainerName
std::string m_release
std::string m_svnversion
std::string m_date
bool m_AtlFastFlag
bool m_doAODFix1mm
bool m_doEventWeight
int nEvents
int m_truthparticleMaximumLeptonBarcode
bool m_truthparticleNoPDGAbove100
bool m_doTrigger
bool m_trigger_mu_lvl1
bool m_trigger_mu_lvl2
bool m_doMissingEt
bool m_doTrackParticles
bool m_doElectrons
bool m_doPhotons
bool m_doMuons
bool m_doJets
bool m_doTauJets
bool m_doTruthJets
bool m_doTruthParticles
bool m_doTrackJets
bool m_doVertices
std::vector< std::string > v_string_aod_files
std::vector< std::string > v_string_met_container
TTree * tree_aod_file_collection
char char_array_aod_file [200]
TTree * tree_aod_container_keys
char char_array_aod_container_keys [50]
char aodkey_trigger_decision_container [50]
char aodkey_trigger_mu_lvl1_container [50]
char aodkey_trigger_mu_lvl2_container [50]
char aodkey_trigger_mu_ef_container [50]
char aodkey_trigger_met_container [50]
char aodkey_photon_container [50]
char aodkey_electron_container [50]
char aodkey_muon_container [50]
char aodkey_jet_container [50]
char aodkey_taujet_container [50]
char aodkey_truthjet_container [50]
char aodkey_met_container [500]
char aodkey_truthmissingEt_container [50]
char aodkey_truthparticle_container [50]
char aodkey_primary_vertex_container [50]
char aodkey_track_jet_container [50]
char aodkey_truth_track_jet_container [50]
char aodkey_track_particle_container [50]
bool aodkey_AtlFastFlag
bool aodkey_doAODFix1mm
bool aodkey_doTrackJets
bool aodkey_doVertices
int aodkey_truthparticleMaximumLeptonBarcode
bool aodkey_truthparticleNoPDGAbove100
char aodkey_showerContainerName [50]
char aodkey_trackMatchContainerName [50]
char aodkey_tauDetailsContainerName [50]
char aodkey_release [50]
char aodkey_svnversion [50]
char aodkey_date [50]
ToolHandle< TrigDec::TrigDecisionTool > m_trigDec
bool m_trigger_l1_defined
bool m_trigger_l2_defined
bool m_trigger_ef_defined
std::vector< std::string > * m_trigger_keys_l1
std::vector< int > * m_trigger_keys_status_l1
std::vector< int > * m_trigger_keys_prescale_l1
std::vector< std::string > * m_trigger_keys_l2
std::vector< int > * m_trigger_keys_status_l2
std::vector< int > * m_trigger_keys_prescale_l2
std::vector< std::string > * m_trigger_keys_ef
std::vector< int > * m_trigger_keys_status_ef
std::vector< int > * m_trigger_keys_prescale_ef
Int_t m_nb_trigger_mu_lvl1
std::vector< double > * m_trigger_mu_lvl1_eta
std::vector< double > * m_trigger_mu_lvl1_phi
std::vector< int > * m_trigger_mu_lvl1_threshold_number
std::vector< double > * m_trigger_mu_lvl1_threshold_value
std::vector< std::string > * m_trigger_mu_lvl1_threshold_name
std::vector< uint32_t > * m_trigger_mu_lvl1_roiword
std::vector< bool > * m_trigger_mu_lvl1_confirmed
Int_t m_nb_trigger_mu_lvl2
std::vector< double > * m_trigger_mu_lvl2_eta
std::vector< double > * m_trigger_mu_lvl2_phi
std::vector< double > * m_trigger_mu_lvl2_pt
std::vector< float > * m_trigger_mu_lvl2_sigma_pt
Int_t m_nb_trigger_mu_ef
std::vector< double > * m_trigger_mu_ef_eta
std::vector< double > * m_trigger_mu_ef_phi
std::vector< double > * m_trigger_mu_ef_pt
std::vector< double > * m_trigger_mu_ef_charge1
std::vector< double > * m_trigger_mu_ef_charge2
std::vector< int > * m_trigger_mu_ef_code
Double_t m_trigger_met_ex
Double_t m_trigger_met_ey
Double_t m_trigger_met_et
Double_t m_trigger_met_sumEt
Double_t m_trigger_met_RoIword
Int_t m_nb_rec_tracks
std::vector< double > * m_track_p_x
std::vector< double > * m_track_p_y
std::vector< double > * m_track_p_z
std::vector< double > * m_track_E
std::vector< double > * m_track_charge
std::vector< int > * m_track_vertex_index
std::vector< int > * m_track_SCThit
std::vector< int > * m_track_Phit
std::vector< int > * m_track_BLayerhit
std::vector< int > * m_track_TRThit
std::vector< int > * m_track_MDThit
std::vector< int > * m_track_CSChit_eta
std::vector< int > * m_track_TGChit_eta
std::vector< int > * m_track_RPChit_eta
std::vector< int > * m_track_CSChit_phi
std::vector< int > * m_track_TGChit_phi
std::vector< int > * m_track_RPChit_phi
std::vector< double > * m_track_d0
std::vector< double > * m_track_z0
std::vector< double > * m_track_chi2
std::vector< double > * m_track_nDoF
std::vector< double > * m_track_trackIsolationEnergy_s
std::vector< double > * m_track_trackIsolationEnergy_0
std::vector< double > * m_track_trackIsolationEnergy_1
std::vector< double > * m_track_trackIsolationEnergy_2
std::vector< double > * m_track_trackIsolationEnergy_3
Int_t m_nb_rec_electrons
std::vector< double > * m_e_p_x
std::vector< double > * m_e_p_y
std::vector< double > * m_e_p_z
std::vector< double > * m_e_E
std::vector< double > * m_e_calo_p_x
std::vector< double > * m_e_calo_p_y
std::vector< double > * m_e_calo_p_z
std::vector< double > * m_e_calo_E
std::vector< double > * m_e_charge
std::vector< double > * m_e_isEM
std::vector< int > * m_e_id_flag
std::vector< double > * m_e_NeuralNet
std::vector< int > * m_e_egamma_flag
std::vector< int > * m_e_softe_flag
std::vector< double > * m_e_E_over_p
std::vector< double > * m_e_TRTHighThresholdHits
std::vector< double > * m_e_TRTHits
std::vector< double > * m_e_ethad1
std::vector< double > * m_e_Et_in_cone_0
std::vector< double > * m_e_Et_in_cone_1
std::vector< double > * m_e_Et_in_cone_2
std::vector< double > * m_e_Et_in_cone_3
std::vector< int > * m_e_vertex_index
std::vector< double > * m_e_track_Et_in_cone_0
std::vector< double > * m_e_track_Et_in_cone_1
std::vector< double > * m_e_track_Et_in_cone_2
std::vector< double > * m_e_track_Et_in_cone_3
Int_t m_nb_rec_photons
std::vector< double > * m_p_calo_p_x
std::vector< double > * m_p_calo_p_y
std::vector< double > * m_p_calo_p_z
std::vector< double > * m_p_calo_E
std::vector< double > * m_p_charge
std::vector< double > * m_p_isEM
std::vector< double > * m_p_NeuralNet
std::vector< int > * m_p_egamma_flag
std::vector< double > * m_p_Et_in_cone_0
std::vector< double > * m_p_Et_in_cone_1
std::vector< double > * m_p_Et_in_cone_2
std::vector< double > * m_p_Et_in_cone_3
std::vector< double > * m_e_trackIsolationEnergy_0
std::vector< double > * m_e_trackIsolationEnergy_1
std::vector< double > * m_e_trackIsolationEnergy_2
std::vector< double > * m_e_trackIsolationEnergy_3
Int_t m_nb_rec_muons
std::vector< int > * m_mu_alg_flag
std::vector< double > * m_mu_p_x
std::vector< double > * m_mu_p_y
std::vector< double > * m_mu_p_z
std::vector< double > * m_mu_E
std::vector< double > * m_mu_p_x_standalone
std::vector< double > * m_mu_p_y_standalone
std::vector< double > * m_mu_p_z_standalone
std::vector< double > * m_mu_E_standalone
std::vector< double > * m_mu_p_x_ID
std::vector< double > * m_mu_p_y_ID
std::vector< double > * m_mu_p_z_ID
std::vector< double > * m_mu_E_ID
std::vector< double > * m_mu_charge
std::vector< double > * m_mu_fitChi2
std::vector< int > * m_mu_fitNumberDoF
std::vector< double > * m_mu_fitChi2OverDoF
std::vector< double > * m_mu_matchChi2
std::vector< int > * m_mu_matchNumberDoF
std::vector< double > * m_mu_matchChi2OverDoF
std::vector< int > * m_mu_flag
std::vector< int > * m_mu_author
std::vector< int > * m_mu_bestmatch
std::vector< int > * m_mu_hasCombinedMuonTrackParticle
std::vector< double > * m_mu_Et_in_cone_0
std::vector< double > * m_mu_Et_in_cone_1
std::vector< double > * m_mu_Et_in_cone_2
std::vector< double > * m_mu_Et_in_cone_3
std::vector< double > * m_mu_Et_in_cone_4
std::vector< double > * m_mu_Et_in_cone_5
std::vector< double > * m_mu_Et_in_cone_6
std::vector< double > * m_mu_Et_in_cone_7
std::vector< double > * m_mu_trackIsolationEnergy_0
std::vector< double > * m_mu_trackIsolationEnergy_1
std::vector< double > * m_mu_trackIsolationEnergy_2
std::vector< double > * m_mu_trackIsolationEnergy_3
std::vector< double > * m_mu_trackIsolationEnergy_4
std::vector< double > * m_mu_trackIsolationEnergy_5
std::vector< double > * m_mu_trackIsolationEnergy_6
std::vector< double > * m_mu_trackIsolationEnergy_7
std::vector< int > * m_mu_nb_tracks_cone_0
std::vector< int > * m_mu_nb_tracks_cone_1
std::vector< int > * m_mu_nb_tracks_cone_2
std::vector< int > * m_mu_nb_tracks_cone_3
std::vector< int > * m_mu_nb_tracks_cone_4
std::vector< int > * m_mu_nb_tracks_cone_5
std::vector< int > * m_mu_nb_tracks_cone_6
std::vector< int > * m_mu_nb_tracks_cone_7
std::vector< int > * m_mu_vertex_index
std::vector< double > * m_mu_track_Et_in_cone_0
std::vector< double > * m_mu_track_Et_in_cone_1
std::vector< double > * m_mu_track_Et_in_cone_2
std::vector< double > * m_mu_track_Et_in_cone_3
std::vector< double > * m_mu_track_Et_in_cone_4
std::vector< double > * m_mu_track_Et_in_cone_5
std::vector< double > * m_mu_track_Et_in_cone_6
std::vector< double > * m_mu_track_Et_in_cone_7
Int_t m_nb_rec_jets
std::vector< double > * m_jet_p_x
std::vector< double > * m_jet_p_y
std::vector< double > * m_jet_p_z
std::vector< double > * m_jet_E
std::vector< std::string > * m_jet_flag
std::vector< double > * m_jet_btag_weight
std::vector< int > * m_jet_truthflavor
std::vector< int > * m_jet_nb_tracks
std::vector< double > * m_jet_tracks_charge
std::vector< double > * m_jet_tracks_p_x
std::vector< double > * m_jet_tracks_p_y
std::vector< double > * m_jet_tracks_p_z
std::vector< double > * m_jet_tracks_E
Int_t m_nb_tau_jets
std::vector< double > * m_taujet_p_x
std::vector< double > * m_taujet_p_y
std::vector< double > * m_taujet_p_z
std::vector< double > * m_taujet_E
std::vector< int > * m_taujet_flag
std::vector< double > * m_taujet_charge
std::vector< double > * m_taujet_emRadius
std::vector< double > * m_taujet_isolationFraction
std::vector< double > * m_taujet_centralityFraction
std::vector< double > * m_taujet_stripWidth2
std::vector< double > * m_taujet_nStripCells
std::vector< double > * m_taujet_etHadCalib
std::vector< double > * m_taujet_etEMCalib
std::vector< double > * m_taujet_leadingTrackPT
std::vector< double > * m_taujet_trFlightPathSig
std::vector< double > * m_taujet_etOverPtLeadTrack
std::vector< double > * m_taujet_ipSigLeadTrack
std::vector< double > * m_taujet_etChrgHAD
std::vector< double > * m_taujet_etIsolEM
std::vector< double > * m_taujet_etIsolHAD
std::vector< double > * m_taujet_nAssocTracksCore
std::vector< double > * m_taujet_nAssocTracksIsol
std::vector< double > * m_taujet_massTrk3P
std::vector< double > * m_taujet_rWidth2Trk3P
std::vector< double > * m_taujet_signD0Trk3P
std::vector< double > * m_taujet_llh
std::vector< double > * m_taujet_etHadAtEMScale
std::vector< double > * m_taujet_etEMAtEMScale
std::vector< double > * m_taujet_etEMCL
std::vector< double > * m_taujet_etChrgEM
std::vector< double > * m_taujet_etNeuEM
std::vector< double > * m_taujet_etResNeuEM
std::vector< double > * m_taujet_discNN
std::vector< double > * m_taujet_discPDERS
std::vector< double > * m_taujet_lowPtTauJetDiscriminant
std::vector< double > * m_taujet_lowPtTauEleDiscriminant
std::vector< double > * m_taujet_tauENeuralNetwork
std::vector< double > * m_taujet_tauJetNeuralnetwork
std::vector< double > * m_taujet_bdtJet
std::vector< double > * m_taujet_bdtEle
std::vector< int > * m_taujet_nb_tracks
std::vector< double > * m_taujet_track_px_1
std::vector< double > * m_taujet_track_py_1
std::vector< double > * m_taujet_track_pz_1
std::vector< double > * m_taujet_track_e_1
std::vector< int > * m_taujet_track_TRTHighThresholdHits_1
std::vector< int > * m_taujet_track_TRTHits_1
std::vector< double > * m_taujet_track_px_2
std::vector< double > * m_taujet_track_py_2
std::vector< double > * m_taujet_track_pz_2
std::vector< double > * m_taujet_track_e_2
std::vector< int > * m_taujet_track_TRTHighThresholdHits_2
std::vector< int > * m_taujet_track_TRTHits_2
std::vector< double > * m_taujet_track_px_3
std::vector< double > * m_taujet_track_py_3
std::vector< double > * m_taujet_track_pz_3
std::vector< double > * m_taujet_track_e_3
std::vector< int > * m_taujet_track_TRTHighThresholdHits_3
std::vector< int > * m_taujet_track_TRTHits_3
Int_t m_nb_truth_jets
std::vector< double > * m_truthjet_p_x
std::vector< double > * m_truthjet_p_y
std::vector< double > * m_truthjet_p_z
std::vector< double > * m_truthjet_E
std::vector< int > * m_truthjet_flag
std::vector< double > * m_truthjet_btag_weight
std::vector< std::string > * m_met_obj_name
std::vector< double > * m_missing_Etx
std::vector< double > * m_missing_Ety
std::vector< double > * m_missing_Et
std::vector< double > * m_missing_Etsum
Int_t m_nb_truth_particle_all
Int_t m_nb_truth_particle
std::vector< double > * m_truth_particle_pt
std::vector< int > * m_truth_particle_status
std::vector< int > * m_truth_particle_barcode
std::vector< int > * m_truth_particle_pdgId
std::vector< int > * m_truth_particle_nDaughters
std::vector< double > * m_truth_particle_p_x
std::vector< double > * m_truth_particle_p_y
std::vector< double > * m_truth_particle_p_z
std::vector< double > * m_truth_particle_E
std::vector< double > * m_truth_particle_charge
std::vector< int > * m_truth_particle_nParents
std::vector< int > * m_truth_particle_mother0_barcode
std::vector< int > * m_truth_particle_mother0_pdgId
Int_t m_nb_vertices
std::vector< double > * m_vertex_position_x
std::vector< double > * m_vertex_position_y
std::vector< double > * m_vertex_position_z
std::vector< double > * m_vertex_pos_error_x
std::vector< double > * m_vertex_pos_error_y
std::vector< double > * m_vertex_pos_error_z
std::vector< double > * m_vertex_chi2
std::vector< int > * m_vertex_ndof
std::vector< double > * m_vertex_Et
std::vector< int > * m_vertex_nb_tracks
Int_t m_nb_truth_vertices
std::vector< double > * m_truth_vertex_position_x
std::vector< double > * m_truth_vertex_position_y
std::vector< double > * m_truth_vertex_position_z
std::vector< double > * m_truth_vertex_Et
std::vector< int > * m_truth_vertex_nb_tracks
Int_t m_nb_track_jets
std::vector< double > * m_track_jet_p_x
std::vector< double > * m_track_jet_p_y
std::vector< double > * m_track_jet_p_z
std::vector< double > * m_track_jet_E
Int_t m_nb_truth_track_jets
std::vector< double > * m_truth_track_jet_p_x
std::vector< double > * m_truth_track_jet_p_y
std::vector< double > * m_truth_track_jet_p_z
std::vector< double > * m_truth_track_jet_E
Double_t m_event_weight


Detailed Description

load dictionary for reading back: gSystem.Load("libAnalysisTools.so")

Definition at line 74 of file AANtupleWriter14.h.


Member Function Documentation

virtual StatusCode AANtupleWriter14::CBNT_initializeBeforeEventLoop ( void   )  [virtual]

initialize method as required by the base class

virtual StatusCode AANtupleWriter14::CBNT_initialize ( void   )  [virtual]

initialize method as required by the base class

virtual StatusCode AANtupleWriter14::CBNT_finalize ( void   )  [virtual]

finalize method as required by the base class

virtual StatusCode AANtupleWriter14::CBNT_execute ( void   )  [virtual]

event analysis method as required by the base class


Member Data Documentation

ToolHandle<TrigDec::TrigDecisionTool> AANtupleWriter14::m_trigDec [private]

tool to access the trigger decision

Definition at line 224 of file AANtupleWriter14.h.

tuple AANtupleWriter14::filename [static]

Initial value:

filename.replace(jetcontainername,
                               jetcontainername+"_"+str(filenumber))

Definition at line 213 of file AANtupleWriter14.py.


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