+
class Rtube
-
#include "Rtube.cxx"
Display options:
Show inherited
Show non-public

class Rtube: public TObject


Rtube
Class used to read BPRS masks, tube arrays and PMT numbers from softId
User needs to supply the maps directory for the BPRS as text files
o the constructor: ie, on promp
Rtube b
b("$PATH/mapdir/")

Function Members (Methods)

public:
Rtube(char* map_file_location = ""./maps/"")
Rtube(const Rtube&)
virtual~Rtube()
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()
virtual const char*TObject::GetIconName() const
Int_tgetMapPlot()
Int_tgetMask(Int_t tower)
virtual const char*TObject::GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
Int_tgetPMT(Int_t towerid)
Int_tgetPMTidPlot()
virtual const char*TObject::GetTitle() const
Int_tgetTowersPMT(Int_t pmtId)
Int_tgetTube(Int_t towerId)
Int_tgetTubePlot()
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)
Rtube&operator=(const Rtube&)
virtual voidTObject::Paint(Option_t* option = """")
virtual voidTObject::Pop()
virtual voidTObject::Print(Option_t* option = """") const
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()
private:
Int_tfillTube()
Int_tmaskPMT()

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_tBPRStube[2]Info about BRPS tube array, index 0: tube map type (long short user..) index1: tube array(1-5): index2: softId
Int_tPMTid[4801]For soft ID, PMT location number 1-80, starting at 0,0 (from the 4*20 array) in that PMT box (use getPMT for ID)
Int_tPMTtower[4][20]Note PMTtower[0][0] is the top row
Int_ttowervspmt[4801]tower-pmt map
Int_ttubearrtower[4801]Tube array to soft ID map
Int_ttubearrtowtp[4801]Tube type (long short user def) to soft ID map
private:
Int_tamask[4801]Map of the masked tubes; returns 1 or 0 if masked
Int_tflagFillmask
Int_tflagFilltube
towermap*ptowermap
tube_list*ptubelist
tube*ptubemap
char*textfilepath
TTree*ttowermap
TTree*ttube
TTree*ttube_list

Class Charts

Inheritance Chart:
TObject
Rtube

Function documentation

Rtube(char * map_file_location)
Set flags
Int_t getPMT(Int_t towerid)
Return the PMT box
Int_t getTowersPMT(Int_t pmtId)
Return vector of towers to user in 
Int_t getTube(Int_t towerId)
Int_t fillTube()
Fill tube array to tower map, this is an internal function, not for user.
Int_t getMask(Int_t tower)
Returns SoftId if no mask or returns zero
Int_t maskPMT()
Fill mask, not for user, this is an internal call
Int_t getMapPlot()
Test mask by plotting softid vs PMT in numerical PMT box layout. Zero == masked tower
Int_t getTubePlot()
Test map of tube array Id, numerical plot lay out in PMT box sections
Int_t getPMTidPlot()
Test PMTId by making a numerical plot of PMTid (1-80) for each PMT box
~Rtube()
Clear heap
Rtube(char * map_file_location)
Set flags

Last update: Mon Jul 30 06:46:29 2007

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.