Class Reference for E1039 Core & Analysis Software
AnaSignal.h
Go to the documentation of this file.
1 #ifndef _ANA_SIGNAL__H_
2 #define _ANA_SIGNAL__H_
3 #include "RoadMap.h"
4 #include "RoadList.h"
5 #include "TreeData.h"
6 #include "AnaBase.h"
7 class TTree;
8 
9 class AnaSignal : public AnaBase {
10  protected:
11  double m_mass_lo;
12  double m_mass_hi;
17 
19 
20  public:
21  AnaSignal(const std::string label="ana_signal");
22  virtual ~AnaSignal();
23 
24  void SetMassRange(const double mass_lo, const double mass_hi);
25 
26  virtual void Init();
27  virtual void End();
28  virtual void ReadEvents(const char* fname="signal_tree.root");
29  virtual void Analyze();
30 
35 
36  protected:
37  virtual void ProcessOneEvent();
38 };
39 
40 #endif // _ANA_SIGNAL__H_
Definition: AnaBase.h:6
virtual void ProcessOneEvent()
Definition: AnaSignal.cc:70
virtual void Init()
Definition: AnaSignal.cc:35
virtual void End()
Definition: AnaSignal.cc:40
double m_mass_lo
Definition: AnaSignal.h:11
double m_mass_hi
Definition: AnaSignal.h:12
AnaSignal(const std::string label="ana_signal")
Definition: AnaSignal.cc:12
RoadMap * GetRoadMapPosTop()
Definition: AnaSignal.h:31
virtual ~AnaSignal()
Definition: AnaSignal.cc:24
RoadMap m_road_map_neg_top
Definition: AnaSignal.h:15
virtual void Analyze()
Definition: AnaSignal.cc:87
RoadMap * GetRoadMapNegBot()
Definition: AnaSignal.h:34
RoadMap * GetRoadMapNegTop()
Definition: AnaSignal.h:33
void SetMassRange(const double mass_lo, const double mass_hi)
Definition: AnaSignal.cc:29
RoadMap * GetRoadMapPosBot()
Definition: AnaSignal.h:32
RoadMap m_road_map_neg_bot
Definition: AnaSignal.h:16
virtual void ReadEvents(const char *fname="signal_tree.root")
Definition: AnaSignal.cc:45
SignalData * m_sig_data
Definition: AnaSignal.h:18
RoadMap m_road_map_pos_bot
Definition: AnaSignal.h:14
RoadMap m_road_map_pos_top
Definition: AnaSignal.h:13
Class to hold a non-ordered set (i.e. map) of roads.
Definition: RoadMap.h:8