StRoot  1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
StBemcData Class Reference

#include <StBemcData.h>

Inheritance diagram for StBemcData:
StBemcRaw

Public Member Functions

 StBemcData ()
 StBemcData constructor.
 
virtual ~StBemcData ()
 StBemcData destructor. More...
 
Bool_t make (TDataSet *, StEvent *)
 Make the BEMC detector from DAQ.
 
Bool_t make (StEmcRawData *, StEvent *)
 Make the BEMC detector from StEmcRaw.
 
Bool_t make (StEmcCollection *, StEvent *)
 Make the BEMC detector from StEmcCollection.
 
Bool_t make (StMuEmcCollection *, StEvent *)
 Make the BEMC detector from MuDST.
 
- Public Member Functions inherited from StBemcRaw
 StBemcRaw ()
 StBemcRaw constructor.
 
virtual ~StBemcRaw ()
 StBemcRaw destructor. More...
 
void initHisto ()
 
void initQAHisto ()
 
void fillHisto ()
 
Bool_t make (StEmcRawMaker *TheData, StEvent *event)
 
Bool_t convertFromDaq (StEmcRawMaker *DAQ, StEmcRawData *RAW)
 
Bool_t make (TDataSet *, StEvent *)
 Make the BEMC detector from DAQ.
 
Bool_t make (StEmcRawData *, StEvent *)
 Make the BEMC detector from StEmcRaw.
 
Bool_t convertFromDaq (TDataSet *, StEmcRawData *)
 Convert DAQ format into StEmcRawData format.
 
Int_t getBemcADCRaw (Int_t, Int_t, StEmcRawData *, Int_t &, Int_t &)
 get ADC from StEmcRawData structure More...
 
void checkHeaders (StEmcRawData *, StEvent *)
 Check all BEMC detector headers.
 
void checkBtowCrates (StEmcRawData *, StEvent *)
 check tower crates More...
 
void emptyEmcCollection (StEmcCollection *)
 empty current emcCollection
 
Int_t makeHit (StEmcCollection *, Int_t, Int_t, Int_t, Int_t, Int_t, Float_t &)
 make StEmcRawHit More...
 
void createDecoder (Int_t, Int_t)
 Create new StEmcDecoder.
 
Bool_t isCorrupted (Int_t det)
 
void setCheckStatus (Int_t det, Int_t flag, const char *option="")
 
void setCrateVeto (Int_t flag)
 
void clearStats (Int_t)
 Clear statistics for detector 'det'.
 
void updateStats (Int_t, Int_t, Int_t, Float_t)
 Update statistics for detector 'det'.
 
void printStats (Int_t)
 Print statistics for detector 'det'.
 
void printConf ()
 Print configuration.
 
void setDate (Int_t d)
 Set event date.
 
void setTime (Int_t t)
 Set event time.
 
void setProdVer (string prodVer)
 Set event date.
 
void saveAllStEvent (Bool_t a)
 Set to kTRUE if all hits are to be saved on StEvent.
 
void saveAllBTOW (Bool_t a)
 Set to kTRUE if all BTOW hits are to be saved on StEvent (for picoDst/triggerSimu)
 
void psdMapBug (Bool_t a)
 Set to ktrue to correct PSD map inthe P04* productions.
 
void psdMapBug2 (Bool_t a)
 Set to ktrue to correct PSD swaps in 2006 and 2007 data.
 
void towerMapBug (Bool_t a)
 Set to ktrue to correct for the tower map bug (only runs before 2006)
 
void smdMapBug (Bool_t a)
 Set to ktrue to correct SMD swaps.
 
StBemcTablesgetTables ()
 Return the StBemcTable pointer.
 
StEmcDecodergetDecoder ()
 Return the StEmcDecoder pointer.
 
controlADCtoE_st * getControlTable ()
 Return Control table (NULL)
 
Int_t getCrateStatus (Int_t det, Int_t c)
 Return the status of the crate C.
 
Int_t getTotalHits (Int_t det)
 Return the Total number of hits for the detector 'det'.
 
Int_t getTotalSaved (Int_t det)
 Return the Total number of SAVED hits for the detector 'det'.
 
Int_t getTotalADC (Int_t det)
 Return the Total ADC sum for the detector 'det'.
 
Float_t getTotalE (Int_t det)
 Return the Total Energy Sum for the detector 'det'.
 
Int_t getRejectPed (Int_t det)
 Return the Total number of hits rejected by pedestal issues for the detector 'det'.
 
Int_t getRejectZero (Int_t det)
 Return the Total number of hits rejected because of zero ADC for the detector 'det'.
 
Int_t getRejectStatus (Int_t det)
 Return the Total number of hits rejected because of STATUS issues for the detector 'det'.
 
Int_t getRejectCrate (Int_t det)
 Return the Total number of hits rejected because of BAD crates for the detector 'det' (only tower)
 
Int_t getNCratesOK (Int_t det)
 Return the Total number of good crates for the detector 'det' (only tower)
 

Additional Inherited Members

- Protected Types inherited from StBemcRaw
enum  {
  kZero, kCrate, kStatus, kRms,
  kPed, kEn, kCalib, kOK
}
 
- Protected Attributes inherited from StBemcRaw
TH2F * mBarrelNHitHist
 
TH2F * mBarrelEtotHist
 
TH2F * mBarrelAdcSumHist
 
TH2F * mBarrelNCratesHist
 
TH2F * mBarrelCrateStatusHist
 
TH2F * mBarrelQAHisto [MAXDETBARREL]
 
StEmcDecodermDecoder
 
StBemcTablesmTables
 
controlADCtoE_st * mControlADCtoE
 
Bool_t mSaveAllStEvent
 
Bool_t mSaveAllBTOW
 
Bool_t mPsdMapBug
 switch for saving all BTOW hits (used in daq->picoDst production)
 
Bool_t mPsdMapBug2
 
Bool_t mTowerMapBug
 
Bool_t mSmdMapBug
 
string mProdVer
 
Int_t mDate
 
Int_t mTime
 
Int_t mNZ [MAXDETBARREL]
 
Int_t mNCRATE [MAXDETBARREL]
 
Int_t mNSTATUS [MAXDETBARREL]
 
Int_t mNRMS [MAXDETBARREL]
 
Int_t mNPED [MAXDETBARREL]
 
Int_t mNOK [MAXDETBARREL]
 
Int_t mNTOTAL [MAXDETBARREL]
 
Int_t mADCSUM [MAXDETBARREL]
 
Int_t mNCRATESOK [MAXDETBARREL]
 
Float_t mTOTALE [MAXDETBARREL]
 
Int_t mCrateStatus [MAXDETBARREL][MAXCRATES]
 
Bool_t mIsCorrupted [MAXDETBARREL]
 
Int_t mCheckStatus [MAXDETBARREL][4]
 
Int_t mCrateVeto
 
Bool_t mAnyCorrupted
 

Detailed Description

Author
Alexandre A. P. Suaide

This class does the hit selection and calibration for the Barrel EMC. It uses MuDST or StEvent structures as input. The output is a StEmcCollection filled with StEmcRawHits.

Definition at line 22 of file StBemcData.h.

Constructor & Destructor Documentation

StBemcData::~StBemcData ( )
virtual

StBemcData destructor.

Default destructor

Definition at line 49 of file StBemcData.cxx.


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