Class Reference for E1039 Core & Analysis Software
AnaSignal Class Reference

#include </dev/shm/kenichi/update-github-e1039-doc/e1039-analysis/GenRoadset/src/AnaSignal.h>

+ Inheritance diagram for AnaSignal:
+ Collaboration diagram for AnaSignal:

Public Member Functions

 AnaSignal (const std::string label="ana_signal")
 
virtual ~AnaSignal ()
 
void SetMassRange (const double mass_lo, const double mass_hi)
 
virtual void Init ()
 
virtual void End ()
 
virtual void ReadEvents (const char *fname="signal_tree.root")
 
virtual void Analyze ()
 
RoadMapGetRoadMapPosTop ()
 
RoadMapGetRoadMapPosBot ()
 
RoadMapGetRoadMapNegTop ()
 
RoadMapGetRoadMapNegBot ()
 
- Public Member Functions inherited from AnaBase
virtual ~AnaBase ()
 
virtual void SetInputTreeName (const std::string name)
 
virtual void SetInputBranchName (const std::string name)
 
virtual void ReadEventsFromFileList (const char *fn_list, const int n_max=0)
 

Protected Member Functions

virtual void ProcessOneEvent ()
 
- Protected Member Functions inherited from AnaBase
 AnaBase (const std::string label)
 

Protected Attributes

double m_mass_lo
 
double m_mass_hi
 
RoadMap m_road_map_pos_top
 
RoadMap m_road_map_pos_bot
 
RoadMap m_road_map_neg_top
 
RoadMap m_road_map_neg_bot
 
SignalDatam_sig_data
 
- Protected Attributes inherited from AnaBase
std::string m_label
 
std::string m_tree_name
 
std::string m_branch_name
 
std::string m_dir_out
 
std::ofstream m_ofs
 

Detailed Description

Definition at line 9 of file AnaSignal.h.

Constructor & Destructor Documentation

◆ AnaSignal()

AnaSignal::AnaSignal ( const std::string  label = "ana_signal")

Definition at line 12 of file AnaSignal.cc.

References m_road_map_neg_bot, m_road_map_neg_top, m_road_map_pos_bot, m_road_map_pos_top, and RoadListBase::SetPNTB().

+ Here is the call graph for this function:

◆ ~AnaSignal()

AnaSignal::~AnaSignal ( )
virtual

Definition at line 24 of file AnaSignal.cc.

Member Function Documentation

◆ Analyze()

void AnaSignal::Analyze ( )
virtual

Reimplemented from AnaBase.

Reimplemented in ReAnaSignal.

Definition at line 87 of file AnaSignal.cc.

◆ End()

void AnaSignal::End ( )
virtual

Reimplemented from AnaBase.

Reimplemented in ReAnaSignal.

Definition at line 40 of file AnaSignal.cc.

◆ GetRoadMapNegBot()

RoadMap* AnaSignal::GetRoadMapNegBot ( )
inline

Definition at line 34 of file AnaSignal.h.

References m_road_map_neg_bot.

Referenced by GenRoadset::SetMap(), and AnaBG::SetRoads().

+ Here is the caller graph for this function:

◆ GetRoadMapNegTop()

RoadMap* AnaSignal::GetRoadMapNegTop ( )
inline

Definition at line 33 of file AnaSignal.h.

References m_road_map_neg_top.

Referenced by GenRoadset::SetMap(), and AnaBG::SetRoads().

+ Here is the caller graph for this function:

◆ GetRoadMapPosBot()

RoadMap* AnaSignal::GetRoadMapPosBot ( )
inline

Definition at line 32 of file AnaSignal.h.

References m_road_map_pos_bot.

Referenced by GenRoadset::SetMap(), and AnaBG::SetRoads().

+ Here is the caller graph for this function:

◆ GetRoadMapPosTop()

RoadMap* AnaSignal::GetRoadMapPosTop ( )
inline

Definition at line 31 of file AnaSignal.h.

References m_road_map_pos_top.

Referenced by GenRoadset::SetMap(), and AnaBG::SetRoads().

+ Here is the caller graph for this function:

◆ Init()

void AnaSignal::Init ( )
virtual

Reimplemented from AnaBase.

Reimplemented in ReAnaSignal.

Definition at line 35 of file AnaSignal.cc.

◆ ProcessOneEvent()

void AnaSignal::ProcessOneEvent ( )
protectedvirtual

Reimplemented from AnaBase.

Reimplemented in ReAnaSignal.

Definition at line 70 of file AnaSignal.cc.

References RoadMap::Add(), m_mass_hi, m_road_map_neg_bot, m_road_map_neg_top, m_road_map_pos_bot, m_road_map_pos_top, m_sig_data, SignalData::mass, SignalData::road_neg, SignalData::road_pos, and SignalData::weight.

Referenced by ReadEvents().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ReadEvents()

void AnaSignal::ReadEvents ( const char *  fname = "signal_tree.root")
virtual

Reimplemented from AnaBase.

Definition at line 45 of file AnaSignal.cc.

References AnaBase::m_branch_name, m_sig_data, AnaBase::m_tree_name, and ProcessOneEvent().

+ Here is the call graph for this function:

◆ SetMassRange()

void AnaSignal::SetMassRange ( const double  mass_lo,
const double  mass_hi 
)

Definition at line 29 of file AnaSignal.cc.

References m_mass_hi, and m_mass_lo.

Member Data Documentation

◆ m_mass_hi

double AnaSignal::m_mass_hi
protected

Definition at line 12 of file AnaSignal.h.

Referenced by ProcessOneEvent(), ReAnaSignal::ProcessOneEvent(), and SetMassRange().

◆ m_mass_lo

double AnaSignal::m_mass_lo
protected

Definition at line 11 of file AnaSignal.h.

Referenced by ReAnaSignal::ProcessOneEvent(), and SetMassRange().

◆ m_road_map_neg_bot

RoadMap AnaSignal::m_road_map_neg_bot
protected

◆ m_road_map_neg_top

RoadMap AnaSignal::m_road_map_neg_top
protected

◆ m_road_map_pos_bot

RoadMap AnaSignal::m_road_map_pos_bot
protected

◆ m_road_map_pos_top

RoadMap AnaSignal::m_road_map_pos_top
protected

◆ m_sig_data

SignalData* AnaSignal::m_sig_data
protected

Definition at line 18 of file AnaSignal.h.

Referenced by ProcessOneEvent(), ReAnaSignal::ProcessOneEvent(), and ReadEvents().


The documentation for this class was generated from the following files: