#include "TEPICClass.h" |
TEPICClass() | |
TEPICClass(TEPICClass* TmpEPIC) | |
TEPICClass(const TEPICClass&) | |
virtual | ~TEPICClass() |
void | TObject::AbstractMethod(const char* method) const |
void | AddEPIC(TEPICValue* ep) |
void | AddEPICAt(TEPICValue* ep, Int_t place) |
virtual void | TObject::AppendPad(Option_t* option = "") |
virtual void | TObject::Browse(TBrowser* b) |
static TClass* | Class() |
virtual const char* | TObject::ClassName() const |
void | Clear() |
virtual TObject* | TObject::Clone(const char* newname = "") const |
virtual Int_t | TObject::Compare(const TObject* obj) const |
virtual void | TObject::Copy(TObject& object) const |
virtual void | TObject::Delete(Option_t* option = "") |
virtual Int_t | TObject::DistancetoPrimitive(Int_t px, Int_t py) |
virtual void | TObject::Draw(Option_t* option = "") |
virtual void | TObject::DrawClass() const |
virtual TObject* | TObject::DrawClone(Option_t* option = "") const |
virtual void | TObject::Dump() const |
virtual void | TObject::Error(const char* method, const char* msgfmt) const |
virtual void | TObject::Execute(const char* method, const char* params, Int_t* error = 0) |
virtual void | TObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0) |
virtual void | TObject::ExecuteEvent(Int_t event, Int_t px, Int_t py) |
virtual void | TObject::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_t | TObject::GetDtorOnly() |
virtual const char* | TObject::GetIconName() const |
TString | GetName(Int_t ind) |
virtual char* | TObject::GetObjectInfo(Int_t px, Int_t py) const |
static Bool_t | TObject::GetObjectStat() |
virtual Option_t* | TObject::GetOption() const |
virtual const char* | TObject::GetTitle() const |
virtual UInt_t | TObject::GetUniqueID() const |
Float_t | GetValue(Int_t ind) |
Float_t | GetValue(TString member) |
Int_t | GetValueIndex(TString member) |
virtual Bool_t | TObject::HandleTimer(TTimer* timer) |
virtual ULong_t | TObject::Hash() const |
virtual void | TObject::Info(const char* method, const char* msgfmt) const |
virtual Bool_t | TObject::InheritsFrom(const char* classname) const |
virtual Bool_t | TObject::InheritsFrom(const TClass* cl) const |
virtual void | TObject::Inspect() const |
void | TObject::InvertBit(UInt_t f) |
virtual TClass* | IsA() const |
virtual Bool_t | TObject::IsEqual(const TObject* obj) const |
virtual Bool_t | TObject::IsFolder() const |
Bool_t | TObject::IsOnHeap() const |
virtual Bool_t | TObject::IsSortable() const |
Bool_t | TObject::IsZombie() const |
virtual void | TObject::ls(Option_t* option = "") const |
void | TObject::MayNotUse(const char* method) const |
virtual Bool_t | TObject::Notify() |
static void | TObject::operator delete(void* ptr) |
static void | TObject::operator delete(void* ptr, void* vp) |
static void | TObject::operator delete[](void* ptr) |
static void | TObject::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) |
TEPICClass& | operator=(const TEPICClass&) |
virtual void | TObject::Paint(Option_t* option = "") |
virtual void | TObject::Pop() |
void | Print() |
virtual Int_t | TObject::Read(const char* name) |
virtual void | TObject::RecursiveRemove(TObject* obj) |
void | TObject::ResetBit(UInt_t f) |
virtual void | TObject::SaveAs(const char* filename = "", Option_t* option = "") const |
virtual void | TObject::SavePrimitive(ostream& out, Option_t* option = "") |
void | TObject::SetBit(UInt_t f) |
void | TObject::SetBit(UInt_t f, Bool_t set) |
virtual void | TObject::SetDrawOption(Option_t* option = "") |
static void | TObject::SetDtorOnly(void* obj) |
void | SetEvt_time(Int_t Evt) |
void | SetFirst_Phys(Int_t First) |
void | SetFirst_Phys_time(Int_t First) |
void | SetLast_Phys(Int_t Last) |
void | SetLast_Phys_time(Int_t Last) |
static void | TObject::SetObjectStat(Bool_t stat) |
void | Setrunno(Int_t run) |
virtual void | TObject::SetUniqueID(UInt_t uid) |
virtual void | ShowMembers(TMemberInspector& insp, char* parent) |
virtual void | Streamer(TBuffer& b) |
void | StreamerNVirtual(TBuffer& b) |
virtual void | TObject::SysError(const char* method, const char* msgfmt) const |
Bool_t | TObject::TestBit(UInt_t f) const |
Int_t | TObject::TestBits(UInt_t f) const |
virtual void | TObject::UseCurrentStyle() |
virtual void | TObject::Warning(const char* method, const char* msgfmt) const |
virtual Int_t | TObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0) |
virtual Int_t | TObject::Write(const char* name = "0", Int_t option = 0, Int_t bufsize = 0) const |
virtual void | TObject::DoError(int level, const char* location, const char* fmt, va_list va) const |
void | TObject::MakeZombie() |
enum TObject::EStatusBits { | kCanDelete | |
kMustCleanup | ||
kObjInCanvas | ||
kIsReferenced | ||
kHasUUID | ||
kCannotPick | ||
kNoContextMenu | ||
kInvalidObject | ||
}; | ||
enum TObject::[unnamed] { | kIsOnHeap | |
kNotDeleted | ||
kZombie | ||
kBitMask | ||
kSingleKey | ||
kOverwrite | ||
kWriteDelete | ||
}; |
TClonesArray* | EPIC | a TClonesArray containing the names and values |
Int_t | First_Phys | the event number of the first physics event after the previous EPIC event |
Int_t | Last_Phys | the event number of the last physics event before this EPIC event |
Int_t | runno | the run number of this EPIC event |
Int_t | First_Phys_time | the time of the first physics event after the previous EPIC event |
Int_t | Last_Phys_time | the time of the last physics event before this EPIC event |
Int_t | Evt_time | the time of this EPIC event |
____________________
Modifications: Maurik (7/05) Comments.
This class is part of the sytem to access the EPIC data stored in the (RAW only!) BOS file.
The on-line system has a large number of slow control (beam position, torus current etc) values that get occasionally collected and stored in BOS bank and put in the data stream. This BOS bank is called "EPIC". It contains pairs of a name and a value. What is actually in the bank (and what name is given to the item in the bank) depends on the setup during the run. Mostly you can guess at what is what.
A raw BOS file is scanned by Scan_EPICS (see Utils/Scan_Epics.cc)
to produce an EPICS root file. This file will contain a TEPICClass which in turn
contains a TClonesArray of TEPICValue objects.
Note that a "cooked" BOS file will not contain the EPIC bank, so you probably want to run
the Scan_EPIC program when you are cooking the raw files. This is also why we create a
separate root file for this information.
The most convenient usage of this class is while doing date analysis using the TDSTReader. There is already code included in that reader to get the EPIC data you may want to use in your analysis.
To make a plot of the EPIC value (see one of the example scripts), you need to open the file (with TFile) then get the TTree containing the TEPICClass object from the file and run through the tree for each of the EPIC events.
Add a TEPICValue at a specific place in the EPIC TClonesArray
This returns the index of the TEPICValue with the name member. If you are repeatedly getting a member with the same index in a loop then using this outside the loop and GetValue(Int_t) inside should be faster than the binary search. Use the TString search if you think the index will change. Return -1 if not found.
Returns the value associated with the TEPICValue that has name "member". Uses a binary search.