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

NueHeader Class Reference

#include <NueHeader.h>

Inheritance diagram for NueHeader:

RecHeader List of all members.

Public Member Functions

 NueHeader ()
 NueHeader (const VldContext &vld)
virtual ~NueHeader ()
virtual std::ostream & Print (std::ostream &os) const
virtual void Print (Option_t *option="") const
const int GetSnarl () const
const int GetRun () const
const int GetSubRun () const
const int GetEventNo () const
const int GetEvents () const
const int GetTrackLength () const
const ReleaseType::Release_t GetRelease () const
const BeamType::BeamType_t GetBeamType () const
const int GetNueRelease () const
const bool FoundSR () const
const bool FoundMC () const
const bool FoundTH () const
const bool FoundMR () const
void SetSnarl (int s)
void SetRun (int r)
void SetSubRun (int sr)
void SetEventNo (int i)
void SetEvents (int nevt)
void SetTrackLength (int t)
void SetFoundBits (bool SR, bool MC, bool TH, bool MR)
void SetRelease (int r)
void SetBeamType (int b)
void SetNueRelease (int nr)

Private Attributes

int fSnarl
int fRun
int fSubRun
int fEvtNo
int fEvents
int fTrackLength
ReleaseType::Release_t fRelease
BeamType::BeamType_t fBeamType
int fNueRelease
bool foundSR
bool foundMC
bool foundTH
bool foundMR

Constructor & Destructor Documentation

NueHeader::NueHeader  ) 
 

Definition at line 11 of file NueHeader.cxx.

00011                     :
00012    RecHeader(),
00013    fSnarl(0),
00014    fRun(0),
00015    fSubRun(0),
00016    fEvtNo(0),
00017    fEvents(0),
00018    fTrackLength(0),
00019    foundSR(false),
00020    foundMC(false),
00021    foundTH(false),
00022    foundMR(false)
00023 {}

NueHeader::NueHeader const VldContext vld  ) 
 

Definition at line 25 of file NueHeader.cxx.

00025                                          :
00026    RecHeader(vld),
00027    fSnarl(0),
00028    fRun(0),
00029    fSubRun(0),
00030    fEvtNo(0),
00031    fEvents(0),
00032    fTrackLength(0),
00033    foundSR(false),
00034    foundMC(false),
00035    foundTH(false),
00036    foundMR(false)
00037 {}

NueHeader::~NueHeader  )  [virtual]
 

Definition at line 39 of file NueHeader.cxx.

00040 {}


Member Function Documentation

const bool NueHeader::FoundMC  )  const [inline]
 

Definition at line 69 of file NueHeader.h.

00069 {return foundMC;}

const bool NueHeader::FoundMR  )  const [inline]
 

Definition at line 71 of file NueHeader.h.

Referenced by NueStandard::PassesSelection().

00071 {return foundMR;}

const bool NueHeader::FoundSR  )  const [inline]
 

Definition at line 68 of file NueHeader.h.

00068 {return foundSR;}

const bool NueHeader::FoundTH  )  const [inline]
 

Definition at line 70 of file NueHeader.h.

00070 {return foundTH;}

const BeamType::BeamType_t NueHeader::GetBeamType  )  const [inline]
 

Definition at line 74 of file NueHeader.h.

Referenced by NueExtrapolationJB::AddChain(), NueData::AddEvent(), NueMiniAnaPID::FillMini(), NueMiniAna::FillMini(), NueData::FillRecord(), NueStandard::GetRPWBeamWeight(), NueStandard::GetSKZPBeamWeight(), NueBeamMonModule::Reco(), MiniMaker::RunMiniMaker(), MiniMakerPID::RunMiniMakerPID(), and Trimmer::RunTrimmer().

00074 {return fBeamType;}

const int NueHeader::GetEventNo  )  const [inline]
 

Definition at line 66 of file NueHeader.h.

Referenced by NueReadwPID::Ana(), NuePrint::Ana(), NueDisplayModule::Ana(), MSTTemplate::Ana(), CompareMST::Ana(), CompareMD::Ana(), CompareAll::Ana(), TreePIDAna::Analyze(), CompareMD::FillFromList(), NueMiniAnaPID::FillMini(), NueMiniAna::FillMini(), ParticlePIDSaver::isMatched(), MdaDiscrimAna::NeedsSpecialAttention(), CompareAll::NeedsSpecialAttention(), NueExtrapHelper::PassBasicCuts(), NueAnalysisCuts::PassesFileCut(), NueStandard::PassesPOTStandards(), TrimModule::Reco(), ParticlePIDSaver::Reco(), NueBeamMonModule::Reco(), MCNNMergeModule::Reco(), FixModule::Reco(), FilterPID::Reco(), MiniMaker::RunMiniMaker(), MiniMakerPID::RunMiniMakerPID(), and Trimmer::RunTrimmer().

00066 {return fEvtNo;}

const int NueHeader::GetEvents  )  const [inline]
 

Definition at line 67 of file NueHeader.h.

Referenced by NuePrint::Ana(), CompareMD::FillFromList(), MdaDiscrimAna::NeedsSpecialAttention(), CompareAll::NeedsSpecialAttention(), MiniMaker::RunMiniMaker(), MiniMakerPID::RunMiniMakerPID(), and Trimmer::RunTrimmer().

00067 {return fEvents;}

const int NueHeader::GetNueRelease  )  const [inline]
 

Definition at line 75 of file NueHeader.h.

00075 {return fNueRelease;}

const ReleaseType::Release_t NueHeader::GetRelease  )  const [inline]
 

Definition at line 73 of file NueHeader.h.

Referenced by NueExtrapolationJB::AddChain(), NueData::AddEvent(), NueMiniAnaPID::FillMini(), NueMiniAna::FillMini(), NueData::FillRecord(), NueConvention::NueEnergyCorrection(), NueConvention::NueEnergyCorrectionNeverUseThisFunction(), NueBeamMonModule::Reco(), MiniMaker::RunMiniMaker(), MiniMakerPID::RunMiniMakerPID(), and Trimmer::RunTrimmer().

00073 {return fRelease;}

const int NueHeader::GetRun  )  const [inline]
 

Definition at line 64 of file NueHeader.h.

Referenced by NuePrint::Ana(), CompareMD::Ana(), CompareAll::Ana(), CompareMD::FillFromList(), NueMiniAnaPID::FillMini(), NueMiniAna::FillMini(), NueStandard::IsGoodFarRun(), NueStandard::IsGoodNearRun(), ParticlePIDSaver::isMatched(), MdaDiscrimAna::NeedsSpecialAttention(), CompareAll::NeedsSpecialAttention(), NueAnalysisCuts::PassesFileCut(), ParticlePIDSaver::Reco(), NueReweight::Reco(), NueBeamMonModule::Reco(), MCNNMergeModule::Reco(), and Trimmer::RunTrimmer().

00064 {return fRun;}

const int NueHeader::GetSnarl  )  const [inline]
 

Definition at line 63 of file NueHeader.h.

Referenced by NueReadwPID::Ana(), NuePrint::Ana(), NueDisplayModule::Ana(), CompareMD::Ana(), CompareAll::Ana(), CompareMD::FillFromList(), NueMiniAnaPID::FillMini(), NueMiniAna::FillMini(), ParticlePIDSaver::isMatched(), MdaDiscrimAna::NeedsSpecialAttention(), CompareAll::NeedsSpecialAttention(), NueAnalysisCuts::PassesFileCut(), TrimModule::Reco(), ParticlePIDSaver::Reco(), NueBeamMonModule::Reco(), MCNNMergeModule::Reco(), FixModule::Reco(), and FilterPID::Reco().

00063 {return fSnarl;}

const int NueHeader::GetSubRun  )  const [inline]
 

Definition at line 65 of file NueHeader.h.

Referenced by CompareMD::FillFromList(), NueMiniAnaPID::FillMini(), NueMiniAna::FillMini(), NueStandard::IsGoodFarRun(), NueStandard::IsGoodNearRun(), MdaDiscrimAna::NeedsSpecialAttention(), CompareAll::NeedsSpecialAttention(), NueAnalysisCuts::PassesFileCut(), and NueReweight::Reco().

00065 {return fSubRun;}

const int NueHeader::GetTrackLength  )  const [inline]
 

Definition at line 72 of file NueHeader.h.

Referenced by MSTTemplate::Ana(), CompareMST::Ana(), CompareMD::FillFromList(), MdaDiscrimAna::NeedsSpecialAttention(), CompareAll::NeedsSpecialAttention(), CompareMD::PassesCuts(), and CompareAll::PassesCuts().

00072 {return fTrackLength;}

void NueHeader::Print Option_t *  option = ""  )  const [virtual]
 

Reimplemented from RecHeader.

Definition at line 42 of file NueHeader.cxx.

References Print().

00043 {
00044    NueHeader::Print(std::cout);
00045    return;
00046 }

std::ostream & NueHeader::Print std::ostream &  os  )  const [virtual]
 

Reimplemented from RecHeader.

Definition at line 48 of file NueHeader.cxx.

References fEvents, fEvtNo, fRun, fSnarl, fSubRun, and fTrackLength.

Referenced by Print().

00049 {
00050    os<<"Run: "<<fRun<<" SubRun "<<fSubRun<<" Snarl "<<fSnarl<<std::endl;
00051    os<<"This record corresponds to event "<<fEvtNo<<" out of "<<fEvents<<std::endl;
00052    os<<"Track has "<<fTrackLength<<" planes"<<std::endl;
00053    if(foundSR){
00054       os<<"Found SR"<<std::endl;
00055    }
00056    if(foundMC){
00057       os<<"Found MC"<<std::endl;
00058    }
00059    if(foundTH){
00060       os<<"Found TH"<<std::endl;
00061    }
00062    if(foundMR){
00063       os<<"Found MR"<<std::endl;
00064    }
00065    return os;
00066 }

void NueHeader::SetBeamType int  b  )  [inline]
 

Definition at line 86 of file NueHeader.h.

References fBeamType.

Referenced by NueModule::Analyze(), and NueData::SetupNueHeader().

00086 {fBeamType = (BeamType::BeamType_t) b;}

void NueHeader::SetEventNo int  i  )  [inline]
 

Definition at line 81 of file NueHeader.h.

References fEvtNo.

Referenced by NueModule::Analyze(), NueMiniAnaPID::FillRecord(), NueMiniAna::FillRecord(), and VtxModule::Reco().

00081 {fEvtNo = i;}

void NueHeader::SetEvents int  nevt  )  [inline]
 

Definition at line 82 of file NueHeader.h.

References fEvents.

Referenced by NueModule::Analyze(), and VtxModule::Reco().

00082 {fEvents = n;}

void NueHeader::SetFoundBits bool  SR,
bool  MC,
bool  TH,
bool  MR
[inline]
 

Definition at line 84 of file NueHeader.h.

References foundMC, foundMR, foundSR, and foundTH.

Referenced by NueModule::Analyze(), VtxModule::Reco(), and NueData::SetupNueHeader().

00084 {foundSR=SR;foundMC=MC;foundTH=TH;foundMR=MR;}

void NueHeader::SetNueRelease int  nr  )  [inline]
 

Definition at line 87 of file NueHeader.h.

References fNueRelease.

Referenced by NueModule::Analyze().

00087 {fNueRelease = r;}

void NueHeader::SetRelease int  r  )  [inline]
 

Definition at line 85 of file NueHeader.h.

References fRelease.

Referenced by NueModule::Analyze(), and NueData::SetupNueHeader().

00085 {fRelease = r;}

void NueHeader::SetRun int  r  )  [inline]
 

Definition at line 79 of file NueHeader.h.

References fRun.

Referenced by NueModule::Analyze(), NueMiniAnaPID::FillRecord(), NueMiniAna::FillRecord(), and VtxModule::Reco().

00079 {fRun = r;}

void NueHeader::SetSnarl int  s  )  [inline]
 

Definition at line 78 of file NueHeader.h.

References fSnarl.

Referenced by NueModule::Analyze(), NueMiniAnaPID::FillRecord(), NueMiniAna::FillRecord(), and VtxModule::Reco().

00078 {fSnarl = s;}

void NueHeader::SetSubRun int  sr  )  [inline]
 

Definition at line 80 of file NueHeader.h.

References fSubRun.

Referenced by NueModule::Analyze(), NueMiniAnaPID::FillRecord(), NueMiniAna::FillRecord(), and VtxModule::Reco().

00080 {fSubRun = sr;}

void NueHeader::SetTrackLength int  t  )  [inline]
 

Definition at line 83 of file NueHeader.h.

References fTrackLength.

Referenced by NueModule::Analyze(), and VtxModule::Reco().

00083 {fTrackLength=t;}


Member Data Documentation

BeamType::BeamType_t NueHeader::fBeamType [private]
 

Definition at line 52 of file NueHeader.h.

Referenced by SetBeamType().

int NueHeader::fEvents [private]
 

Definition at line 49 of file NueHeader.h.

Referenced by Print(), and SetEvents().

int NueHeader::fEvtNo [private]
 

Definition at line 48 of file NueHeader.h.

Referenced by Print(), and SetEventNo().

int NueHeader::fNueRelease [private]
 

Definition at line 53 of file NueHeader.h.

Referenced by SetNueRelease().

bool NueHeader::foundMC [private]
 

Definition at line 56 of file NueHeader.h.

Referenced by SetFoundBits().

bool NueHeader::foundMR [private]
 

Definition at line 58 of file NueHeader.h.

Referenced by SetFoundBits().

bool NueHeader::foundSR [private]
 

Definition at line 55 of file NueHeader.h.

Referenced by SetFoundBits().

bool NueHeader::foundTH [private]
 

Definition at line 57 of file NueHeader.h.

Referenced by SetFoundBits().

ReleaseType::Release_t NueHeader::fRelease [private]
 

Definition at line 51 of file NueHeader.h.

Referenced by SetRelease().

int NueHeader::fRun [private]
 

Definition at line 46 of file NueHeader.h.

Referenced by Print(), and SetRun().

int NueHeader::fSnarl [private]
 

Definition at line 45 of file NueHeader.h.

Referenced by Print(), and SetSnarl().

int NueHeader::fSubRun [private]
 

Definition at line 47 of file NueHeader.h.

Referenced by Print(), and SetSubRun().

int NueHeader::fTrackLength [private]
 

Definition at line 50 of file NueHeader.h.

Referenced by Print(), and SetTrackLength().


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