Anp::Shower Class Reference

#include <Shower.h>

List of all members.

Public Member Functions

 Shower ()
 ~Shower ()
void Clear ()
void SetEnergyCC (float value)
void SetEnergyNC (float value)
void SetEnergyCCWgt (float value)
void SetEnergyNCWgt (float value)
void SetWeight (double value_)
short ShowerIndex () const
float EnergyCC () const
float EnergyNC () const
float EnergyEM () const
float EnergyCCDef () const
float EnergyNCDef () const
float EnergyCCWgt () const
float EnergyNCWgt () const
float EnergyCCWgtDef () const
float EnergyNCWgtDef () const
double Weight () const
const BasicGetBasic () const
const VertexGetVtx () const
void Print (std::ostream &o=std::cout) const

Private Attributes

Short_t index
Float_t lin_cc
Float_t lin_nc
Float_t em
Float_t lin_cc_def
Float_t lin_nc_def
Float_t wt_cc
Float_t wt_nc
Float_t wt_cc_def
Float_t wt_nc_def
Double_t weight
Anp::Basic fBasic
Anp::Vertex fVtx

Friends

class FillShower

Detailed Description

Definition at line 21 of file Shower.h.


Constructor & Destructor Documentation

Anp::Shower::Shower (  ) 

Definition at line 12 of file Shower.cxx.

00013    :index(-1),
00014     lin_cc(-1.0e6),
00015     lin_nc(-1.0e6),
00016     em(-1.0e6),
00017     lin_cc_def(-1.0e6),
00018     lin_nc_def(-1.0e6),
00019     wt_cc(-1.0e6),
00020     wt_nc(-1.0e6),
00021     wt_cc_def(-1.0e6),
00022     wt_nc_def(-1.0e6),
00023     weight(1.0),
00024     fBasic(),
00025     fVtx()
00026 {
00027 }

Anp::Shower::~Shower (  ) 

Definition at line 30 of file Shower.cxx.

00031 {
00032 }


Member Function Documentation

void Anp::Shower::Clear ( void   ) 

Definition at line 35 of file Shower.cxx.

References Anp::Vertex::Clear(), Anp::Basic::Clear(), em, fBasic, fVtx, index, lin_cc, lin_cc_def, lin_nc, lin_nc_def, weight, wt_cc, wt_cc_def, wt_nc, and wt_nc_def.

00036 {
00037    index      = -1;
00038    lin_cc     = -1.0e6;
00039    lin_nc     = -1.0e6;
00040    em         = -1.0e6;
00041    lin_cc_def = -1.0e6;
00042    lin_nc_def = -1.0e6;
00043    lin_nc     = -1.0e6;
00044    wt_cc      = -1.0e6;
00045    wt_nc      = -1.0e6;
00046    wt_cc_def  = -1.0e6;
00047    wt_nc_def  = -1.0e6;
00048    weight     = 1.0;
00049 
00050    fBasic.Clear();
00051    fVtx.Clear();
00052 }

float Anp::Shower::EnergyCC (  )  const [inline]

Definition at line 93 of file Shower.h.

References lin_cc.

00093 { return lin_cc; }

float Anp::Shower::EnergyCCDef (  )  const [inline]

Definition at line 97 of file Shower.h.

References lin_cc_def.

00097 { return lin_cc_def; }

float Anp::Shower::EnergyCCWgt (  )  const [inline]

Definition at line 99 of file Shower.h.

References wt_cc.

00099 { return wt_cc; }

float Anp::Shower::EnergyCCWgtDef (  )  const [inline]

Definition at line 101 of file Shower.h.

References wt_cc_def.

00101 { return wt_cc_def; }

float Anp::Shower::EnergyEM (  )  const [inline]

Definition at line 95 of file Shower.h.

References em.

00095 { return em; }

float Anp::Shower::EnergyNC (  )  const [inline]

Definition at line 94 of file Shower.h.

References lin_nc.

00094 { return lin_nc; }

float Anp::Shower::EnergyNCDef (  )  const [inline]

Definition at line 98 of file Shower.h.

References lin_nc_def.

00098 { return lin_nc_def; }

float Anp::Shower::EnergyNCWgt (  )  const [inline]

Definition at line 100 of file Shower.h.

References wt_nc.

00100 { return wt_nc; }

float Anp::Shower::EnergyNCWgtDef (  )  const [inline]

Definition at line 102 of file Shower.h.

References wt_nc_def.

00102 { return wt_nc_def; }

const Basic & Anp::Shower::GetBasic (  )  const [inline]

Definition at line 106 of file Shower.h.

References fBasic.

00106 { return fBasic; }

const Vertex & Anp::Shower::GetVtx (  )  const [inline]

Definition at line 107 of file Shower.h.

References fVtx.

00107 { return fVtx; }

void Anp::Shower::Print ( std::ostream &  o = std::cout  )  const

Definition at line 55 of file Shower.cxx.

References fBasic, index, lin_cc, lin_cc_def, lin_nc, lin_nc_def, and Anp::Basic::Print().

00056 {
00057    o << "Shower::Print" << endl
00058      << "   index = " << index << endl
00059      << "   lin_cc = " << lin_cc  << endl
00060      << "   lin_nc = " << lin_nc  << endl
00061      << "   lin_cc_def = " << lin_cc_def  << endl
00062      << "   lin_nc_def = " << lin_nc_def  << endl;
00063    
00064    fBasic.Print(o);
00065 }

void Anp::Shower::SetEnergyCC ( float  value  )  [inline]

Definition at line 85 of file Shower.h.

References lin_cc.

00085 { lin_cc = value; }

void Anp::Shower::SetEnergyCCWgt ( float  value  )  [inline]

Definition at line 87 of file Shower.h.

References wt_cc.

00087 { wt_cc = value; }

void Anp::Shower::SetEnergyNC ( float  value  )  [inline]

Definition at line 86 of file Shower.h.

References lin_nc.

00086 { lin_nc = value; }

void Anp::Shower::SetEnergyNCWgt ( float  value  )  [inline]

Definition at line 88 of file Shower.h.

References wt_nc.

00088 { wt_nc = value; }

void Anp::Shower::SetWeight ( double  value_  )  [inline]

Definition at line 89 of file Shower.h.

References weight.

00089 { weight = value_; }

short Anp::Shower::ShowerIndex (  )  const [inline]

Definition at line 91 of file Shower.h.

References index.

Referenced by Anp::Record::FindEvent(), Anp::Record::FindTruth(), Anp::GetStrip(), and Anp::operator==().

00091 { return index; }

double Anp::Shower::Weight (  )  const [inline]

Definition at line 104 of file Shower.h.

References weight.

00104 { return weight; }


Friends And Related Function Documentation

friend class FillShower [friend]

Definition at line 60 of file Shower.h.


Member Data Documentation

Float_t Anp::Shower::em [private]

Definition at line 65 of file Shower.h.

Referenced by Clear(), EnergyEM(), and Anp::FillShower::Run().

Definition at line 74 of file Shower.h.

Referenced by Clear(), GetBasic(), Print(), and Anp::FillShower::Run().

Definition at line 75 of file Shower.h.

Referenced by Clear(), GetVtx(), and Anp::FillShower::Run().

Short_t Anp::Shower::index [private]

Definition at line 62 of file Shower.h.

Referenced by Clear(), Print(), Anp::FillShower::Run(), and ShowerIndex().

Float_t Anp::Shower::lin_cc [private]

Definition at line 63 of file Shower.h.

Referenced by Clear(), EnergyCC(), Print(), Anp::FillShower::Run(), and SetEnergyCC().

Float_t Anp::Shower::lin_cc_def [private]

Definition at line 66 of file Shower.h.

Referenced by Clear(), EnergyCCDef(), Print(), and Anp::FillShower::Run().

Float_t Anp::Shower::lin_nc [private]

Definition at line 64 of file Shower.h.

Referenced by Clear(), EnergyNC(), Print(), Anp::FillShower::Run(), and SetEnergyNC().

Float_t Anp::Shower::lin_nc_def [private]

Definition at line 67 of file Shower.h.

Referenced by Clear(), EnergyNCDef(), Print(), and Anp::FillShower::Run().

Double_t Anp::Shower::weight [private]

Definition at line 72 of file Shower.h.

Referenced by Clear(), SetWeight(), and Weight().

Float_t Anp::Shower::wt_cc [private]

Definition at line 68 of file Shower.h.

Referenced by Clear(), EnergyCCWgt(), Anp::FillShower::Run(), and SetEnergyCCWgt().

Float_t Anp::Shower::wt_cc_def [private]

Definition at line 70 of file Shower.h.

Referenced by Clear(), EnergyCCWgtDef(), and Anp::FillShower::Run().

Float_t Anp::Shower::wt_nc [private]

Definition at line 69 of file Shower.h.

Referenced by Clear(), EnergyNCWgt(), Anp::FillShower::Run(), and SetEnergyNCWgt().

Float_t Anp::Shower::wt_nc_def [private]

Definition at line 71 of file Shower.h.

Referenced by Clear(), EnergyNCWgtDef(), and Anp::FillShower::Run().


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

Generated on 16 Jan 2018 for loon by  doxygen 1.6.1