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

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

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.

References run().

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]
 

Definition at line 35 of file RecPhysicsHeader.h.

Referenced by ANtpEventInfoAna::Analyze(), ANtpRecoNtpManipulator::ANtpRecoNtpManipulator(), MadTVAnalysis::CreatePAN(), MadMKAnalysis::CreatePAN(), MadAnalysis::CreatePAN(), NuExtraction::ExtractGeneralInfo(), NtpStModule::Get(), Print(), NtpTHModule::Reco(), NtpSRModule::Reco(), and NtpMCModule::Reco().

00035 { return fRemoteSpillType; }

Int_t RecPhysicsHeader::GetSnarl  )  const [inline]
 

Definition at line 32 of file RecPhysicsHeader.h.

Referenced by MCText::AddSimSnarl(), WriteStdHepFileModule::Ana(), RecoTreeModule::Ana(), NueHandScan::Ana(), NtpMaker::Ana(), MNtpModule::Ana(), AtNuTreeModule::Ana(), AtNuDisplayModule::Ana(), VtxRecordAna::Analyze(), TimingVarsAna::Analyze(), ShwfitAna::Analyze(), NueRecordAna::Analyze(), HitCalcAna::Analyze(), ANtpEventInfoAna::Analyze(), ANtpAnalysisInfoAna::Analyze(), AngClusterFitAna::Analyze(), AngClusterAna::Analyze(), ANtpRecoNtpManipulator::ANtpRecoNtpManipulator(), MeuAnalysis::BasicReco(), MadChain::BuildLookup(), NuAnalysis::ChargeSeparationOneSnarl(), HitCalcAna::ComputeHits(), MadAnalysis::CreateANtpPAN(), MadTVAnalysis::CreatePAN(), MadTestAnalysis::CreatePAN(), MadPIDAnalysis::CreatePAN(), MadMKAnalysis::CreatePAN(), MadDpAnalysis::CreatePAN(), MadAnalysis::CreatePAN(), MadScanDisplay::Display(), MadEvDisplay::Display(), MadScanDisplay::DrawTextBox(), MadEvDisplay::DrawTextBox(), NuAnalysis::ExtractConfig(), NuExtraction::ExtractGeneralInfo(), MSTCalcAna::FillHitSets(), ANtpEventInfoAna::FillStripVariables(), MeuCuts::FillSTSumDetails(), PhotonTransport::Get(), NtpStModule::Get(), MoqChain::Get(), MadChain::Get(), DetSim::Get(), NueDisplayModule::GetEvent(), DataUtil::GetRunSnarlEvent(), MadHandScan::HandScanDisplay(), NuAnalysis::LIRejectionTest(), MadScanDisplay::Log(), MadEvDisplay::Log(), NuAnalysis::MakeFullDST(), MadAbID::MakePidVariables(), MadAbID::MakeRecoVariables(), MeuAnalysis::MakeSummaryTreeWithNtpStOneSnarl(), MadEdAnalysis::MyCreatePAN(), MadEdAnalysis::MyCreatePANData(), MadEdAnalysis::MyMakeQEFile(), NueAnalysisCuts::PassesFileCut(), Print(), IoInputModule::ReadHeader(), VtxModule::Reco(), NueModule::Reco(), NtpTHModule::Reco(), NtpStTrimmer::Reco(), NtpSRModule::Reco(), NtpMCModule::Reco(), FillPIDFromText::Reco(), Anp::FillHeader::Run(), PhotonTransport::SimulateEvent(), MeuAnalysis::SnarlList(), SRMom::SnarlNumber(), MeuAnalysis::SpillPlots(), NueDisplayModule::UpdateDisplay(), and AngClusterAna::WeightedEnergy().

00032 { return fSnarl; }

Int_t RecPhysicsHeader::GetTimeFrame  )  const [inline]
 

Definition at line 34 of file RecPhysicsHeader.h.

Referenced by NuExtraction::ExtractGeneralInfo(), NtpStModule::Get(), DetSim::Get(), Print(), NtpTHModule::Reco(), NtpSRModule::Reco(), NtpMCModule::Reco(), Anp::FillHeader::Run(), MadTestAnalysis::SingleTimeFrame(), MadPIDAnalysis::SingleTimeFrame(), and MadDpAnalysis::SingleTimeFrame().

00034 { return fTimeFrame; }

UInt_t RecPhysicsHeader::GetTrigSrc  )  const [inline]
 

Definition at line 33 of file RecPhysicsHeader.h.

Referenced by MNtpModule::Ana(), ANtpEventInfoAna::Analyze(), ANtpRecoNtpManipulator::ANtpRecoNtpManipulator(), MadTVAnalysis::CreatePAN(), MadTestAnalysis::CreatePAN(), MadPIDAnalysis::CreatePAN(), MadMKAnalysis::CreatePAN(), MadDpAnalysis::CreatePAN(), MadAnalysis::CreatePAN(), NuAnalysis::ExtractConfig(), NuExtraction::ExtractGeneralInfo(), NuPlots::FillGeneralHistos(), MeuHistos::FillGeneralHistos(), MeuCuts::FillSTSumDetails(), NtpStModule::Get(), Print(), NtpTHModule::Reco(), NtpSRModule::Reco(), NtpMCModule::Reco(), and Anp::FillHeader::Run().

00033 { return fTrigSrc; }

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(), GetTrigSrc(), and RecDataHeader::Print().

Referenced by SimSnarlHeader::Print(), Print(), and RecCandHeader::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

Int_t RecPhysicsHeader::fRemoteSpillType [private]
 

Definition at line 45 of file RecPhysicsHeader.h.

Int_t RecPhysicsHeader::fSnarl [private]
 

Definition at line 42 of file RecPhysicsHeader.h.

Int_t RecPhysicsHeader::fTimeFrame [private]
 

Definition at line 44 of file RecPhysicsHeader.h.

UInt_t RecPhysicsHeader::fTrigSrc [private]
 

Definition at line 43 of file RecPhysicsHeader.h.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 15:03:17 2008 for loon by  doxygen 1.3.9.1