Public Member Functions | Public Attributes | Protected Member Functions | List of all members
caldp::AttenHists Class Reference

Histograms used by attenuation calibration. More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-12-03/CalibrationDataProducts/AttenHists.h"

Public Member Functions

 AttenHists ()
 
AttenHistsoperator+= (const AttenHists &rhs)
 
TH2F * HistogramByPathType (caldp::PathType_t const &pt)
 

Public Attributes

TH2F * WPE
 
TH2F * WPE_corr
 
TH2F * WPE_corr_xy
 
TH2F * WPE_corr_z
 
TH2F * WPE_corr_traj
 
TH2F * WPE_corr_xy_truth
 

Protected Member Functions

void Add (TH2F *&lhs, TH2F *rhs)
 

Detailed Description

Histograms used by attenuation calibration.

Definition at line 27 of file AttenHists.h.

Constructor & Destructor Documentation

caldp::AttenHists::AttenHists ( )
inline

Definition at line 30 of file AttenHists.h.

31  : WPE(nullptr)
32  , WPE_corr(nullptr)
33  , WPE_corr_xy(nullptr)
34  , WPE_corr_z(nullptr)
35  , WPE_corr_traj(nullptr)
36  , WPE_corr_xy_truth(nullptr)
37  {}
TH2F * WPE_corr_xy_truth
Definition: AttenHists.h:67
TH2F * WPE_corr_traj
Definition: AttenHists.h:67
TH2F * WPE_corr_xy
Definition: AttenHists.h:67

Member Function Documentation

void caldp::AttenHists::Add ( TH2F *&  lhs,
TH2F *  rhs 
)
inlineprotected

Definition at line 70 of file AttenHists.h.

Referenced by operator+=().

71  {
72  if(lhs) lhs->Add(rhs); else lhs = new TH2F(*rhs);
73  }
TH2F* caldp::AttenHists::HistogramByPathType ( caldp::PathType_t const &  pt)
inline
AttenHists& caldp::AttenHists::operator+= ( const AttenHists rhs)
inline

Definition at line 40 of file AttenHists.h.

References Add(), WPE, WPE_corr, WPE_corr_traj, WPE_corr_xy, WPE_corr_xy_truth, and WPE_corr_z.

41  {
42  Add(WPE, rhs.WPE);
43  Add(WPE_corr, rhs.WPE_corr);
44  Add(WPE_corr_xy, rhs.WPE_corr_xy);
45  Add(WPE_corr_z, rhs.WPE_corr_z);
46  Add(WPE_corr_traj, rhs.WPE_corr_traj);
47  Add(WPE_corr_xy_truth, rhs.WPE_corr_xy_truth);
48 
49  return *this;
50  }
TH2F * WPE_corr_xy_truth
Definition: AttenHists.h:67
void Add(TH2F *&lhs, TH2F *rhs)
Definition: AttenHists.h:70
TH2F * WPE_corr_traj
Definition: AttenHists.h:67
TH2F * WPE_corr_xy
Definition: AttenHists.h:67

Member Data Documentation

TH2F* caldp::AttenHists::WPE
TH2F * caldp::AttenHists::WPE_corr
TH2F * caldp::AttenHists::WPE_corr_traj
TH2F * caldp::AttenHists::WPE_corr_xy
TH2F * caldp::AttenHists::WPE_corr_xy_truth
TH2F * caldp::AttenHists::WPE_corr_z

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