StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
TChair Class Reference
Inheritance diagram for TChair:
TDataSet St_additionalTriggerIDC St_asic_thresholds_tpxC St_asic_thresholdsC St_beamInfoC St_bemcMapC St_bprsMapC St_bsmdeMapC St_bsmdpMapC St_defaultTrgLvlC St_dsmPrescalesC St_EbyET0C St_emcCalibC St_emcGainC St_emcPedC St_emcStatusC St_emcTriggerLUTC St_emcTriggerPedC St_emcTriggerStatusC St_FilePathC St_ftpcGasOutC St_ftpcGasSystemC St_ftpcVoltageC St_ftpcVoltageStatusC St_GatingGridC St_istChipConfigC St_istControlC St_istGainC St_istMappingC St_istPedNoiseC St_istSimParC St_itpcDeadFEEC St_itpcPadGainT0C St_itpcPadPlanesC St_itpcRDOMapC St_iTPCSurveyC St_L0TriggerInfoC St_MagFactorC St_MDFCorrection3C St_MDFCorrection4C St_MDFCorrectionC St_pidCorrectionC St_pvpdStrobeDefC St_pxlBadRowColumnsC St_pxlControlC St_pxlHotPixelsC St_pxlRowColumnStatusC St_pxlSensorStatusC St_pxlSensorTpsC St_richvoltagesC St_smdCalibC St_smdGainC St_smdPedC St_smdStatusC St_spaceChargeCorC St_spline3C St_starClockOnlC St_starMagAvgC St_starMagOnlC St_starTriggerDelayC St_SurveyC St_svtCorrectionC St_svtHybridDriftVelocityC St_svtRDOstrippedC St_tofCamacDaqMapC St_tofCorrC St_tofDaqMapC St_tofGeomAlignC St_tofINLCorrC St_tofINLSCorrC St_tofModuleConfigC St_tofPedestalC St_tofr5MaptableC St_tofSimResParamsC St_tofStatusC St_tofTDIGOnTrayC St_tofTrayConfigC St_tofTrgWindowC St_tofTzeroC St_tpcAcChargeC St_tpcAltroParamsC St_tpcAnodeHVavgC St_tpcAnodeHVC St_tpcAvCurrentC St_TpcAvgCurrentC St_TpcAvgPowerSupplyC St_tpcBXT0CorrC St_tpcCalibResolutionsC St_tpcChargeEventC St_tpcCorrectionC St_tpcDimensionsC St_tpcDriftVelocityC St_TpcEffectivedXC St_tpcEffectiveGeomC St_tpcElectronicsC St_tpcExtraGainCorrectionC St_tpcFieldCageC St_tpcFieldCageShortC St_tpcGainMonitorC St_tpcGasC St_tpcGlobalPositionC St_tpcGridLeakC St_tpcHighVoltagesC St_tpcHVPlanesC St_tpcMaxHitsC St_tpcOmegaTauC St_tpcPadConfigC St_TpcPadCorrectionC St_tpcPadGainT0C St_tpcPadPlanesC St_tpcPadResponseC St_tpcPadrowT0C St_tpcPedestalC St_tpcRDOMapC St_tpcRDOMasksC St_tpcRDOT0offsetC St_TpcResponseSimulatorC St_tpcSCGLC St_TpcSecRowCorC St_tpcSectorT0offsetC St_tpcSlewingC St_tpcSlowControlSimC St_tpcStatusC St_tpcT0BXC St_tpcWirePlanesC St_trgTimeOffsetC St_trigDetSumsC St_triggerIDC St_triggerInfoC St_trigL3ExpandedC St_trigPrescalesC St_tss_tssparC St_VertexCutsC St_vertexSeedC St_vpdDelayC St_vpdSimParamsC St_y1MultC StHitChair StiHitErrorCalculator StiKalmanTrackFinderParameters StiKalmanTrackFitterParameters StiLocalTrackSeedFinderParameters StiTrackingParameters StTrackChair TColumnView

Public Member Functions

 TChair (TTable *table)
 
 TChair (const TChair &org)
 
virtual void Adopt (Int_t n, void *array)
 
virtual void AddAt (TDataSet *dataset, Int_t idx)
 
virtual void AddAt (const void *c, Int_t i)
 
const void * At (Int_t i) const
 
virtual void Browse (TBrowser *b)
 Browse this dataset (called by TBrowser).
 
virtual void CopySet (TChair &chair)
 
Int_t CopyRows (const TChair *srcChair, Int_t srcRow=0, Int_t dstRow=0, Int_t nRows=0, Bool_t expand=kFALSE)
 
virtual void Draw (Option_t *opt)
 
virtual TH1 * Draw (TCut varexp, TCut selection, Option_t *option="", Int_t nentries=1000000000, Int_t firstentry=0)
 
virtual TH1 * Draw (const char *varexp, const char *selection, Option_t *option="", Int_t nentries=1000000000, Int_t firstentry=0)
 
virtual Char_t * GetArray () const
 
virtual TClass * GetRowClass () const
 
virtual Long_t GetNRows () const
 
virtual Long_t GetRowSize () const
 
virtual Long_t GetTableSize () const
 
const TTableTable () const
 
virtual TTableDescriptorGetRowDescriptors () const
 
virtual const Char_t * GetType () const
 
virtual void Fit (const char *formula, const char *varexp, const char *selection="", Option_t *option="", Option_t *goption="", Int_t nentries=1000000000, Int_t firstentry=0)
 
virtual Long_t HasData () const
 
virtual Bool_t IsFolder () const
 
virtual void ls (Option_t *option="") const
 
virtual void ls (Int_t deep) const
 
Int_t NaN ()
 
virtual Char_t * MakeExpression (const Char_t *expressions[], Int_t nExpressions)
 
virtual Char_t * Print (Char_t *buf, Int_t n) const
 
virtual void Print (Option_t *opt="") const
 
virtual const Char_t * Print (Int_t row, Int_t rownumber=10, const Char_t *colfirst="", const Char_t *collast="") const
 
virtual const Char_t * PrintHeader () const
 
virtual Int_t Purge (Option_t *opt="")
 
void * ReAllocate (Int_t newsize)
 
void * ReAllocate ()
 
virtual void SavePrimitive (std::ostream &out, Option_t *option="")
 
virtual void Set (Int_t n)
 
virtual void Set (Int_t n, Char_t *array)
 
virtual void SetNRows (Int_t n)
 
virtual void Reset (Int_t c=0)
 
virtual void Update ()
 
virtual void Update (TDataSet *set, UInt_t opt=0)
 
void * operator[] (Int_t i)
 
const void * operator[] (Int_t i) const
 
- Public Member Functions inherited from TDataSet
 TDataSet (const char *name="", TDataSet *parent=0, Bool_t arrayFlag=kFALSE)
 
 TDataSet (const TDataSet &src, EDataSetPass iopt=kAll)
 
 TDataSet (TNode &src)
 This copy ctor has been depricated (left for thwe sake of the backweard compatibility)
 
virtual ~TDataSet ()
 std::cout << "Default destructor for " << GetName() << " - " << GetTitle() << std::endl;
 
virtual void Add (TDataSet *dataset)
 
virtual void AddAtAndExpand (TDataSet *dataset, Int_t idx=0)
 
virtual void AddFirst (TDataSet *dataset)
 Add TDataSet object at the beginning of the dataset list of this dataset.
 
virtual void AddLast (TDataSet *dataset)
 Add TDataSet object at the end of the dataset list of this dataset.
 
TDataSetAt (Int_t idx) const
 
virtual TObject * Clone (const char *newname="") const
 the custom implementation fo the TObject::Clone
 
virtual void Delete (Option_t *opt="")
 
virtual TDataSetFind (const char *path) const
 
virtual TDataSetFindByName (const char *name, const char *path="", Option_t *opt="") const
 
virtual TDataSetFindByPath (const char *path) const
 Aliase for TDataSet::Find(const Char_t *path) method.
 
virtual TDataSetFindByTitle (const char *title, const char *path="", Option_t *opt="") const
 
TObject * FindObject (const char *name) const
 
TObject * FindObject (const TObject *o) const
 
virtual TDataSetFirst () const
 Return the first object in the list. Returns 0 when list is empty.
 
TObjArray * GetObjArray () const
 
virtual TSeqCollection * GetCollection () const
 
TList * GetList () const
 
virtual Int_t GetListSize () const
 
TObject * GetMother () const
 
virtual TObject * GetObject () const
 The depricated method (left here for the sake of the backward compatibility)
 
virtual TDataSetGetParent () const
 
virtual TDataSetInstance () const
 
virtual TString Path () const
 return the full path of this data set
 
virtual EDataSetPass Pass (EDataSetPass(*callback)(TDataSet *), Int_t depth=0)
 
virtual EDataSetPass Pass (EDataSetPass(*callback)(TDataSet *, void *), void *user, Int_t depth=0)
 
virtual void PrintContents (Option_t *opt="") const
 
virtual void Remove (TDataSet *set)
 Remiove the "set" from this TDataSet.
 
virtual TDataSetRemoveAt (Int_t idx)
 
virtual void SetMother (TDataSet *parent=0)
 
virtual void SetObject (TObject *obj)
 The depricated method (left here for the sake of the backward compatibility)
 
virtual void SetParent (TDataSet *parent=0)
 
virtual void SetWrite ()
 
virtual void Shunt (TDataSet *newParent=0)
 
virtual void Sort ()
 Sort recursively all members of the TDataSet with TList::Sort method.
 
virtual Bool_t IsEmpty () const
 return kTRUE if the "internal" collection has no member
 
virtual Bool_t IsMarked () const
 
virtual Bool_t IsThisDir (const char *dirname, int len=-1, int ignorecase=0) const
 
virtual TDataSetLast () const
 Return the last object in the list. Returns 0 when list is empty.
 
void Mark ()
 
void UnMark ()
 
void MarkAll ()
 Mark all members of this dataset.
 
void UnMarkAll ()
 UnMark all members of this dataset.
 
void InvertAllMarks ()
 Invert mark bit for all members of this dataset.
 
void Mark (UInt_t flag, EBitOpt reset=kSet)
 
virtual TDataSetNext () const
 
virtual TDataSetPrev () const
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0)
 
virtual Int_t Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const
 

Protected Member Functions

TTableGetThisTable ()
 
const TTableGetThisTable () const
 
- Protected Member Functions inherited from TDataSet
virtual void SetMother (TObject *mother)
 
 TDataSet (const char *name, const char *title)
 
void AddMain (TDataSet *set)
 add data set to main data set
 
TDataSetGetRealParent ()
 return real parent
 
void MakeCollection ()
 Create the internal container at once if any.
 

Static Protected Member Functions

static void * GetOffset (const void *base, ULong_t offset)
 
- Static Protected Member Functions inherited from TDataSet
static EDataSetPass SortIt (TDataSet *ds)
 
static EDataSetPass SortIt (TDataSet *ds, void *user)
 

Protected Attributes

TTablefTable
 
ULong_t fLastIndx
 
void * fLastRow
 
- Protected Attributes inherited from TDataSet
TDataSetfParent
 
TSeqCollection * fList
 

Additional Inherited Members

- Public Types inherited from TDataSet
enum  EDataSetPass {
  kContinue, kPrune, kStop, kUp,
  kStruct, kAll, kRefs, kMarked
}
 
enum  ESetBits { kMark = BIT(22), kArray = BIT(20) }
 
enum  EBitOpt { kSet = kTRUE, kReset = kFALSE }
 
- Static Public Member Functions inherited from TDataSet
static TDataSetGetMainSet ()
 return pointer to the main dataset
 
static TDataSetinstance ()
 
- Static Protected Attributes inherited from TDataSet
static TDataSetfgMainSet = &mainSet
 

Detailed Description

Definition at line 27 of file TChair.h.

Member Function Documentation

void TChair::AddAt ( TDataSet dataset,
Int_t  idx 
)
inlinevirtual

Add TDataSet object at the "idx" position in ds or at the end of the dataset The final result is defined by either TList::AddAt or TObjArray::AddAt methods

Reimplemented from TDataSet.

Definition at line 104 of file TChair.h.

References TDataSet::AddAt().

virtual void TChair::ls ( Option_t *  option = "") const
inlinevirtual
                                                           //

ls(Option_t <em>option) // // option - defines the path to be listed // = "</em>" - means print all levels // //

Reimplemented from TDataSet.

Definition at line 75 of file TChair.h.

References TDataSet::ls().

virtual void TChair::ls ( Int_t  depth) const
inlinevirtual
                                                           //

ls(Int_t depth) // // Prints the list of the this TDataSet. // // Parameter: // ========= // Int_t depth >0 the number of levels to be printed // =0 all levels will be printed // No par - ls() prints only level out // //

Reimplemented from TDataSet.

Definition at line 76 of file TChair.h.

References TDataSet::ls().

virtual Int_t TChair::Purge ( Option_t *  opt = "")
inlinevirtual

Purge - deletes all "dummy" "Structural Members" those are not ended up with some dataset with data inside (those return HasData() = 0)

Purge does affect only the "Structural Members" and doesn't "Associated" ones

Reimplemented from TDataSet.

Definition at line 86 of file TChair.h.

References TTable::Purge().

virtual void TChair::Update ( )
inlinevirtual

Update()

Recursively updates all tables for all nested datasets in inverse order

Reimplemented from TDataSet.

Definition at line 96 of file TChair.h.

References TTable::Update().

virtual void TChair::Update ( TDataSet set,
UInt_t  opt = 0 
)
inlinevirtual

Update this TDataSet with "set"

ATTENTION !!!

This method changes the parent relationships of the input "set"

Reimplemented from TDataSet.

Definition at line 97 of file TChair.h.

References TTable::Update().


The documentation for this class was generated from the following files: