RecPhysicsHeader Class Reference

#include <RecPhysicsHeader.h>

Inheritance diagram for RecPhysicsHeader:
RecDataHeader RecHeader RecCandHeader SimSnarlHeader

List of all members.

Public Member Functions

 RecPhysicsHeader ()
 RecPhysicsHeader (const VldContext &vld, Int_t run, Short_t subrun, Short_t runtype, UInt_t errorcode, Int_t snarl, UInt_t trigsrc, Int_t timeframe, Int_t spilltype)
virtual ~RecPhysicsHeader ()
Int_t GetSnarl () const
UInt_t GetTrigSrc () const
Int_t GetTimeFrame () const
Int_t GetRemoteSpillType () const
virtual std::ostream & Print (std::ostream &os) const
virtual void Print (Option_t *option="") const

Private Attributes

Int_t fSnarl
UInt_t fTrigSrc
Int_t fTimeFrame
Int_t fRemoteSpillType

Detailed Description

Definition at line 21 of file RecPhysicsHeader.h.


Constructor & Destructor Documentation

RecPhysicsHeader::RecPhysicsHeader (  ) 

Definition at line 28 of file RecPhysicsHeader.cxx.

00029   : RecDataHeader(),fSnarl(-1),fTrigSrc(0xFFFF),fTimeFrame(-1),
00030     fRemoteSpillType(-1) {
00031    // Default constructor
00032 }

RecPhysicsHeader::RecPhysicsHeader ( const VldContext vld,
Int_t  run,
Short_t  subrun,
Short_t  runtype,
UInt_t  errorcode,
Int_t  snarl,
UInt_t  trigsrc,
Int_t  timeframe,
Int_t  spilltype 
)

Definition at line 34 of file RecPhysicsHeader.cxx.

00039   : RecDataHeader(vldc,run,subrun,runtype,errorcode),fSnarl(snarl),
00040     fTrigSrc(trigsrc),fTimeFrame(timeframe),fRemoteSpillType(spilltype)
00041 {
00042    // Normal constructor
00043 }

RecPhysicsHeader::~RecPhysicsHeader (  )  [virtual]

Definition at line 45 of file RecPhysicsHeader.cxx.

00046 {
00047    // Destructor
00048 }


Member Function Documentation

Int_t RecPhysicsHeader::GetRemoteSpillType (  )  const [inline]
Int_t RecPhysicsHeader::GetSnarl (  )  const [inline]

Definition at line 32 of file RecPhysicsHeader.h.

References fSnarl.

Referenced by NtpTimingFit::AddEvent(), MCText::AddSimSnarl(), TruthCompareAna::ana(), AtNuTreeModule::Ana(), NueHandScan::Ana(), MNtpModule::Ana(), WriteStdHepFileModule::Ana(), AtNuDisplayModule::Ana(), NtpMaker::Ana(), RecoTreeModule::Ana(), NueModule::Analyze(), ANtpAnalysisInfoAna::Analyze(), VtxRecordAna::Analyze(), ShwfitAna::Analyze(), AngClusterFitAna::Analyze(), ANtpInfoObjectFillerNue::Analyze(), NueRecordAna::Analyze(), ANtpEventInfoAna::Analyze(), HitCalcAna::Analyze(), TimingVarsAna::Analyze(), AngClusterAna::Analyze(), ANtpRecoNtpManipulator::ANtpRecoNtpManipulator(), MeuAnalysis::BasicReco(), MadChain::BuildLookup(), NuAnalysis::ChargeSeparationOneSnarl(), HitCalcAna::ComputeHits(), MadAnalysis::CreateANtpPAN(), MadDpAnalysis::CreatePAN(), MadTestAnalysis::CreatePAN(), MadMKAnalysis::CreatePAN(), MadPIDAnalysis::CreatePAN(), MadTVAnalysis::CreatePAN(), MadAnalysis::CreatePAN(), NtpEventViewer::Display(), MadScanDisplay::Display(), MadEvDisplay::Display(), NtpStEventGrabber::DoGather(), HitView::DrawBasicInfo(), ChainView::DrawBasicInfo(), MadEvDisplay::DrawTextBox(), MadScanDisplay::DrawTextBox(), NuAnalysis::ExtractConfig(), NuExtraction::ExtractGeneralInfo(), NtpTimingNtuple::Fill(), ANtpInfoObjectFillerMRCC::FillEventInformationHelper(), NuPlots::FillGeneralHistos(), MSTCalcAna::FillHitSets(), ANtpEventInfoAna::FillStripVariables(), MeuCuts::FillSTSumDetails(), NtpEventViewer::Find(), MadChain::Get(), HepevtModule::Get(), DetSim::Get(), PhotonTransport::Get(), NtpStModule::Get(), NueDisplayModule::GetEvent(), DataUtil::GetRunSnarlEvent(), MadHandScan::HandScanDisplay(), ParticlePIDSaver::isMatched(), NuAnalysis::LIRejectionTest(), MadEvDisplay::Log(), MadScanDisplay::Log(), NuAnalysis::MakeFullDST(), NtpEventDisplayTiming::MakePicture(), MadAbID::MakePidVariables(), MadAbID::MakeRecoVariables(), MeuAnalysis::MakeSummaryTreeWithNtpStOneSnarl(), MinosCompactEvent::MinosCompactEvent(), MadEdAnalysis::MyCreatePAN(), MadEdAnalysis::MyCreatePANData(), MadEdAnalysis::MyMakeQEFile(), MadScanDisplay::NextInterestingEvent(), NueAnalysisCuts::PassesFileCut(), Print(), IoInputModule::ReadHeader(), NtpSRModule::Reco(), NtpStTrimmer::Reco(), ParticleFinder::Reco(), ParticlePIDSaver::Reco(), VtxModule::Reco(), ParticleAna::Reco(), FillPIDFromText::Reco(), NtpMCModule::Reco(), NtpTHModule::Reco(), Anp::FillHeader::Run(), DetailedParticle::Run(), ParticleCheck::Run(), PhotonTransport::SimulateEvent(), MeuAnalysis::SnarlList(), SRMom::SnarlNumber(), MeuAnalysis::SpillPlots(), PETrimmer::TrimRecord(), NueDisplayModule::UpdateDisplay(), ParticleDisplay::UpdateDisplay(), AngClusterAna::WeightedEnergy(), and MCNNRunner::WriteResults().

00032 { return fSnarl; }

Int_t RecPhysicsHeader::GetTimeFrame (  )  const [inline]
UInt_t RecPhysicsHeader::GetTrigSrc (  )  const [inline]
void RecPhysicsHeader::Print ( Option_t *  option = ""  )  const [virtual]

Reimplemented from RecDataHeader.

Reimplemented in RecCandHeader, and SimSnarlHeader.

Definition at line 72 of file RecPhysicsHeader.cxx.

References Print().

00072                                                          {
00073   //
00074   //  Purpose:  Print header in form supported by TObject::Print.
00075   //
00076   //  Arguments: option (not used)
00077   //
00078   //  Return:  none.
00079   //
00080   //  Contact:   S. Kasahara
00081   // 
00082   //  Notes:This version is required because overridden Print(std::ostream& os)
00083   //        hides base class version of this method.
00084   // 
00085 
00086   Print(std::cout);
00087   return;
00088 
00089 }

std::ostream & RecPhysicsHeader::Print ( std::ostream &  os  )  const [virtual]

Reimplemented from RecDataHeader.

Reimplemented in RecCandHeader, and SimSnarlHeader.

Definition at line 50 of file RecPhysicsHeader.cxx.

References GetRemoteSpillType(), GetSnarl(), GetTimeFrame(), and GetTrigSrc().

Referenced by Print().

00050                                                         {
00051   // 
00052   // Purpose: Print header on ostream.
00053   //
00054   // Arguments: os ostream to display on.
00055   //
00056   // Return: ostream reference.
00057   //
00058   // Contact:  S. Kasahara
00059   // 
00060 
00061   RecDataHeader::Print(os); 
00062   os << " Snarl " << GetSnarl() 
00063      << std::hex << std::setfill('0') 
00064      << " TrigSrc 0x" << std::setw(8) << GetTrigSrc() 
00065      << std::setfill(' ') << std::dec  
00066      << " TimeFrame " << this->GetTimeFrame()
00067      << " SpillType " << this->GetRemoteSpillType();
00068 
00069   return os;
00070 }


Member Data Documentation

Definition at line 45 of file RecPhysicsHeader.h.

Referenced by GetRemoteSpillType().

Int_t RecPhysicsHeader::fSnarl [private]

Definition at line 42 of file RecPhysicsHeader.h.

Referenced by GetSnarl().

Definition at line 44 of file RecPhysicsHeader.h.

Referenced by GetTimeFrame().

UInt_t RecPhysicsHeader::fTrigSrc [private]

Definition at line 43 of file RecPhysicsHeader.h.

Referenced by GetTrigSrc().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1