MINFHeader Class Reference

#include <MINFHeader.h>

List of all members.

Public Member Functions

 MINFHeader ()
 MINFHeader (Int_t run, Int_t event)
 ~MINFHeader ()
virtual void Reset (Int_t run, Int_t event)
virtual void SetRun (Int_t run)
virtual Int_t GetRun ()
virtual void SetNprimary (Int_t nprimary)
virtual Int_t GetNprimary ()
virtual void SetNvertex (Int_t vertex)
virtual Int_t GetNvertex ()
virtual void SetNtrack (Int_t ntrack)
virtual Int_t GetNtrack ()
virtual void SetEvent (Int_t event)
virtual Int_t GetEvent ()
virtual void SetEventRecord (Int_t event)
virtual Int_t GetEventRecord ()
virtual void Dump () const

Protected Attributes

Int_t fRun
Int_t fNvertex
Int_t fNprimary
Int_t fNtrack
Int_t fEvent
Int_t fEventRecord


Detailed Description

Definition at line 16 of file MINFHeader.h.


Constructor & Destructor Documentation

MINFHeader::MINFHeader (  ) 

Definition at line 27 of file MINFHeader.cxx.

00028 {
00029    fRun=0;      
00030    fNvertex=0;
00031    fNprimary=0;
00032    fNtrack=0;
00033    fEvent=0;
00034    fEventRecord=0;
00035 }

MINFHeader::MINFHeader ( Int_t  run,
Int_t  event 
)

Definition at line 38 of file MINFHeader.cxx.

References fEvent, fEventRecord, fNprimary, fNtrack, fNvertex, and fRun.

00039 {
00040    fRun=run;    
00041    fNvertex=0;
00042    fNprimary=0;
00043    fNtrack=0;
00044    fEvent=event;
00045    fEventRecord=0;
00046 }

MINFHeader::~MINFHeader (  )  [inline]

Definition at line 29 of file MINFHeader.h.

00029 {;}


Member Function Documentation

void MINFHeader::Dump (  )  const [virtual]

Definition at line 60 of file MINFHeader.cxx.

References fEvent, fNprimary, fNtrack, fNvertex, and fRun.

Referenced by MINFast::FinishEvent().

00061 {
00062    printf(
00063    "\n=========== Header for run %d Event %d = beginning ===========\n",
00064                                                            fRun,fEvent);
00065    printf("              Number of Vertex %d\n",fNvertex);
00066    printf("              Number of Primary %d\n",fNprimary);
00067    printf("              Number of Tracks %d\n",fNtrack);
00068    printf(
00069    "=========== Header for run %d Event %d = end =================\n\n",
00070                                                            fRun,fEvent);
00071 }

virtual Int_t MINFHeader::GetEvent (  )  [inline, virtual]

Definition at line 46 of file MINFHeader.h.

References fEvent.

Referenced by MINFDisplay::DrawTitle(), MINFast::FinishEvent(), and RerootExodus::GetEventNo().

00046 {return fEvent;}

virtual Int_t MINFHeader::GetEventRecord (  )  [inline, virtual]

Definition at line 49 of file MINFHeader.h.

References fEventRecord.

Referenced by RerootExodus::GetEventRecord(), and MINFDisplay::ShowNextEvent().

00049 {return fEventRecord;}

virtual Int_t MINFHeader::GetNprimary (  )  [inline, virtual]

Definition at line 37 of file MINFHeader.h.

References fNprimary.

Referenced by MINFast::GetNextTrack().

00037 {return fNprimary;}

virtual Int_t MINFHeader::GetNtrack (  )  [inline, virtual]

Definition at line 43 of file MINFHeader.h.

References fNtrack.

00043 {return fNtrack;}

virtual Int_t MINFHeader::GetNvertex (  )  [inline, virtual]

Definition at line 40 of file MINFHeader.h.

References fNvertex.

00040 {return fNvertex;}

virtual Int_t MINFHeader::GetRun (  )  [inline, virtual]

Definition at line 34 of file MINFHeader.h.

References fRun.

Referenced by StripCands::Ana(), RemoveMuon::Ana(), NDSgateTimeLooter::Ana(), MCAnalysis::Ana(), FiltCosmicModule::Ana(), NueModule::Analyze(), ANtpRecoNtpManipulator::ANtpRecoNtpManipulator(), MINFDisplay::DrawTitle(), HepevtModule::Get(), RerootExodus::GetRunNo(), DbuDaqMonitorModule::ProcessRawRecord(), DbuDaqFileModule::ProcessRawRecord(), StripCands::Reco(), MergeEvent::Reco(), AlgMuonRemoval::RunAlg(), and AlgCosmicMuonRemoval::RunAlg().

00034 {return fRun;}

void MINFHeader::Reset ( Int_t  run,
Int_t  event 
) [virtual]

Definition at line 49 of file MINFHeader.cxx.

References fEvent, fEventRecord, fNprimary, fNtrack, fNvertex, and fRun.

Referenced by MINFast::Reset().

00050 {
00051    fRun=run;    
00052    fNvertex=0;
00053    fNprimary=0;
00054    fNtrack=0;
00055    fEvent=event;
00056    fEventRecord=0;
00057 }

virtual void MINFHeader::SetEvent ( Int_t  event  )  [inline, virtual]

Definition at line 45 of file MINFHeader.h.

References fEvent.

Referenced by MINFast::ProcessEvent().

00045 {fEvent = event;}

virtual void MINFHeader::SetEventRecord ( Int_t  event  )  [inline, virtual]

Definition at line 48 of file MINFHeader.h.

References fEventRecord.

Referenced by MINFast::GetEvent().

00048 {fEventRecord = event;}

virtual void MINFHeader::SetNprimary ( Int_t  nprimary  )  [inline, virtual]

Definition at line 36 of file MINFHeader.h.

References fNprimary.

00036 {fNprimary = nprimary;}

virtual void MINFHeader::SetNtrack ( Int_t  ntrack  )  [inline, virtual]

Definition at line 42 of file MINFHeader.h.

References fNtrack.

00042 {fNtrack = ntrack;}

virtual void MINFHeader::SetNvertex ( Int_t  vertex  )  [inline, virtual]

Definition at line 39 of file MINFHeader.h.

References fNvertex.

00039 {fNvertex = vertex;}

virtual void MINFHeader::SetRun ( Int_t  run  )  [inline, virtual]

Definition at line 33 of file MINFHeader.h.

References fRun.

Referenced by MINFast::ProcessEvent().

00033 {fRun = run;}


Member Data Documentation

Int_t MINFHeader::fEvent [protected]

Definition at line 23 of file MINFHeader.h.

Referenced by Dump(), GetEvent(), MINFHeader(), Reset(), and SetEvent().

Int_t MINFHeader::fEventRecord [protected]

Definition at line 24 of file MINFHeader.h.

Referenced by GetEventRecord(), MINFHeader(), Reset(), and SetEventRecord().

Int_t MINFHeader::fNprimary [protected]

Definition at line 21 of file MINFHeader.h.

Referenced by Dump(), GetNprimary(), MINFHeader(), Reset(), and SetNprimary().

Int_t MINFHeader::fNtrack [protected]

Definition at line 22 of file MINFHeader.h.

Referenced by Dump(), GetNtrack(), MINFHeader(), Reset(), and SetNtrack().

Int_t MINFHeader::fNvertex [protected]

Definition at line 20 of file MINFHeader.h.

Referenced by Dump(), GetNvertex(), MINFHeader(), Reset(), and SetNvertex().

Int_t MINFHeader::fRun [protected]

Definition at line 19 of file MINFHeader.h.

Referenced by Dump(), GetRun(), MINFHeader(), Reset(), and SetRun().


The documentation for this class was generated from the following files:
Generated on Mon Aug 11 01:06:14 2014 for loon by  doxygen 1.4.7