StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | Static Public Member Functions | Protected Types | Protected Attributes | Static Protected Attributes | List of all members
StGmtStrip Class Reference

Holds data for the strip in GMT. More...

#include <StGmtStrip.h>

Inheritance diagram for StGmtStrip:
StObject

Public Member Functions

 StGmtStrip ()
 Constructor.
 
 StGmtStrip (const StGmtStrip &)
 Copy constructor.
 
StGmtStripoperator= (const StGmtStrip &)
 Assignment operator.
 
 ~StGmtStrip ()
 Destructor.
 
void Print (Option_t *option="") const
 Print strip information (parameters)
 
Int_t getGeoId () const
 Detector ID (8 modules * 2 APV * 128 channels)
 
Int_t getModule () const
 Module ID (8 modules in total)
 
Int_t getCoordNum () const
 Coordinate (0-127)
 
Int_t isY () const
 Is it a pad?
 
Int_t isC () const
 Is used in a cluster.
 
Float_t getPosition () const
 Coordinate position relative to local origin (in module)
 
Short_t getAdc (Int_t tb=-1) const
 ADC in a strip for a given time bin.
 
Short_t getPedSubtractedAdc (Int_t tb=-1) const
 Pedestal subtracted ADC for a give time bin.
 
Short_t getMaxAdc () const
 Maximal ADC over the time bins.
 
Short_t getMaxPedSubtractedAdc () const
 Maximal pedestal subtraced ADC over the time bins.
 
Short_t getMaxAdcTB () const
 Maximal over the time bins.
 
Short_t getMaxPedSubtractedAdcTB () const
 Maximal over the time bins.
 
Float_t getCharge () const
 Charge before GEM (in C)
 
Float_t getChargeUncert () const
 Charge uncertainty.
 
void getElecCoords (Int_t &rdo, Int_t &arm, Int_t &apv, Int_t &chan)
 Coordinates from electronics.
 
Float_t getPed () const
 Pedestal.
 
Float_t getPedStdDev () const
 Pedestal standard deviation.
 
Float_t getPedErr () const
 Pedestal error.
 
Bool_t chargeValid () const
 Check if charge is valid.
 
Int_t getRdo () const
 RDO number.
 
Int_t getArm () const
 Arm.
 
Int_t getApv () const
 Apv.
 
Int_t getChannel () const
 Channel number.
 
void setGeoId (Int_t geoId)
 Set detector GeoId.
 
void setModule (Int_t module)
 Set module.
 
void setCoordNum (Int_t coord)
 Set coordinate.
 
void setIsY (Int_t isY)
 Set is it a pad.
 
void setIsC (Int_t isC)
 Set is used in a cluster.
 
void setPosition (Float_t position)
 Set position relative to local origin (in module)
 
void setAdc (Short_t adc, Int_t tb=-1)
 Set ADC for the given time bucket.
 
void setPedSubtractedAdc (Short_t adc, Int_t tb=-1)
 Set pedestal stubtracted ADC for the given time bucket.
 
void setMaxAdc (Short_t adc)
 Set maximal ADC over time buckets.
 
void setMaxPedSubtractedAdc (Short_t adc)
 Set maximal pedestal subtracked ADC over time buckets.
 
void setCharge (Float_t charge)
 Set charge before the GEM (in C)
 
void setChargeUncert (Float_t chargeUncert)
 Set charge uncertainty.
 
void setElecCoords (Int_t rdo, Int_t arm, Int_t apv, Int_t chan)
 Set coordinates from electronics.
 
void setPed (Float_t ped)
 Set pedestal.
 
void setPedStdDev (Float_t pedStdDev)
 Set pedestal standard deviation.
 
void setPedErr (Float_t pedErr)
 Set pedestal error.
 
void invalidateCharge ()
 Set charge to the invalid state.
 
- Public Member Functions inherited from StObject
 StObject (const StObject &sto)
 
StObjectoperator= (const StObject &sto)
 
virtual TObject * clone () const
 
Int_t isZombie () const
 
virtual void makeZombie (int flg=1)
 
UInt_t Ztreamer (TBuffer &R__b)
 
 ClassDef (StObject, 3) static UInt_t fgTally
 

Static Public Member Functions

static Int_t getDefaultTimeBin ()
 Default time bin.
 
static void setDefaultTimeBin (Int_t tb)
 Set default time bin.
 

Protected Types

enum  { kInvalidChargeValue = -10000 }
 To signify an invalid value of the charge.
 

Protected Attributes

Int_t mGeoId
 Indexing: 8 modules * 2 APV * 128 channels = 2048.
 
Int_t mModule
 Indexing: 8 modules.
 
Int_t mCoordNum
 0-127 in each dimension (X and Y)
 
Int_t mIsY
 Is it a pad (as opposed to a strip)?
 
Float_t mPosition
 Coordinate position relative to local origin (in module)
 
Short_t mAdc [kGmtNumTimeBins]
 ADC in a strip. Note "StRoot/RTS/src/DAQ_GMT/daq_gmt.h" uses UShort_t.
 
Short_t mPedSubtractedAdc [kGmtNumTimeBins]
 
Short_t mMaxAdc
 Maximal ADC over the time bins.
 
Short_t mMaxPedSubtractedAdc
 Maximal pedestal subtracted ADC over the time bins.
 
Short_t mMaxAdcTB
 Maximal over the time bins.
 
Short_t mMaxPedSubtractedAdcTB
 Max over the time bins.
 
Float_t mCharge
 
Float_t mChargeUncert
 Charge uncertainty.
 
Int_t mRdo
 RDO number.
 
Int_t mArm
 
Int_t mApv
 
Int_t mChan
 Channel number.
 
Float_t mPed
 Pedestal.
 
Float_t mPedStdDev
 Pedestal standard deviation.
 
Float_t mPedErr
 Pedestal RMS.
 
Int_t mIsC
 

Static Protected Attributes

static Int_t mDefaultTimeBin = 7
 Time bin.
 

Detailed Description

Holds data for the strip in GMT.

Data for an individual strip in GMT (based on StFgtStrip).

Author
K.S. Engle, Jan. 2013
Richard Witt (witt@.nosp@m.usna.nosp@m..edu), Jan. 2013
Grigory Nigmatkulov (nigma.nosp@m.tkul.nosp@m.ov@gm.nosp@m.ail..nosp@m.com), Dec. 2020

Definition at line 21 of file StGmtStrip.h.

Member Data Documentation

Float_t StGmtStrip::mCharge
protected

Charge before GEM, units (C) relation: ADC = ped + charge*gain(r,phi,disc)

Definition at line 167 of file StGmtStrip.h.

Referenced by chargeValid(), getCharge(), invalidateCharge(), operator=(), and setCharge().

Short_t StGmtStrip::mPedSubtractedAdc[kGmtNumTimeBins]
protected

ADC after pedestal subtraction Note "StRoot/RTS/src/DAQ_GMT/daq_gmt.h" uses UShort_t

Definition at line 156 of file StGmtStrip.h.

Referenced by getPedSubtractedAdc(), operator=(), setPedSubtractedAdc(), and StGmtStrip().


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