Anp::Basic Class Reference

#include <Basic.h>

List of all members.

Public Member Functions

 Basic ()
 ~Basic ()
short NPlaneSteel () const
short NPlaneScint () const
short NStrip () const
short NUStrip () const
short NVStrip () const
short NPlane () const
short NUPlane () const
short NVPlane () const
short BegPlane () const
short BegUPlane () const
short BegVPlane () const
short EndPlane () const
short EndUPlane () const
short EndVPlane () const
float ADC () const
float ADCU () const
float ADCV () const
float PE () const
float SigCor () const
float SigCorU () const
float SigCorV () const
float SigLin () const
float SigMap () const
float MIP () const
double MinTime () const
double MaxTime () const
float ActiveFrac () const
void Clear ()
void Print (std::ostream &o=std::cout) const

Private Attributes

Short_t nustrip
Short_t nvstrip
Short_t nuplane
Short_t nvplane
Short_t beg_uplane
Short_t beg_vplane
Short_t end_uplane
Short_t end_vplane
Float_t adcu
Float_t adcv
Float_t pe
Float_t sigcoru
Float_t sigcorv
Float_t siglin
Float_t sigmap
Float_t mip
Float_t active_frac
Double_t max_time
Double_t min_time

Friends

class FillBasic

Detailed Description

Definition at line 17 of file Basic.h.


Constructor & Destructor Documentation

Anp::Basic::Basic (  ) 

Definition at line 13 of file Basic.cxx.

00014    :nustrip(0),
00015     nvstrip(0),
00016     nuplane(0),
00017     nvplane(0),
00018     beg_uplane(0),
00019     beg_vplane(0),
00020     end_uplane(0),
00021     end_vplane(0),
00022     adcu(-1.0e6),
00023     adcv(-1.0e6),
00024     pe(-1.0e6),
00025     sigcoru(-1.0e6),
00026     sigcorv(-1.0e6),
00027     siglin(-1.0e6),
00028     sigmap(-1.0e6),
00029     mip(-1.0e6),
00030     active_frac(-1.0e6),
00031     max_time(-1.0e6),
00032     min_time(-1.0e6)
00033 {
00034    //
00035    // !!!FillHeader expects that adcu, adcv, sigcoru and sigcorv are set to 0!!!
00036    //
00037 }

Anp::Basic::~Basic (  ) 

Definition at line 40 of file Basic.cxx.

00041 {
00042 }


Member Function Documentation

float Anp::Basic::ActiveFrac (  )  const [inline]

Definition at line 126 of file Basic.h.

References active_frac.

Referenced by Anp::HistBasic::Fill().

00126 { return active_frac; }

float Anp::Basic::ADC (  )  const [inline]

Definition at line 112 of file Basic.h.

References adcu, and adcv.

Referenced by Anp::HistBasic::Fill().

00112 { return adcu + adcv; }

float Anp::Basic::ADCU (  )  const [inline]

Definition at line 113 of file Basic.h.

References adcu.

00113 { return adcu; }

float Anp::Basic::ADCV (  )  const [inline]

Definition at line 114 of file Basic.h.

References adcv.

00114 { return adcv; }

short Anp::Basic::BegPlane (  )  const

Definition at line 74 of file Basic.cxx.

References beg_uplane, and beg_vplane.

Referenced by Anp::PlotPmt::Collect(), Anp::HistBasic::Fill(), NPlaneSteel(), and Print().

00075 {
00076    return std::min<short>(beg_vplane, beg_uplane);
00077 }

short Anp::Basic::BegUPlane (  )  const [inline]

Definition at line 107 of file Basic.h.

References beg_uplane.

Referenced by Print().

00107 { return beg_uplane; }

short Anp::Basic::BegVPlane (  )  const [inline]

Definition at line 108 of file Basic.h.

References beg_vplane.

Referenced by Print().

00108 { return beg_vplane; }

void Anp::Basic::Clear ( void   ) 

Definition at line 45 of file Basic.cxx.

References active_frac, adcu, adcv, beg_uplane, beg_vplane, end_uplane, end_vplane, max_time, min_time, mip, nuplane, nustrip, nvplane, nvstrip, pe, sigcoru, sigcorv, siglin, and sigmap.

Referenced by Anp::Event::Clear(), Anp::Track::Clear(), Anp::Shower::Clear(), and Anp::FillBasic::Fill().

00046 {
00047    nustrip = 0;
00048    nvstrip = 0;
00049 
00050    nuplane = 0;
00051    nvplane = 0;
00052 
00053    beg_uplane = 0;
00054    beg_vplane = 0;
00055    end_uplane = 0;
00056    end_vplane = 0;
00057 
00058    adcu    = -1.0e6;
00059    adcv    = -1.0e6;
00060    pe      = -1.0e6;
00061    sigcoru = -1.0e6;
00062    sigcorv = -1.0e6;
00063    siglin  = -1.0e6;
00064    sigmap  = -1.0e6;
00065    mip     = -1.0e6;
00066 
00067    active_frac = -1.0e6;
00068 
00069    max_time = -1.0e6;
00070    min_time = -1.0e6;
00071 }

short Anp::Basic::EndPlane (  )  const

Definition at line 80 of file Basic.cxx.

References end_uplane, and end_vplane.

Referenced by Anp::HistBasic::Fill(), NPlaneSteel(), Print(), and Anp::SelectNuMu::ResetStop().

00081 {
00082    return std::max<short>(end_vplane, end_uplane);
00083 }

short Anp::Basic::EndUPlane (  )  const [inline]

Definition at line 109 of file Basic.h.

References end_uplane.

Referenced by Print().

00109 { return end_uplane; }

short Anp::Basic::EndVPlane (  )  const [inline]

Definition at line 110 of file Basic.h.

References end_vplane.

Referenced by Print().

00110 { return end_vplane; }

double Anp::Basic::MaxTime (  )  const [inline]

Definition at line 124 of file Basic.h.

References max_time.

Referenced by Anp::PlotPmt::Collect(), Anp::HistBasic::Fill(), Anp::FillEvent::FillNearestT(), and Anp::FillShortVar::Get().

00124 { return max_time; }

double Anp::Basic::MinTime (  )  const [inline]

Definition at line 123 of file Basic.h.

References min_time.

Referenced by Anp::PlotPmt::Collect(), Anp::HistBasic::Fill(), Anp::FillEvent::FillNearestT(), and Anp::FillShortVar::Get().

00123 { return min_time; }

float Anp::Basic::MIP (  )  const [inline]

Definition at line 121 of file Basic.h.

References mip.

Referenced by Anp::PlotShort::FillStandard().

00121 { return mip; }   

short Anp::Basic::NPlane (  )  const [inline]

Definition at line 103 of file Basic.h.

References nuplane, and nvplane.

Referenced by Anp::SelectAntiNeutrino::AddData(), Anp::PlotTrackGeom::FillProjection(), and Print().

00103 { return nuplane + nvplane; }

short Anp::Basic::NPlaneScint (  )  const [inline]

Definition at line 97 of file Basic.h.

References nuplane, and nvplane.

Referenced by Anp::HistBasic::Fill(), Anp::SelectShort::Run(), and Anp::FillShortVar::Study().

00097 { return nuplane + nvplane; }

short Anp::Basic::NPlaneSteel (  )  const [inline]

Definition at line 96 of file Basic.h.

References BegPlane(), and EndPlane().

Referenced by Anp::PlotPmt::Collect(), and Anp::HistBasic::Fill().

00096 { return 1 + EndPlane() - BegPlane(); }

short Anp::Basic::NStrip (  )  const [inline]

Definition at line 99 of file Basic.h.

References nustrip, and nvstrip.

Referenced by Anp::HistBasic::Fill().

00099 { return nustrip + nvstrip; }

short Anp::Basic::NUPlane (  )  const [inline]
short Anp::Basic::NUStrip (  )  const [inline]

Definition at line 100 of file Basic.h.

References nustrip.

Referenced by Anp::HistBasic::Fill().

00100 { return nustrip; }

short Anp::Basic::NVPlane (  )  const [inline]

Definition at line 105 of file Basic.h.

References nvplane.

Referenced by Anp::FillShortEvent::Explore(), Anp::HistBasic::Fill(), Anp::SelectNuMu::PassSign(), and Print().

00105 { return nvplane; }

short Anp::Basic::NVStrip (  )  const [inline]

Definition at line 101 of file Basic.h.

References nvstrip.

Referenced by Anp::HistBasic::Fill().

00101 { return nvstrip; }

float Anp::Basic::PE (  )  const [inline]

Definition at line 115 of file Basic.h.

References pe.

Referenced by Anp::HistBasic::Fill().

00115 { return pe; }

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

Definition at line 86 of file Basic.cxx.

References adcu, adcv, BegPlane(), BegUPlane(), BegVPlane(), EndPlane(), EndUPlane(), EndVPlane(), max_time, min_time, NPlane(), NUPlane(), nustrip, NVPlane(), nvstrip, pe, sigcoru, and sigcorv.

Referenced by Anp::Shower::Print(), and Anp::Track::Print().

00087 {
00088    o << "Basic::Print" << endl
00089      << "   all plane (n, beg, end) = ("
00090      << NPlane() << ", " << BegPlane() << ", " << EndPlane() << ") " << endl
00091      << "   u   plane (n, beg, end) = ("
00092      << NUPlane() << ", " << BegUPlane() << ", " << EndUPlane() << ")"  << endl
00093      << "   v   plane (n, beg, end) = ("
00094      << NVPlane() << ", " << BegVPlane() << ", " << EndVPlane() << ")"  << endl
00095      << "   nstrip (v, u) = (" << nvstrip << ", " << nustrip << ")" << endl
00096      << "   adc    (v, u) = (" << adcv << ", " << adcu << ")" << endl
00097      << "   sigcor (v, u) = (" << sigcorv << ", " << sigcoru << ")" << endl
00098      << "   pe = " << pe << endl
00099      << "   time (beg, end, span) = (" << min_time << ", " << max_time
00100      << ", " << max_time - min_time << ")" << endl;
00101 }

float Anp::Basic::SigCor (  )  const [inline]

Definition at line 116 of file Basic.h.

References sigcoru, and sigcorv.

Referenced by Anp::HistBasic::Fill(), Anp::FillEvent::FillNearestR(), and Anp::FillEvent::FillNearestT().

00116 { return sigcoru + sigcorv; }

float Anp::Basic::SigCorU (  )  const [inline]

Definition at line 117 of file Basic.h.

References sigcoru.

Referenced by Anp::HistBasic::Fill().

00117 { return sigcoru; }

float Anp::Basic::SigCorV (  )  const [inline]

Definition at line 118 of file Basic.h.

References sigcorv.

Referenced by Anp::HistBasic::Fill().

00118 { return sigcorv; }

float Anp::Basic::SigLin (  )  const [inline]

Definition at line 119 of file Basic.h.

References siglin.

00119 { return siglin; }

float Anp::Basic::SigMap (  )  const [inline]

Definition at line 120 of file Basic.h.

References sigmap.

Referenced by Anp::HistBasic::Fill().

00120 { return sigmap; }


Friends And Related Function Documentation

friend class FillBasic [friend]

Definition at line 65 of file Basic.h.


Member Data Documentation

Float_t Anp::Basic::active_frac [private]

Definition at line 87 of file Basic.h.

Referenced by ActiveFrac(), Clear(), and Anp::FillBasic::Get().

Float_t Anp::Basic::adcu [private]

Definition at line 78 of file Basic.h.

Referenced by ADC(), ADCU(), Clear(), Anp::FillBasic::Fill(), Anp::FillBasic::Get(), and Print().

Float_t Anp::Basic::adcv [private]

Definition at line 79 of file Basic.h.

Referenced by ADC(), ADCV(), Clear(), Anp::FillBasic::Fill(), Anp::FillBasic::Get(), and Print().

Short_t Anp::Basic::beg_uplane [private]

Definition at line 73 of file Basic.h.

Referenced by BegPlane(), BegUPlane(), Anp::FillBasic::Check(), Clear(), and Anp::FillBasic::Get().

Short_t Anp::Basic::beg_vplane [private]

Definition at line 74 of file Basic.h.

Referenced by BegPlane(), BegVPlane(), Anp::FillBasic::Check(), Clear(), and Anp::FillBasic::Get().

Short_t Anp::Basic::end_uplane [private]

Definition at line 75 of file Basic.h.

Referenced by Anp::FillBasic::Check(), Clear(), EndPlane(), EndUPlane(), and Anp::FillBasic::Get().

Short_t Anp::Basic::end_vplane [private]

Definition at line 76 of file Basic.h.

Referenced by Anp::FillBasic::Check(), Clear(), EndPlane(), EndVPlane(), and Anp::FillBasic::Get().

Double_t Anp::Basic::max_time [private]

Definition at line 89 of file Basic.h.

Referenced by Clear(), Anp::FillBasic::Get(), MaxTime(), and Print().

Double_t Anp::Basic::min_time [private]

Definition at line 90 of file Basic.h.

Referenced by Clear(), Anp::FillBasic::Get(), MinTime(), and Print().

Float_t Anp::Basic::mip [private]

Definition at line 85 of file Basic.h.

Referenced by Clear(), Anp::FillBasic::Fill(), and MIP().

Short_t Anp::Basic::nuplane [private]

Definition at line 70 of file Basic.h.

Referenced by Anp::FillBasic::Check(), Clear(), Anp::FillBasic::Get(), NPlane(), NPlaneScint(), and NUPlane().

Short_t Anp::Basic::nustrip [private]

Definition at line 67 of file Basic.h.

Referenced by Clear(), Anp::FillBasic::Get(), NStrip(), NUStrip(), and Print().

Short_t Anp::Basic::nvplane [private]

Definition at line 71 of file Basic.h.

Referenced by Anp::FillBasic::Check(), Clear(), Anp::FillBasic::Get(), NPlane(), NPlaneScint(), and NVPlane().

Short_t Anp::Basic::nvstrip [private]

Definition at line 68 of file Basic.h.

Referenced by Clear(), Anp::FillBasic::Get(), NStrip(), NVStrip(), and Print().

Float_t Anp::Basic::pe [private]

Definition at line 80 of file Basic.h.

Referenced by Clear(), Anp::FillBasic::Fill(), PE(), and Print().

Float_t Anp::Basic::sigcoru [private]

Definition at line 81 of file Basic.h.

Referenced by Clear(), Anp::FillBasic::Fill(), Anp::FillBasic::Get(), Print(), SigCor(), and SigCorU().

Float_t Anp::Basic::sigcorv [private]

Definition at line 82 of file Basic.h.

Referenced by Clear(), Anp::FillBasic::Fill(), Anp::FillBasic::Get(), Print(), SigCor(), and SigCorV().

Float_t Anp::Basic::siglin [private]

Definition at line 83 of file Basic.h.

Referenced by Clear(), Anp::FillBasic::Fill(), and SigLin().

Float_t Anp::Basic::sigmap [private]

Definition at line 84 of file Basic.h.

Referenced by Clear(), Anp::FillBasic::Fill(), and SigMap().


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

Generated on 16 Jan 2018 for loon by  doxygen 1.6.1