Gleam User Guide:  Digi Root

Introduction

All Gleam output is in ROOT format.  To read and analyze these files you will need to use an application capable of reading in ROOT files.  The easiest path is to use the ROOT analysis environment.  For more general information about ROOT and how we use it in GLAST, please see the GLAST ROOT home page: http://www-glast.slac.stanford.edu/software/root.

To read this Monte Carlo files, you need to use ROOT.  You must use ROOT version >= 3.02.07.  It is recommended that you use 3.02.07.

Digi Tree

The Digi tree has one branch, DigiEvent.  All of the Digitization data is contained within this single branch.  

 

Method Definitions

DigiEvent

getEventId( ) Returns the Event Id UInt_t
getRunId( ) Returns the Run Id UInt_t
getFromMc( ) Returns a flag denoting whether or not this data originated from Monte Carlo simulation (kTRUE) or not (kFALSE) Bool_t
getAcdDigiCol( ) Returns the full collection of AcdDigi objects const TClonesArray*
getAcdDigi(UShort layer, UShort face, UShort row, UShort col ) Returns a specific AcdDigi object identified by layer, face, row, column const AcdDigi*
getAcdDigi(const AcdId& ) Returns a specific AcdDigi object identified by its AcdId const AcdDigi*
getCalDigiCol( ) Returns the complete CalDigi collection const TObjArray*
getCalDigi(UInt_t i) Returns a specific CalDigi object identified by its index in the TObjArray const CalDigi*
getTkrDigiCol( ) Returns the complete TkrDigi collection const TObjArray*
getTkrDigi( ) Returns a specific TkrDigi object identified by its index in the TObjArray const TkrDigi*
getL1T( ) Returns the Level One Trigger const L1T&

AcdDigi

getId( ) Returns the AcdId associated with this digi const AcdId&
getVolId( ) Returns the VolumeIdentifier associated with this digi. const VolumeIdentifier&
getPulseHeight(AcdDigi::PmtId ) Returns the PHA (Pulse Height Analysis) for this ACD detector UShort_t
getVeto(AcdDigi::PmtId) Returns kTRUE if the veto discriminator is set, returns kFALSE otherwise Bool_t
get:LowDiscrim(AcdDigi::PmtId ) Returns kTRUE if the low discriminator is set, returns kFALSE otherwise Bool_t
getHighDiscrim(AcdDigi::PmtId) Returns kTRUE if the high (CNO) discriminator is set, returns kFALSE otherwise Bool_t

AcdId

getId(Short_t base = 10 ) Returns a numerical value for the AcdId, by default in base 10. UInt_t
isTop( ) Returns kTRUE if this Acd detector is on the top (Face 0) of the instrument, returns kFALSE otherwise Bool_t
isSide( ) Returns kTRUE if this Acd detector is on a side (Face != 0), returns kFALSE otherwise Bool_t
getLayer( ) Returns the layer number of this AcdId UShort_t
getFace( ) Returns the face number [0-4] UShort_t
getRow( ) Returns the row number UShort_t
getColumn( ) Returns the column number UShort_t

CalDigi

getMode( ) Returns the readout mode CalXtalId::CalTrigMode
getPackedId( ) Returns the crystal id associated with this CalDigi const CalXtalId
getReadoutCol( ) Returns the full collection of CalXtalReadout objects const TClonesArray*
getRange(short readoutIndex, CalXtalId::XtalFace face) Retrieve energy range for selected face and readout Char_t
getAdc(Short_t readoutIndex, CalXtalId::XtalFace face) Retrieve pulse height for selected face and readout Short_t
getXtalReadout(Short_t readoutIndex) Retrieve ranges and pulse heights from both ends of selected readout const CalXtalReadout*
getAdcSelectedRange(Char_t range, CalXtalId::XtalFace face) Retrieve pulse height from selected range Short_t

CalXtalId

getPackedId( )   UInt_t
getUnpackedId(Short_t& tower, Short_t& layer, Short_t& column)   void
getTower( )   Short_t
getLayer( )   Short_t
getColumn( )   Short_t

CalXtalReadout

getAdc(CalXtalId::XtalFace face) retrieve pulse height from specified face UShort_t
getRange(CalXtalId::XtalFace face) retrieve energy range from specified face Char_t

GlastAxis

enum axis {X=0, Y=1, XY=2, NONE=3} An enumeration that identifies orientation.  

 

L1T

getTriggerWord( ) Returns the full trigger word UInt_t
getAcdLow( ) Returns kTRUE if ACD LOW Bool_t
getAcdHigh( ) Returns kTRUE is ACD HIGH Bool_t
getTkr3InARow( ) Returns kTRUE if 3-in-a-row in the TKR has occurred Bool_t
getCalLow( ) Returns kTRUE if CAL LOW Bool_t
getCalHigh( ) Returns kTRUE if CAL HIGH Bool_t

TkrDigi

getTower( ) Returns the tower identifier associated with this TkrDigi TowerId
getBilayer( )   UShort_t
getView( ) Returns the view which denotes the orientation of the strips GlastAxis::axis
getLastController0Strip() Retrieve the last strip associated with controller zero Int_t
getToT(UInt_t i)   Int_t
getToTForStrip(UInt_t strip) Returns Time Over Threshold for a given strip Int_t
getNumHits( ) Returns the number of hits associated with this TkrDigi UInt_t
getStrip(UInt_t i) Returns the ith strip number Int_t
getHit(UInt_t i) Returns a specific hit identifier by its index in the collection of hits Int_t
getHitCol( ) Returns the full collection of hit strips std::vector<UInt_t>

TowerId

id( )   Int_t
ix( )   Int_t
iy( )   Int_t
neighbor (const TowerId& n) Reports whether or not a tower identifier by TowerId n is a neighbor (kTRUE) or not (kFALSE) Bool_t

 

H. Kelly Last Modified:  2002-11-01 07:13:15 -0800