|
BrMultRdoclass description - source file - inheritance tree class BrMultRdo : public BrDataObjectpublic: Data Membersprivate: Class DescriptionRdo (after first analysis pass) structure common to both TMA and SMA. BrMultRdo() : BrDataObject(), fSingle("BrMultRdo::BrSingle", 0), fRing("BrMultRdo::BrRing",0), fArrayCalibratedAdc(0), fArrayEnergy(0), fArrayMultiplicity(0), fArrayHits(0) Default constructor, do not use Fix to allow objects of this class to be extracted an put as a split branch on a new TTree. BrMultRdo(const char* name, const char* title) : BrDataObject(name, title), fSingle("BrMultRdo::BrSingle", 0), fRing("BrMultRdo::BrRing",0), fArrayCalibratedAdc(0), fArrayEnergy(0), fArrayMultiplicity(0), fArrayHits(0) Named constructor Fix to allow objects of this class to be extracted an put as a split branch on a new TTree. ~BrMultRdo() void Clear(Option_t* option) void Print(Option_t* option) const Print this data object Options: A Array data I Single data R Ring data other options are passed on. Int_t GetSingleCalibratedAdc(Int_t i) const Get calibrated ADC from single element i. Returns -1 if no such element Float_t GetSingleEnergy(Int_t i) const Get energy from single element i. Returns -1 if no such element Float_t GetSingleMultiplicity(Int_t i) const Get multiplicity from single element i. Returns -1 if no such element Bool_t IsSingleSaturated(Int_t i) const Get saturation flag from single element i. Returns kFALSE if no such element Int_t GetRingCalibratedAdc(Int_t i) const Get calibrated ADC from ring element i. Returns -1 if no such element Float_t GetRingEnergy(Int_t i) const Get energy from ring element i. Returns -1 if no such element Float_t GetRingMultiplicity(Int_t i) const Get multiplicity from ring element i. Returns -1 if no such element Short_t GetRingHits(Int_t i) const Get no of hits from ring element i. Returns -1 if no such element Float_t GetRingEta(Int_t i) const Get psuedo-rapidity from ring element i. Returns -1 if no such element Float_t GetRingAvgEta(Int_t i) const Get Hijing weighted psuedo-rapidity from ring element i. Returns -1 if no such element Float_t GetRingdNdEta(Int_t i) const Get charged particle density for ring. Returns -1 if no such element void SetSingleCalibratedAdc(Int_t i, Int_t x) Set the calibrated ADC for single detector element i to x. Please notice, that this will create a new object in the array if one does not exits already. void SetSingleEnergy(Int_t i, Float_t x) Set the energy for single detector element i to x. If no such element in the array exists, this method does nothing. void SetSingleMultiplicity(Int_t i, Float_t x) Set the multiplicity for single detector element i to x. If no such element in the array exists, this method does nothing. void SetIsSingleSaturated(Int_t i, Bool_t x) Set the saturation flag for single detector element i to x. If no such element in the array exists, this method does nothing. void SetRingCalibratedAdc(Int_t i, Int_t x) Set the calibrated ADC for ring detector element i to x. Please notice, that this will create a new object in the array if one does not exits already. void SetRingEnergy(Int_t i, Float_t x) Set the energy for ring detector element i to x. If no such element in the array exists, this method does nothing. void SetRingMultiplicity(Int_t i, Float_t x) Set the multiplicity for ring detector element i to x. If no such element in the array exists, this method does nothing. void SetRingHits(Int_t i, Int_t x) Set the # hits for ring detector element i to x. If no such element in the array exists, this method does nothing. void SetRingEta(Int_t i, Float_t x) Set the pseudo-rapidity for ring detector element i to x. If no such element in the array exists, this method does nothing. void SetRingAvgEta(Int_t i, Float_t x) Set the hijing weighted pseudo-rapidity for ring detector element i to x. If no such element in the array exists, this method does nothing. void SetRingdNdEta(Int_t i, Float_t x) Set calculated charged particle density for ring If no such element in the array exists, this method does nothing. Inline FunctionsBrMultRdo::BrSingle* FindSingle(int id) const BrMultRdo::BrRing* FindRing(int id) const BrMultRdo::BrSingle* AddSingle(Short_t id = -1, Int_t calAdc = 0, Float_t energy = 0, Float_t multiplicity = 0, Bool_t isSaturated = kFALSE) BrMultRdo::BrRing* AddRing(Short_t id = -1, Int_t calAdc = 0, Float_t energy = 0, Float_t multiplicity = 0, Short_t hits = 0, Float_t eta = 0) const TClonesArray& GetSingles() const const TClonesArray& GetRings() const Int_t GetArrayCalibratedAdc() const Float_t GetArrayEnergy() const Float_t GetArrayMultiplicity() const Short_t GetArrayHits() const void SetArrayCalibratedAdc(Int_t x) void SetArrayEnergy(Float_t x) void SetArrayMultiplicity(Float_t x) void SetArrayHits(Int_t x) TClass* Class() TClass* IsA() const void ShowMembers(TMemberInspector& insp, char* parent) void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b) BrMultRdo BrMultRdo(BrMultRdo&) |
||||||
This page automatically generated by script docBrat by Christian Holm |
Copyright ; 2002 BRAHMS Collaboration
<brahmlib@rcf.rhic.bnl.gov>
|