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

Profiles used by attenuation calibration. More...

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

Public Member Functions

 AttenProfiles ()
 
 AttenProfiles (float minW, float maxW)
 
AttenProfilesoperator+= (AttenProfiles const &rhs)
 
LiteProfileLiteProfileByPathType (caldp::PathType_t const &pt)
 

Public Attributes

LiteProfile WPE
 
LiteProfile WPE_corr
 
LiteProfile WPE_corr_xy
 
LiteProfile WPE_corr_z
 
LiteProfile WPE_corr_traj
 
LiteProfile WPE_corr_xy_truth
 

Detailed Description

Profiles used by attenuation calibration.

Definition at line 61 of file AttenProfiles.h.

Constructor & Destructor Documentation

caldp::AttenProfiles::AttenProfiles ( )
inline

Definition at line 64 of file AttenProfiles.h.

References caldp::LiteProfile::operator+=().

64 {}
caldp::AttenProfiles::AttenProfiles ( float  minW,
float  maxW 
)

Definition at line 136 of file AttenProfiles.cxx.

137  : WPE(minW, maxW)
138  , WPE_corr(minW, maxW)
139  , WPE_corr_xy(minW, maxW)
140  , WPE_corr_z(minW, maxW)
141  , WPE_corr_traj(minW, maxW)
142  , WPE_corr_xy_truth(minW, maxW)
143  {
144  }
LiteProfile WPE_corr_xy
Definition: AttenProfiles.h:85
LiteProfile WPE_corr_traj
Definition: AttenProfiles.h:85
LiteProfile WPE_corr_xy_truth
Definition: AttenProfiles.h:85
LiteProfile WPE_corr_z
Definition: AttenProfiles.h:85
LiteProfile WPE_corr
Definition: AttenProfiles.h:85

Member Function Documentation

LiteProfile& caldp::AttenProfiles::LiteProfileByPathType ( caldp::PathType_t const &  pt)
inline

Definition at line 71 of file AttenProfiles.h.

References caldp::kCalAvg, caldp::kCalTraj, caldp::kCalXY, caldp::kCalXYTruth, and caldp::kCalZ.

Referenced by calib::CosmicCalib::FillPathLengthInfo(), and calib::MakeAttenuationProfiles::FillPathLengthInfo().

72  {
73  switch (pt){
74  case kCalXY: return WPE_corr_xy;
75  case kCalAvg: return WPE_corr;
76  case kCalXYTruth: return WPE_corr_xy_truth;
77  case kCalZ: return WPE_corr_z;
78  case kCalTraj: return WPE_corr_traj;
79  default: return WPE;
80  }
81  return WPE_corr;
82  }
LiteProfile WPE_corr_xy
Definition: AttenProfiles.h:85
LiteProfile WPE_corr_traj
Definition: AttenProfiles.h:85
LiteProfile WPE_corr_xy_truth
Definition: AttenProfiles.h:85
LiteProfile WPE_corr_z
Definition: AttenProfiles.h:85
LiteProfile WPE_corr
Definition: AttenProfiles.h:85
AttenProfiles & caldp::AttenProfiles::operator+= ( AttenProfiles const &  rhs)

Definition at line 147 of file AttenProfiles.cxx.

References WPE, WPE_corr, WPE_corr_traj, WPE_corr_xy, WPE_corr_xy_truth, and WPE_corr_z.

148  {
149  WPE += rhs.WPE;
150  WPE_corr += rhs.WPE_corr;
151  WPE_corr_xy += rhs.WPE_corr_xy;
152  WPE_corr_z += rhs.WPE_corr_z;
153  WPE_corr_traj += rhs.WPE_corr_traj;
154  WPE_corr_xy_truth += rhs.WPE_corr_xy_truth;
155 
156  return *this;
157  }
LiteProfile WPE_corr_xy
Definition: AttenProfiles.h:85
LiteProfile WPE_corr_traj
Definition: AttenProfiles.h:85
LiteProfile WPE_corr_xy_truth
Definition: AttenProfiles.h:85
LiteProfile WPE_corr_z
Definition: AttenProfiles.h:85
LiteProfile WPE_corr
Definition: AttenProfiles.h:85

Member Data Documentation

LiteProfile caldp::AttenProfiles::WPE

Definition at line 85 of file AttenProfiles.h.

Referenced by operator+=().

LiteProfile caldp::AttenProfiles::WPE_corr
LiteProfile caldp::AttenProfiles::WPE_corr_traj
LiteProfile caldp::AttenProfiles::WPE_corr_xy
LiteProfile caldp::AttenProfiles::WPE_corr_xy_truth

Definition at line 85 of file AttenProfiles.h.

Referenced by operator+=(), and calib::AttenuationFit::writeResults().

LiteProfile caldp::AttenProfiles::WPE_corr_z

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