class THiRAPixel: public TObject


The THiRAPixel class is analogous to a particle track in high-energy physics. In the case of HiRA the basic data analysis element we want to deal with is a pixel.

I. Philosophy

II. Important Data Members

III. Examples

 

Function Members (Methods)

public:
THiRAPixel()
THiRAPixel(const THiRAPixel&)
virtual~THiRAPixel()
voidTObject::AbstractMethod(const char* method) const
THiRAPixel*AddHit(TCrange* p, Int_t* materials, TTele* tele, Int_t stripEF, Int_t stripEB, UShort_t segCsI, Int_t hit, UShort_t nCsIHits)
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
voidCalculate()
voidCalibrate()
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidClear(Option_t* option = "")
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 = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
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
voidFill()
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
virtual const Char_t*GetName() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
virtual const Char_t*GetTitle() const
Int_tGetTower(THiRA* hira, Int_t face)
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
voidInitClass(TString name)
voidInitTree(TTree* tree)
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
Bool_tIsBad(THiRA* hira)
Bool_tIsBad(THiRA* hira, Int_t teleID, Char_t* face, Int_t element)
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)
THiRAPixel&operator=(const THiRAPixel&)
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 = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
voidSetName(const Char_t* name)
voidSetNameTitle(const Char_t* name, const Char_t* title)
static voidTObject::SetObjectStat(Bool_t stat)
voidSetTitle(const Char_t* title = "")
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:
UShort_tCsISegCsI segment number.
UShort_tDEstripdE strip number.
UShort_tEBstripEB strip number.
UShort_tEFstripEF strip number.
Double_tETotTotal Energy.
Double_tE_CsI
Double_tE_DE
Double_tE_EB
Double_tE_EF
Double_tHe3ETot3He total energy.
Double_tHe4ETot4He total energy.
Double_tT_CsI
Double_tT_DE
Double_tT_EB
Double_tT_EF
TBranch*b_CsISeg!
TBranch*b_DEstrip!
TBranch*b_EBstrip!
TBranch*b_EFstrip!
TBranch*b_E_CsI!
TBranch*b_E_DE!
TBranch*b_E_EB!
TBranch*b_E_EF!
TBranch*b_He3ETot!
TBranch*b_He4ETot!
TBranch*b_T_CsI!
TBranch*b_T_DE!
TBranch*b_T_EB!
TBranch*b_T_EF!
TBranch*b_dETot!
TBranch*b_fCsIHits!
TBranch*b_fMult!
TBranch*b_fTeleID!
TBranch*b_pETot!
TBranch*b_tETot!
Double_tdETotDeuteron total energy.
TTree*fChain! Pointer to the analyzed TTree or TChain
UShort_tfCsIHits
Int_tfCurrent! Current Tree number in a TChain
UShort_tfMult"True" event multiplicity.
UShort_tfTeleIDTelescope ID number.
Double_tpETotProton total energy.
TVector3pixVec
Double_ttETotTriton total energy.
protected:
TStringfName! Object identifier
TStringfTitle! Object title
private:
TCrange*fCRange! Energy-Range pointer.

Class Charts

Inheritance Chart:
TObject
THiRAPixel

Function documentation

THiRAPixel * AddHit(TCrange* p, Int_t* materials, TTele* tele, Int_t stripEF, Int_t stripEB, UShort_t segCsI, Int_t hit, UShort_t nCsIHits)
 -- Add a "good" pixel to the TClonesArray.

void Clear(Option_t* option = "")
 -- Clears all relavent THiRAPixel data members.

void Calibrate()
 --

void Calculate()
 --

void Fill()
 --

Int_t GetTower(THiRA* hira, Int_t face)
 --

Bool_t IsBad(THiRA* hira)
 -- Check if any element defining a pixel OF THE CURRENT ENTRY is marked as bad.
 This method easily allows the user to exclude pixels that may contain faulty
 data.  Bad elements are specified in an input file and loaded with the
 THiRA::LoadBadElements() method (see documentation of this method for input
 file formating).

 Not only can this method be used in scripts but it can also be used with the
 Draw() command.
   Ex:  hira->LoadBadElements("HiRABadElements.dat");
        tree->Draw("E_EF:E_CsI","!IsBad(ex->hira)","colz");

 This will draw a 2D histo for all pixels EXCEPT those containing a bad element
 set in the HiRABadElements.dat file.

Bool_t IsBad(THiRA* hira, Int_t teleID, Char_t* face, Int_t element)
 -- Check if a specific element is marked as bad.

void InitClass(TString name)
 -- Initialze the defaults for the THiRAPixel class.

void InitTree(TTree* tree)
 -- Initialize the pixel TTree and set the branch addresses.

void SetName(const Char_t* name)
 -- Change (i.e. set) the name of the THiRAPixel.

void SetNameTitle(const Char_t* name, const Char_t* title)
 -- Change (i.e. set) all the THiRAPixel parameters (name and title).

void SetTitle(const Char_t* title = "")
 -- Change (i.e. set) the title of the THiRAPixel.

THiRAPixel()
{}
~THiRAPixel()
{}
const Char_t * GetName() const
{ return fName; }
const Char_t * GetTitle() const
{ return fTitle; }

Author: Andrew M. Rogers, NSCL 07/01/2006
Last change: Sun Dec 21 12:38:48 2008
Last generated: 2008-12-21 12:38
Copyright (C) 2006-2008 Andrew M. Rogers

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.