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

RecCandHeader Class Reference

#include <RecCandHeader.h>

Inheritance diagram for RecCandHeader:

RecPhysicsHeader RecDataHeader RecHeader List of all members.

Public Member Functions

 RecCandHeader ()
 RecCandHeader (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, Int_t event)
virtual ~RecCandHeader ()
Int_t GetEvent () const
virtual std::ostream & Print (std::ostream &os) const
virtual void Print (Option_t *option="") const

Private Attributes

Int_t fEvent

Constructor & Destructor Documentation

RecCandHeader::RecCandHeader  ) 
 

Definition at line 27 of file RecCandHeader.cxx.

00028   : RecPhysicsHeader(),fEvent(-1)
00029 {
00030    // Default constructor
00031 }

RecCandHeader::RecCandHeader 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,
Int_t  event
 

Definition at line 33 of file RecCandHeader.cxx.

References run().

00037   :RecPhysicsHeader(vldc,run,subrun,runtype,errorcode,snarl,trigsrc,timeframe,
00038    spilltype),fEvent(event)
00039 {
00040    // Normal constructor
00041 }

RecCandHeader::~RecCandHeader  )  [virtual]
 

Definition at line 43 of file RecCandHeader.cxx.

00044 {
00045    // Destructor
00046 }


Member Function Documentation

Int_t RecCandHeader::GetEvent  )  const [inline]
 

Definition at line 33 of file RecCandHeader.h.

Referenced by TruthCompareAna::ana(), DataUtil::GetRunSnarlEvent(), ParticlePIDSaver::isMatched(), MeuAnalysis::MeuAnalysis(), Print(), ParticlePIDSaver::Reco(), ParticleAna::Reco(), ParticleCheck::Run(), DetailedParticle::Run(), NuBase::SetRootFileObjects(), MeuAnalysis::SetRootFileObjects(), and ParticleDisplay::UpdateDisplay().

00033 { return fEvent; }

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

Reimplemented from RecPhysicsHeader.

Definition at line 66 of file RecCandHeader.cxx.

References Print().

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

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

Reimplemented from RecPhysicsHeader.

Definition at line 48 of file RecCandHeader.cxx.

References GetEvent(), and RecPhysicsHeader::Print().

Referenced by AngClusterAna::FindCluster(), NuBase::ObjectExistsInFile(), MeuAnalysis::ObjectExistsInFile(), and Print().

00048                                                      {
00049   // 
00050   // Purpose: Print header on ostream.
00051   //
00052   // Arguments: os ostream to display on.
00053   //
00054   // Return: ostream reference.
00055   //
00056   // Contact:  S. Kasahara
00057   // 
00058 
00059   RecPhysicsHeader::Print(os); 
00060   os << "\n Event " << this->GetEvent();
00061 
00062   return os;
00063 }


Member Data Documentation

Int_t RecCandHeader::fEvent [private]
 

Definition at line 40 of file RecCandHeader.h.


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