class TS800Crdc: public TNamed

Function Members (Methods)

public:
TS800Crdc()
TS800Crdc(const TS800Crdc&)
virtual~TS800Crdc()
voidTObject::AbstractMethod(const char* method) const
virtual voidTObject::AppendPad(Option_t* option = "")
virtual voidTObject::Browse(TBrowser* b)
Int_tCalculate(Long64_t entry)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidClear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidCopy(TObject&) 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
virtual voidTNamed::FillBuffer(char*& buffer)
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()
voidGetEntry(Int_t i)
virtual const char*TObject::GetIconName() const
virtual const char*TNamed::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*TNamed::GetTitle() const
virtual UInt_tTObject::GetUniqueID() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::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 iname, TS800* theParent)
voidInitFix()
voidInitTree(TTree* tree)
virtual voidTObject::Inspect() constMENU
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_tTNamed::IsSortable() const
Bool_tTObject::IsZombie() const
Bool_tLoadSpline(Char_t* splineFile, Int_t crdcID, Int_t type)
Bool_tLoadYGainShifts(Char_t* yGainShiftFile)
Bool_tLoadYShifts(Char_t* yShiftFile)
virtual voidTNamed::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)
TNamed&TNamed::operator=(const TNamed& rhs)
virtual voidTObject::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTNamed::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)
voidsetchannels(Short_t achannels)
voidsetdebug(Bool_t condition)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
voidsettag(Short_t atag)
virtual voidTNamed::SetTitle(const char* title = "")MENU
virtual voidTObject::SetUniqueID(UInt_t uid)
voidSetYGainShift(Int_t runNum)
voidSetYShift(Int_t runNum)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual Int_tTNamed::Sizeof() const
voidSnapshot1D(TH1F* histogram, Int_t entry)
voidSnapshot2D(TH2F* histogram, Int_t entry)
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
UShort_t*Unpack(UShort_t* p)
UShort_t*Unpackrawdata(UShort_t* p)
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_tanodeAnode signal.
TBranch*b_anode!
TBranch*b_calc!
TBranch*b_channel!
TBranch*b_data!
TBranch*b_filled!
TBranch*b_pad!
TBranch*b_sample!
TBranch*b_tac!
TBranch*b_x!
TBranch*b_y!
TS800CrdcCalccalcCRDC calculation class.
Short_t*channel[filled]
Short_tchannels!
Short_t*data[filled]
Bool_tdebug!
Double_tfAnodeCorrOffset!
Double_tfAnodeCorrSlope!
Bool_tfAnodeSplineCorr! Use Anode correcting spline.
Double_tfAnodeSplineLevel!
TTree*fChain!
TS800Crdc*fCon! Convsersion class.
Int_tfCurrent!
TH1FfHYGainShifts! Histo of Y gain shifts as a function of run number.
TH1FfHYShifts! Histo of Y shifts as a function of run number.
Bool_tfTACSplineCorr! Use TAC correcting spline.
Double_tfTACSplineLevel!
Double_tfXShift! Current CRDC X (dispersive) shift.
Double_tfYGainShift! Current CRDC Y (non-dispersive) gain shift.
Double_tfYShift! Current CRDC Y (non-dispersive) shift.
Bool_tfYSplineCorr! Use Y correcting spline.
Char_t*fYSplineMatchPnt!
Int_tfilled
Short_tmaxwidth!
TS800CrdcPadspadCRDC pads.
TS800*parent! S800 parent.
Short_trChannel[224]!
Short_trData[224]!
Short_trSample[224]!
Short_t*sample[filled]
Short_tsampleBegin!
Short_tsampleWidth!
UShort_ttacTAC signal.
Short_ttag!
Short_tthreshold!
Double_txCalibrated x-position (dispersive).
Double_tx_offset[2]! Used to align CRDC mask with center.
Double_tx_slope[2]! X-position set by the fixed pad size. Typically this is a constant.
Double_tyCalibrated y-position (non-dispersive).
Double_ty_offset[2]! Drift offset.
Double_ty_slope[2]! Drift slope.
protected:
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title
private:
TSpline3*fAnodeSpline! Anode correcting cubic spline.
TRandom3fRandom! The class's random number generator.
TSpline3*fTACSpline! TAC correcting cubic spline.
TSpline3*fYSpline! Y correcting cubic spline.

Class Charts

Inheritance Chart:
TNamed
TS800Crdc

Function documentation

TS800Crdc(const TS800Crdc& )
 -- Copy Constructor.
void InitFix()
Int_t Calculate(Long64_t entry)
 -- Calculate an entry.

void InitClass(TString iname, TS800* theParent)
 -- Initialize the default class data.

void InitTree(TTree* tree)
 -- Initialize the class to tree.

void Clear(Option_t* option = "")
 -- Clear the data members.

void Copy(TObject& ) const
 -- Copy this method.
void GetEntry(Int_t i)
 --

Bool_t LoadYShifts(Char_t* yShiftFile)
 -- Load the file containing the CRDC Y shifts.

 Commented lines are denoted by the '#' character.  Each line has the following
 format,

 <RUN NUMBER>     <MEAN>     <SHIFT>    <GAINSHIFT>

 NOTE:  Currently only the shift is used for the drift correction!!!

Bool_t LoadSpline(Char_t* splineFile, Int_t crdcID, Int_t type)
 -- Load the file containing the correcting splines.
void SetYShift(Int_t runNum)
 --
void SetYGainShift(Int_t runNum)
 --
UShort_t* Unpack(UShort_t* p)
 -- Unpack the subpacket.

UShort_t* Unpackrawdata(UShort_t* p)
 -- Unpack the subpacket RAW data.

void Snapshot1D(TH1F* histogram, Int_t entry)
 -- Draw the 1D snapshot.

void Snapshot2D(TH2F* histogram, Int_t entry)
 -- Draw the 2D snapshot.

TS800Crdc()
{fRandom.SetSeed(0);}
~TS800Crdc()
Bool_t LoadYGainShifts(Char_t* yGainShiftFile)
void settag(Short_t atag)
{tag = atag;}
void setchannels(Short_t achannels)
{channels = achannels;}
void setdebug(Bool_t condition)
{debug = condition;}

Last change: Sun Dec 21 12:38:54 2008
Last generated: 2008-12-21 12:38

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.