StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
StEmcHitCollection Class Reference
Inheritance diagram for StEmcHitCollection:
TDataSet StEmcGeom

Public Member Functions

 StEmcHitCollection (const Char_t *)
 
Int_t NHit () const
 
Float_t EnergySum () const
 
Float_t EtSum () const
 
Float_t HitEnergy (Int_t)
 
Int_t HitId (Int_t)
 
TArrayF * Energy ()
 
TArrayS * Id ()
 
Int_t Module ()
 
TArrayS * NumsModule ()
 
TArrayS * IndexFirstLast ()
 
void setEmcCalib (St_DataSet *var)
 
St_emc_hits * copyToTable (const Char_t *)
 
void printHits (Int_t n=10, Int_t start=0)
 
void printHitsAll ()
 
void Browse (TBrowser *b)
 Browse this dataset (called by TBrowser).
 
void printNameTable ()
 
Int_t fill (St_emc_hits *)
 
- 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 AddAt (TDataSet *dataset, Int_t idx=0)
 
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 Long_t HasData () 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 Int_t Purge (Option_t *opt="")
 
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 IsFolder () const
 
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.
 
virtual void ls (Option_t *option="") const
 
virtual void ls (Int_t depth) const
 
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 void Update ()
 
virtual void Update (TDataSet *set, UInt_t opt=0)
 
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
 
- Public Member Functions inherited from StEmcGeom
 StEmcGeom (const Int_t)
 
 StEmcGeom (const Char_t *)
 
 StEmcGeom (const Int_t, const Char_t *)
 
const TString * Mode () const
 
Int_t Detector () const
 
Int_t NModule () const
 
Int_t NEta () const
 
Int_t NSub () const
 
Int_t Nes () const
 
Int_t NRaw () const
 
Float_t Radius () const
 
Float_t YWidth () const
 
Float_t EtaMax () const
 
Float_t EtaMin () const
 
const Float_t * PhiModule () const
 
const Float_t * PhiOffset () const
 
const Float_t * PhiStep () const
 
const Float_t * PhiBound () const
 
const Float_t * Zlocal () const
 
const Float_t * Eta () const
 
const Float_t * Ylocal () const
 
const Float_t * Phi () const
 
const Float_t * EtaB () const
 
const Float_t * PhiB () const
 
void setDetector (const Int_t val)
 
void setRadius (const Float_t val)
 
void setYWidth (const Float_t val)
 
Int_t checkModule (const Int_t m) const
 
Int_t checkEta (const Int_t e) const
 
Int_t checkSub (const Int_t s) const
 
Int_t checkId (const Int_t softId) const
 
Int_t getBin (const Float_t phi, const Float_t eta, Int_t &m, Int_t &e, Int_t &s) const
 
Int_t getId (const Float_t phi, const Float_t eta, Int_t &softId) const
 
Int_t getBin (const Int_t softId, Int_t &m, Int_t &e, Int_t &s) const
 
Int_t getId (const Int_t m, const Int_t e, const Int_t s, Int_t &softId) const
 
Int_t getVolIdBemc (const Int_t ivid, Int_t &module, Int_t &eta, Int_t &sub, Int_t &detector)
 
Int_t getVolIdBsmd (const Int_t ivid, Int_t &module, Int_t &eta, Int_t &sub, Int_t &detector)
 
Int_t getVolId (const Int_t ivid, Int_t &module, Int_t &eta, Int_t &sub, Int_t &det)
 
Int_t getZlYl (const Int_t softId, Float_t &zl, Float_t &yl) const
 
void getXYZ (const Int_t m, const Int_t e, const Int_t s, Float_t &x, Float_t &y, Float_t &z) const
 
Int_t getXYZ (const Int_t softId, Float_t &x, Float_t &y, Float_t &z) const
 
Int_t getXYZfromGeant (const Int_t ivid, Float_t &x, Float_t &y, Float_t &z)
 
Int_t getEta (const Int_t m, const Int_t e, Float_t &eta) const
 
Int_t getEta (const Int_t softId, Float_t &eta) const
 
Int_t getTheta (const Int_t m, const Int_t e, Float_t &theta) const
 
Int_t getTheta (const Int_t softId, Float_t &theta) const
 
Int_t getPhi (const Int_t m, const Int_t s, Float_t &phi) const
 
Int_t getPhi (const Int_t softId, Float_t &phi) const
 
Int_t getEtaPhi (const Int_t softId, Float_t &eta, Float_t &phi) const
 
Int_t getPhiModule (const Int_t m, Float_t &phi) const
 
Int_t getMaxAdc () const
 
void initGeom (const Int_t)
 
void initBEMCorBPRS ()
 
void initBSMDE ()
 
void initBSMDP ()
 
void initEEMCorEPRS ()
 
void initESMDE ()
 
void initESMDP ()
 
void printGeom () const
 
void print () const
 
void compare (const StEmcGeom &, Bool_t) const
 
void compare (const StEmcGeom *const g, Bool_t key) const
 
void printError (Float_t) const
 
Float_t toDeg (const Float_t angR) const
 
Float_t toRad (const Float_t angD) const
 
void getGeantGeometryTable ()
 

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 Public Member Functions inherited from StEmcGeom
static StEmcGeominstance (const Int_t det)
 
static StEmcGeomgetEmcGeom (const Int_t det)
 
static StEmcGeominstance (const Char_t *cdet)
 
static StEmcGeomgetEmcGeom (const Char_t *cdet)
 
static StEmcGeominstance (const Int_t det, const Char_t *mode)
 
static StEmcGeomgetEmcGeom (const Int_t det, const Char_t *mode)
 
static Int_t getDetNumFromName (const Char_t *cdet)
 
- 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 inherited from TDataSet
static EDataSetPass SortIt (TDataSet *ds)
 
static EDataSetPass SortIt (TDataSet *ds, void *user)
 
- Protected Attributes inherited from TDataSet
TDataSetfParent
 
TSeqCollection * fList
 
- Protected Attributes inherited from StEmcGeom
TString mMode
 
Int_t mDetector
 
Int_t mNModule
 
Int_t mNEta
 
Int_t mNSub
 
Int_t mNes
 
Int_t mNRaw
 
Float_t mRadius
 
Float_t mYWidth
 
Float_t mEtaMax
 
Float_t mEtaMin
 
TArrayF mPhiOffset
 
TArrayF mPhiStep
 
TArrayF mPhiBound
 
Float_t mPhiStepHalf
 
TArrayF mZlocal
 
TArrayF mYlocal
 
TArrayF mEta
 
TArrayF mEtaB
 
TArrayF mPhi
 
TArrayF mPhiModule
 
TArrayF mYB
 
TArrayF mPhiB
 
Int_t mMaxAdc
 
- Static Protected Attributes inherited from TDataSet
static TDataSetfgMainSet = &mainSet
 

Detailed Description

Definition at line 60 of file StEmcHitCollection.h.


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