More information on this package is here.
#include "THEADERClass.h"

THEADERClass


class description - header file - source file

class THEADERClass: public TObject

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
public:
THEADERClass()
THEADERClass(THEADERClass* TmpHEADER)
THEADERClass(const THEADERClass&)
virtual~THEADERClass()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTObject::Clear(Option_t* = "")
virtual TObject*TObject::Clone(const char* newname = "") const
virtual Int_tTObject::Compare(const TObject* obj) const
virtual voidTObject::Copy(TObject& object) const
virtual voidTObject::Delete(Option_t* option = "")
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() const
virtual TObject*TObject::DrawClone(Option_t* option = "") const
virtual voidTObject::Dump() const
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Int_tGetEStatus() const
Int_tGetEvtClas() const
Float_tGetFC() const
Float_tGetFCG() const
Int_tGetHS() const
virtual const char*TObject::GetIconName() const
Int_tGetIT() const
Int_tGetLatch1() const
Int_tGetLevel2() const
Int_tGetLevel3() const
virtual const char*TObject::GetName() const
Int_tGetNEvent() const
Int_tGetNPGP() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Float_tGetRF1() const
Float_tGetRF2() const
Int_tGetROC() const
Int_tGetRunNum() const
Float_tGetSTT() const
Float_tGetTG() const
Int_tGetTime() const
virtual const char*TObject::GetTitle() const
Int_tGetTrgPrs() const
Int_tGetTrigBits() const
Int_tGetType() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTObject::Hash() const
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() const
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTObject::IsFolder() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tTObject::IsSortable() const
Bool_tTObject::IsZombie() const
virtual voidTObject::ls(Option_t* option = "") const
voidTObject::MayNotUse(const char* method) const
virtual Bool_tTObject::Notify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
THEADERClass&operator=(const THEADERClass&)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
voidPrint()
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")
static voidTObject::SetDtorOnly(void* obj)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTObject::SetUniqueID(UInt_t uid)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0) const
protected:
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTObject::MakeZombie()

Data Members

public:
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
public:
Int_tNRunRun number from HEAD bank.
Int_tNEventEvent number from HEAD bank.
Int_tTimeUnix time from HEAD bank.
Int_tTypeEvent type from HEAD bank.
Int_tROCROC status from HEAD bank.
Int_tEvtClasEvent Type: 1-9 Physics event (2= sync, 4=level2 late fail) 10 Scaler event. < 0 Monte Carlo
Int_tTrigBitsLevel 1 Trigger Latch word.
Int_tEStatusEvent status after reconstruction (HEVT)
Int_tTrgPrsTrigger type*10000 + Prescale factor for that trigger (Event Class) (HEVT)
Int_tNPGPNumber of final reconstructed particles*100 + Number of geometrically reconstructed particles (HEVT)
Float_tFCFaraday Cup (K) (HEVT)
Float_tFCGGated Faraday Cup (HEVT)
Float_tTGGated Clock (HEVT)
Float_tSTTEvent start time (HEVT)
Float_tRF1RF time (HEVT)
Float_tRF2RF time (HEVT)
Int_tLatch1Trigger Latch from TGBI Bank (helicity info)
Int_tHelicity_ScalerHelicity scaler from TGBI Bank.
Int_tInterrupt_TimeMicrosecond Interupt time from TGBI Bank.
Int_tLevel2bits: 1-8:LVL2 sector bits, 9-12:Not Used, 13: LVL2 fail, 14: LVL2 pass, 15: LVL2 fail, 16: LVL2 pass
Int_tLevel3bits: 1-6:LVL3 sector bits, 7-24:Not Used, 25-32: Version number

Class Description

____________________ 

THEADERClass

 Modified:
           Maurik (2/3/00) Comments.
           Maurik (7/21/00) Updated to add words.
This class is used to access the header information bank data written into the ROOT DST for data from the CLAS at Jefferson Lab. Contends is taken from several banks (indicated in brackets) as descibed in packages/bankdefs.

The details on how exactly each variable is defined have to be extraced from the RECSIS code.

This class now has a custom streamer to accomodate a modification where the RF2 and Level 2 and 3 trigger information were added. This should still work transparently with data that was writter with an older version of WriteRootDST, except that the entries for those variables will be set to zero.

 
 
   
--------------------------------------------------------------------------
THEADERClass()
THEADERClass(THEADERClass *TmpHEADER)
void Print()
void Streamer(TBuffer &R__b)
 Stream an object of class THEADERClass.
THEADERClass()
virtual ~THEADERClass()
{}
Int_t GetRunNum()
{ return NRun; }
Int_t GetNEvent()
{ return NEvent; }
Int_t GetTime()
{ return Time; }
Int_t GetType()
{ return Type; }
Int_t GetROC()
{ return ROC; }
Int_t GetEvtClas()
{ return EvtClas; }
Int_t GetTrigBits()
{ return TrigBits; }
Int_t GetEStatus()
{ return EStatus; }
Int_t GetTrgPrs()
{ return TrgPrs; }
Int_t GetNPGP()
{ return NPGP; }
Float_t GetFC()
{ return FC; }
Float_t GetFCG()
{ return FCG; }
Float_t GetTG()
{ return TG; }
Float_t GetSTT()
{ return STT; }
Float_t GetRF1()
{ return RF1; }
Float_t GetRF2()
{ return RF2; }
Int_t GetLatch1()
{ return Latch1; }
Int_t GetHS()
{ return Helicity_Scaler; }
Int_t GetIT()
{ return Interrupt_Time; }
Int_t GetLevel2()
{ return Level2; }
Int_t GetLevel3()
{ return Level3; }


Author: Maurik Holtrop
Last update: ClasTool/ClasBanks:$Name: $:$Id: THEADERClass.cc,v 1.4 2007/03/01 22:26:59 holtrop Exp $
CopyLeft - This code is freely available.

ROOT Home page - ClasTool Class index - Class Hierarchy - Top of the page