Class Reference for E1039 Core & Analysis Software
AnaCleanAndMessyData.h
Go to the documentation of this file.
1 #ifndef _ANA_CLEAN_AND_MESSY_DATA__H_
2 #define _ANA_CLEAN_AND_MESSY_DATA__H_
3 #include "TreeData.h"
4 class TFile;
5 class TTree;
6 class TH1;
7 
10  int m_verb;
11 
13  TFile* m_cl_file;
14  TTree* m_cl_tree;
15  EventData* m_cl_evt;
16  TrackList* m_cl_trk_true;
17  TrackList* m_cl_trk_reco;
18  DimuonList* m_cl_dim_true;
19  DimuonList* m_cl_dim_reco;
20 
22  TFile* m_me_file;
23  TTree* m_me_tree;
24  EventData* m_me_evt;
25  TrackList* m_me_trk_true;
26  TrackList* m_me_trk_reco;
27  DimuonList* m_me_dim_true;
28  DimuonList* m_me_dim_reco;
29 
31  TFile* m_out_file;
32  TH1* m_h1_trk_pos_cl;
33  TH1* m_h1_trk_pos_me;
34  TH1* m_h1_trk_neg_cl;
35  TH1* m_h1_trk_neg_me;
36  TH1* m_h1_dim_cl;
37  TH1* m_h1_dim_me;
38 
39  public:
41  virtual ~AnaCleanAndMessyData();
42  void Init(const char* fn_clean, const char* fn_messy);
43  void Analyze();
44  void End();
45 
46  void Verbosity(const int verb) { m_verb = verb; }
47  int Verbosity() const { return m_verb; }
48 
49  private:
50  void AnalyzeEvent();
51  void DrawAndWriteOutput();
52 };
53 
54 #endif // _ANA_CLEAN_AND_MESSY_DATA__H_
std::vector< DimuonData > DimuonList
Definition: TreeData.h:54
std::vector< TrackData > TrackList
Definition: TreeData.h:53
A SubsysReco module to analyze the non-embedded and embedded data at once.
void Verbosity(const int verb)
void Init(const char *fn_clean, const char *fn_messy)
void Analyze()
Function to analyze a pair of non-embedded and embedded (i.e. clean and messy) data.