Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

ParticleBeamMon Class Reference

#include <ParticleBeamMon.h>

Inheritance diagram for ParticleBeamMon:

RecRecordImp< RecCandHeader > RecRecord List of all members.

Public Member Functions

 ParticleBeamMon ()
 ParticleBeamMon (const RecCandHeader &header)
virtual ~ParticleBeamMon ()
void ResetAll ()
void PrintInfo (Option_t *t) const
double GetPot ()
 Returns the best value for pot.

Public Attributes

int goodParticleBeamMon
double bI
 Filled with the best estimate of the pot, see ParticleBeamMon: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.
BeamType::BeamType_t beamtype

Constructor & Destructor Documentation

ParticleBeamMon::ParticleBeamMon  ) 
 

Definition at line 14 of file ParticleBeamMon.cxx.

References ResetAll().

00014                                  : RecRecordImp<RecCandHeader>()
00015 {
00016         ResetAll();
00017 }

ParticleBeamMon::ParticleBeamMon const RecCandHeader header  ) 
 

Definition at line 8 of file ParticleBeamMon.cxx.

00008                                                          : RecRecordImp<RecCandHeader>(hdr)
00009 {
00010         ResetAll();     
00011 }

ParticleBeamMon::~ParticleBeamMon  )  [virtual]
 

Definition at line 19 of file ParticleBeamMon.cxx.

00020 {}


Member Function Documentation

double ParticleBeamMon::GetPot  ) 
 

Returns the best value for pot.

Definition at line 78 of file ParticleBeamMon.cxx.

Referenced by ParticleBeamMonAna::ana().

00079 {
00080     double pot = tortgt;
00081     if (pot==0) pot = trtgtd;
00082     if (pot==0) pot = tor101;
00083     if (pot==0) pot = tr101d;
00084     return pot;
00085 }

void ParticleBeamMon::PrintInfo Option_t *  t  )  const
 

Definition at line 55 of file ParticleBeamMon.cxx.

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

00056 {
00057     std::cout <<" goodParticleBeamMon " << goodParticleBeamMon << std::endl
00058               <<" bI "<<bI<<std::endl
00059               <<" tortgt "<<tortgt<<std::endl
00060               <<" tortgt "<<trtgtd<<std::endl
00061               <<" tor101 "<<tor101<<std::endl
00062               <<" tr101d "<<tr101d<<std::endl
00063               <<" hbw "<<hbw<<std::endl
00064               <<" vbw "<<vbw<<std::endl
00065               <<" hpos1 "<<hpos1<<std::endl
00066               <<" vpos1 "<<vpos1<<std::endl
00067               <<" hpos2 "<<hpos2<<std::endl
00068               <<" vpos2 "<<vpos2<<std::endl
00069               <<" htan "<<htan<<std::endl
00070               <<" vtan "<<vtan<<std::endl
00071               <<" hornI "<<hornI<<std::endl
00072               <<" nuTarZ "<<nuTarZ<<std::endl
00073               <<" time "<<time<<std::endl
00074               <<" goodDataQual"<<goodDataQual<<std::endl;
00075 }

void ParticleBeamMon::ResetAll  ) 
 

Definition at line 22 of file ParticleBeamMon.cxx.

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

Referenced by ParticleBeamMonAna::ana(), and ParticleBeamMon().

00023 {
00024     goodParticleBeamMon=-1;
00025     bI=-9999.;
00026     tortgt=-9999.;
00027     trtgtd=-9999.;
00028     tor101=-9999.;
00029     tr101d=-9999.;
00030     hpos2=-9999.;
00031     vpos2=-9999.;
00032     for (Int_t i=0;i<6;++i){
00033         batchposx[i]=-9999.;
00034         batchposy[i]=-9999.;
00035         batchint[i]=-9999.;
00036     }
00037     hpos1=-9999.;
00038     vpos1=-9999.;
00039     hbw=-9999.;
00040     vbw=-9999.;
00041     htan=-9999.;
00042     vtan=-9999.;
00043     hornI=-9999.;
00044     nuTarZ=-9999.;
00045     time=0; 
00046     bmst_vts=0;
00047     stnd_time=0;
00048     stnd_vts=0;
00049     dt_bmst=-9999;
00050     dt_stnd=-9999;
00051     goodDataQual = -9999;
00052     beamtype=BeamType::kUnknown;
00053 }


Member Data Documentation

double ParticleBeamMon::batchint[6]
 

intensity in BPM TGT for possibly 6 batches

Definition at line 56 of file ParticleBeamMon.h.

Referenced by ParticleBeamMonAna::ana(), and ResetAll().

double ParticleBeamMon::batchposx[6]
 

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

Definition at line 51 of file ParticleBeamMon.h.

Referenced by ParticleBeamMonAna::ana(), and ResetAll().

double ParticleBeamMon::batchposy[6]
 

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

Definition at line 54 of file ParticleBeamMon.h.

Referenced by ParticleBeamMonAna::ana(), and ResetAll().

BeamType::BeamType_t ParticleBeamMon::beamtype
 

Definition at line 90 of file ParticleBeamMon.h.

Referenced by ParticleBeamMonAna::ana(), MCTrueAna::ana(), ParticleFinder::Reco(), and ResetAll().

double ParticleBeamMon::bI
 

Filled with the best estimate of the pot, see ParticleBeamMon:GetPot().

Definition at line 36 of file ParticleBeamMon.h.

Referenced by ParticleBeamMonAna::ana(), PrintInfo(), and ResetAll().

VldTimeStamp ParticleBeamMon::bmst_vts
 

absolute beam monitoring timestamp

Definition at line 77 of file ParticleBeamMon.h.

Referenced by ParticleBeamMonAna::ana(), and ResetAll().

double ParticleBeamMon::dt_bmst
 

detector time - BM Spill Time

Definition at line 83 of file ParticleBeamMon.h.

Referenced by ParticleBeamMonAna::ana(), and ResetAll().

double ParticleBeamMon::dt_stnd
 

detector time - SpillTimeND

Definition at line 85 of file ParticleBeamMon.h.

Referenced by ParticleBeamMonAna::ana(), and ResetAll().

int ParticleBeamMon::goodDataQual
 

Passes all of the NueStandard DataQuality Cuts.

Definition at line 88 of file ParticleBeamMon.h.

Referenced by PrintInfo(), and ResetAll().

int ParticleBeamMon::goodParticleBeamMon
 

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

Definition at line 34 of file ParticleBeamMon.h.

Referenced by ParticleBeamMonAna::ana(), PrintInfo(), and ResetAll().

double ParticleBeamMon::hbw
 

horiz beam width from prof mon

Definition at line 62 of file ParticleBeamMon.h.

Referenced by ParticleBeamMonAna::ana(), PrintInfo(), and ResetAll().

double ParticleBeamMon::hornI
 

horn current

Definition at line 71 of file ParticleBeamMon.h.

Referenced by ParticleBeamMonAna::ana(), PrintInfo(), and ResetAll().

double ParticleBeamMon::hpos1
 

horiz beam pos from prof mons

Definition at line 58 of file ParticleBeamMon.h.

Referenced by ParticleBeamMonAna::ana(), PrintInfo(), and ResetAll().

double ParticleBeamMon::hpos2
 

horiz beam pos from bpms

Definition at line 46 of file ParticleBeamMon.h.

Referenced by ParticleBeamMonAna::ana(), PrintInfo(), and ResetAll().

double ParticleBeamMon::htan
 

beam direction -- not filled

Definition at line 67 of file ParticleBeamMon.h.

Referenced by PrintInfo(), and ResetAll().

double ParticleBeamMon::nuTarZ
 

target pos -- not filled

Definition at line 73 of file ParticleBeamMon.h.

Referenced by PrintInfo(), and ResetAll().

double ParticleBeamMon::stnd_time
 

absolute SpillTimeND time -- not filled

Definition at line 79 of file ParticleBeamMon.h.

Referenced by ResetAll().

VldTimeStamp ParticleBeamMon::stnd_vts
 

absolute SpillTimeND timestamp

Definition at line 81 of file ParticleBeamMon.h.

Referenced by ParticleBeamMonAna::ana(), and ResetAll().

double ParticleBeamMon::time
 

absolute beam monitor spill time -- not filled

Definition at line 75 of file ParticleBeamMon.h.

Referenced by PrintInfo(), and ResetAll().

double ParticleBeamMon::tor101
 

Beam intensity from tor101 [1e12 ppp].

Definition at line 42 of file ParticleBeamMon.h.

Referenced by ParticleBeamMonAna::ana(), PrintInfo(), and ResetAll().

double ParticleBeamMon::tortgt
 

Beam intensity from tortgt [1e12 ppp].

Definition at line 38 of file ParticleBeamMon.h.

Referenced by ParticleBeamMonAna::ana(), PrintInfo(), and ResetAll().

double ParticleBeamMon::tr101d
 

Beam intensity from tr101d [1e12 ppp].

Definition at line 44 of file ParticleBeamMon.h.

Referenced by ParticleBeamMonAna::ana(), PrintInfo(), and ResetAll().

double ParticleBeamMon::trtgtd
 

Beam intensity from trtgtd [1e12 ppp].

Definition at line 40 of file ParticleBeamMon.h.

Referenced by ParticleBeamMonAna::ana(), PrintInfo(), and ResetAll().

double ParticleBeamMon::vbw
 

vert beam width from prof mon

Definition at line 64 of file ParticleBeamMon.h.

Referenced by ParticleBeamMonAna::ana(), PrintInfo(), and ResetAll().

double ParticleBeamMon::vpos1
 

vert beam pos from prof mons

Definition at line 60 of file ParticleBeamMon.h.

Referenced by ParticleBeamMonAna::ana(), PrintInfo(), and ResetAll().

double ParticleBeamMon::vpos2
 

vert beam pos from bpms

Definition at line 48 of file ParticleBeamMon.h.

Referenced by ParticleBeamMonAna::ana(), PrintInfo(), and ResetAll().

double ParticleBeamMon::vtan
 

beam direction -- not filled

Definition at line 69 of file ParticleBeamMon.h.

Referenced by PrintInfo(), and ResetAll().


The documentation for this class was generated from the following files:
Generated on Mon Feb 15 11:09:59 2010 for loon by  doxygen 1.3.9.1