BeamMon Class Reference

#include <BeamMon.h>

List of all members.

Public Member Functions

 BeamMon ()
virtual ~BeamMon ()
void Reset ()
void Print (Option_t *t) const
double GetPot ()
 Returns the best value for pot.

Public Attributes

int goodBeamMon
double bI
 Filled with the best estimate of the pot, see BeamMon:GetPot().
double tortgt
 Beam intensity from tortgt [1e12 ppp].
double trtgtd
 Beam intensity from trtgtd [1e12 ppp].
double tor101
 Beam intensity from tor101 [1e12 ppp].
double tr101d
 Beam intensity from tr101d [1e12 ppp].
double hpos2
 horiz beam pos from bpms
double vpos2
 vert beam pos from bpms
double batchposx [6]
double batchposy [6]
double batchint [6]
 intensity in BPM TGT for possibly 6 batches
double hpos1
 horiz beam pos from prof mons
double vpos1
 vert beam pos from prof mons
double hbw
 horiz beam width from prof mon
double vbw
 vert beam width from prof mon
double htan
 beam direction -- not filled
double vtan
 beam direction -- not filled
double hornI
 horn current
double nuTarZ
 target pos -- not filled
double time
 absolute beam monitor spill time -- not filled
VldTimeStamp bmst_vts
 absolute beam monitoring timestamp
double stnd_time
 absolute SpillTimeND time -- not filled
VldTimeStamp stnd_vts
 absolute SpillTimeND timestamp
double dt_bmst
 detector time - BM Spill Time
double dt_stnd
 detector time - SpillTimeND
int goodDataQual
 Passes all of the NueStandard DataQuality Cuts.

Detailed Description

Definition at line 6 of file BeamMon.h.


Constructor & Destructor Documentation

BeamMon::BeamMon (  ) 

Definition at line 4 of file BeamMon.cxx.

References batchint, batchposx, and batchposy.

00004                 :
00005     goodBeamMon(-1),
00006     bI(-9999.),
00007     tortgt(-9999.),
00008     trtgtd(-9999.),
00009     tor101(-9999.),
00010     tr101d(-9999.),
00011     hpos2(-9999.),
00012     vpos2(-9999.),
00013     hpos1(-9999.),
00014     vpos1(-9999.),
00015     hbw(-9999.),
00016     vbw(-9999.),
00017     htan(-9999.),
00018     vtan(-9999.),
00019     hornI(-9999.),
00020     nuTarZ(-9999.),
00021     time(0),
00022     bmst_vts(0),
00023     stnd_time(0),
00024     stnd_vts(0),
00025     dt_bmst(-9999),
00026     dt_stnd(-9999),
00027     goodDataQual(-9999)
00028 {
00029     for (Int_t i=0;i<6;++i){
00030         batchposx[i]=-9999.;
00031         batchposy[i]=-9999.;
00032         batchint[i]=-9999.;
00033     }
00034 }

BeamMon::~BeamMon (  )  [virtual]

Definition at line 36 of file BeamMon.cxx.

00037 {}


Member Function Documentation

double BeamMon::GetPot (  ) 

Returns the best value for pot.

Definition at line 93 of file BeamMon.cxx.

References tor101, tortgt, tr101d, and trtgtd.

Referenced by NueBeamMonModule::Reco().

00094 {
00095     double pot = trtgtd;
00096     if (pot==0) pot = tortgt;
00097     if (pot==0) pot = tor101;
00098     if (pot==0) pot = tr101d;
00099     return pot;
00100 }

void BeamMon::Print ( Option_t *  t  )  const

Definition at line 71 of file BeamMon.cxx.

References bI, goodBeamMon, goodDataQual, hbw, hornI, hpos1, hpos2, htan, nuTarZ, time, tor101, tortgt, tr101d, trtgtd, vbw, vpos1, vpos2, and vtan.

00072 {
00073     std::cout <<" goodBeamMon " << goodBeamMon << std::endl
00074               <<" bI "<<bI<<std::endl
00075               <<" tortgt "<<tortgt<<std::endl
00076               <<" tortgt "<<trtgtd<<std::endl
00077               <<" tor101 "<<tor101<<std::endl
00078               <<" tr101d "<<tr101d<<std::endl
00079               <<" hbw "<<hbw<<std::endl
00080               <<" vbw "<<vbw<<std::endl
00081               <<" hpos1 "<<hpos1<<std::endl
00082               <<" vpos1 "<<vpos1<<std::endl
00083               <<" hpos2 "<<hpos2<<std::endl
00084               <<" vpos2 "<<vpos2<<std::endl
00085               <<" htan "<<htan<<std::endl
00086               <<" vtan "<<vtan<<std::endl
00087               <<" hornI "<<hornI<<std::endl
00088               <<" nuTarZ "<<nuTarZ<<std::endl
00089               <<" time "<<time<<std::endl
00090               <<" goodDataQual"<<goodDataQual<<std::endl;
00091 }

void BeamMon::Reset (  ) 

Definition at line 39 of file BeamMon.cxx.

References batchint, batchposx, batchposy, bI, bmst_vts, dt_bmst, dt_stnd, goodBeamMon, goodDataQual, hbw, hornI, hpos1, hpos2, htan, nuTarZ, stnd_time, stnd_vts, time, tor101, tortgt, tr101d, trtgtd, vbw, vpos1, vpos2, and vtan.

Referenced by NueBeamMonModule::Reco(), and NueRecord::Reset().

00040 {
00041     goodBeamMon=-1;
00042     bI=-9999.;
00043     tortgt=-9999.;
00044     trtgtd=-9999.;
00045     tor101=-9999.;
00046     tr101d=-9999.;
00047     hpos2=-9999.;
00048     vpos2=-9999.;
00049     for (Int_t i=0;i<6;++i){
00050         batchposx[i]=-9999.;
00051         batchposy[i]=-9999.;
00052         batchint[i]=-9999.;
00053     }
00054     hpos1=-9999.;
00055     vpos1=-9999.;
00056     hbw=-9999.;
00057     vbw=-9999.;
00058     htan=-9999.;
00059     vtan=-9999.;
00060     hornI=-9999.;
00061     nuTarZ=-9999.;
00062     time=0; 
00063     bmst_vts=0;
00064     stnd_time=0;
00065     stnd_vts=0;
00066     dt_bmst=-9999;
00067     dt_stnd=-9999;
00068     goodDataQual = -9999;
00069 }


Member Data Documentation

double BeamMon::batchint[6]

intensity in BPM TGT for possibly 6 batches

Definition at line 43 of file BeamMon.h.

Referenced by BeamMon(), NueBeamMonModule::Reco(), and Reset().

double BeamMon::batchposx[6]

beam position in X at target from BPM 121 and TGT for possibly 6 batches (mm)

Definition at line 38 of file BeamMon.h.

Referenced by BeamMon(), NueBeamMonModule::Reco(), and Reset().

double BeamMon::batchposy[6]

beam position in Y at target from BPM 121 and TGT for possibly 6 batches (mm)

Definition at line 41 of file BeamMon.h.

Referenced by BeamMon(), NueBeamMonModule::Reco(), and Reset().

double BeamMon::bI

absolute beam monitoring timestamp

Definition at line 64 of file BeamMon.h.

Referenced by NueBeamMonModule::Reco(), and Reset().

detector time - BM Spill Time

Definition at line 70 of file BeamMon.h.

Referenced by BeamMonAna::Analyze(), NueBeamMonModule::Reco(), and Reset().

Satisfies this spill the beam cuts? -1 means that it is not determined, 0 is bad, 1 is good

Definition at line 21 of file BeamMon.h.

Referenced by NueAnalysisCuts::IsGoodBeam(), NueStandard::PassesPOTStandards(), Print(), NueBeamMonModule::Reco(), and Reset().

Passes all of the NueStandard DataQuality Cuts.

Definition at line 75 of file BeamMon.h.

Referenced by Print(), NueBeamMonModule::Reco(), and Reset().

double BeamMon::hbw

horiz beam width from prof mon

Definition at line 49 of file BeamMon.h.

Referenced by BeamMonAna::Analyze(), CompareAll::PassesBeamCuts(), CompareMD::PassesBeamCuts(), Print(), NueBeamMonModule::Reco(), and Reset().

horiz beam pos from prof mons

Definition at line 45 of file BeamMon.h.

Referenced by BeamMonAna::Analyze(), Print(), NueBeamMonModule::Reco(), and Reset().

horiz beam pos from bpms

Definition at line 33 of file BeamMon.h.

Referenced by BeamMonAna::Analyze(), Print(), NueBeamMonModule::Reco(), and Reset().

double BeamMon::htan

beam direction -- not filled

Definition at line 54 of file BeamMon.h.

Referenced by BeamMonAna::Analyze(), Print(), and Reset().

target pos -- not filled

Definition at line 60 of file BeamMon.h.

Referenced by BeamMonAna::Analyze(), CompareAll::PassesBeamCuts(), CompareMD::PassesBeamCuts(), Print(), and Reset().

absolute SpillTimeND time -- not filled

Definition at line 66 of file BeamMon.h.

Referenced by Reset().

absolute SpillTimeND timestamp

Definition at line 68 of file BeamMon.h.

Referenced by NueBeamMonModule::Reco(), and Reset().

double BeamMon::time

absolute beam monitor spill time -- not filled

Definition at line 62 of file BeamMon.h.

Referenced by BeamMonAna::Analyze(), Print(), and Reset().

Beam intensity from tor101 [1e12 ppp].

Definition at line 29 of file BeamMon.h.

Referenced by GetPot(), Print(), NueBeamMonModule::Reco(), and Reset().

Beam intensity from tortgt [1e12 ppp].

Definition at line 25 of file BeamMon.h.

Referenced by GetPot(), Print(), NueBeamMonModule::Reco(), and Reset().

Beam intensity from tr101d [1e12 ppp].

Definition at line 31 of file BeamMon.h.

Referenced by GetPot(), Print(), NueBeamMonModule::Reco(), and Reset().

Beam intensity from trtgtd [1e12 ppp].

Definition at line 27 of file BeamMon.h.

Referenced by GetPot(), Print(), NueBeamMonModule::Reco(), and Reset().

double BeamMon::vbw

vert beam width from prof mon

Definition at line 51 of file BeamMon.h.

Referenced by BeamMonAna::Analyze(), CompareAll::PassesBeamCuts(), CompareMD::PassesBeamCuts(), Print(), NueBeamMonModule::Reco(), and Reset().

vert beam pos from prof mons

Definition at line 47 of file BeamMon.h.

Referenced by BeamMonAna::Analyze(), Print(), NueBeamMonModule::Reco(), and Reset().

vert beam pos from bpms

Definition at line 35 of file BeamMon.h.

Referenced by BeamMonAna::Analyze(), Print(), NueBeamMonModule::Reco(), and Reset().

double BeamMon::vtan

beam direction -- not filled

Definition at line 56 of file BeamMon.h.

Referenced by BeamMonAna::Analyze(), Print(), and Reset().


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

Generated on 2 Nov 2017 for loon by  doxygen 1.6.1