]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TRD/AliTRDmcmSim.h
Reverting GetEntriesFast to GetEntries for TList only
[u/mrichter/AliRoot.git] / TRD / AliTRDmcmSim.h
index de4da5c3cb93eabe151fe9984a43e76a33009ce5..7ad5a36fa6f916e8764aace99a0b13a13bd6d43c 100644 (file)
@@ -63,6 +63,9 @@ class AliTRDmcmSim : public TObject {
   // different baseline but it will not change the baseline
   // of the output.
 
+  static  void      SetStoreClusters(Bool_t storeClusters) { fgStoreClusters = storeClusters; }
+  static  Bool_t    GetStoreClusters() { return fgStoreClusters; }
+
           Int_t     GetDetector() const  { return fDetector;  };     // Returns Chamber ID (0-539)
           Int_t     GetRobPos() const { return fRobPos; };           // Returns ROB position (0-7)
           Int_t     GetMcmPos() const { return fMcmPos; };           // Returns MCM position (0-17) (16,17 are mergers)
@@ -130,6 +133,25 @@ class AliTRDmcmSim : public TObject {
          void PrintAdcDatXml(ostream& os) const;
          void PrintAdcDatDatx(ostream& os, Bool_t broadcast=kFALSE, Int_t timeBinOffset = -1) const;
 
+  static  Bool_t ReadPackedConfig(AliTRDtrapConfig *cfg, Int_t hc, UInt_t *data, Int_t size);
+
+  // DMEM addresses
+  static const Int_t fgkDmemAddrLUTcor0       = 0xC02A;
+  static const Int_t fgkDmemAddrLUTcor1       = 0xC028;
+  static const Int_t fgkDmemAddrLUTnbins      = 0xC029;
+
+  static const Int_t fgkDmemAddrLUTStart      = 0xC100; // LUT start address
+  static const Int_t fgkDmemAddrLUTEnd        = 0xC3FF; // maximum possible end address for the LUT table
+  static const Int_t fgkDmemAddrLUTLength     = 0xC02B; // address where real size of the LUT table is stored
+
+  static const Int_t fgkDmemAddrTrackletStart = 0xC0E0; // Storage area for tracklets, start address
+  static const Int_t fgkDmemAddrTrackletEnd   = 0xC0E3; // Storage area for tracklets, end address
+
+  static const Int_t fgkDmemAddrDeflCorr      = 0xc022; // DMEM address of deflection correction
+  static const Int_t fgkDmemAddrNdrift        = 0xc025; // DMEM address of Ndrift
+  static const Int_t fgkDmemAddrDeflCutStart  = 0xc030; // DMEM start address of deflection cut
+  static const Int_t fgkDmemAddrDeflCutEnd    = 0xc055; // DMEM end address of deflection cut
+
  protected:
          Bool_t    CheckInitialized() const;           // Check whether the class is initialized
 
@@ -146,7 +168,6 @@ class AliTRDmcmSim : public TObject {
 
  static const UShort_t fgkFPshifts[4];                  // shifts for pedestal filter
 
-
          Bool_t    fInitialized;                       // memory is allocated if initialized
          Int_t     fDetector;                          // Chamber ID
          Int_t     fRobPos;                            // ROB Position on chamber
@@ -228,6 +249,8 @@ class AliTRDmcmSim : public TObject {
 
   static Int_t fgAddBaseline;             // add baseline to the ADC values
 
+  static Bool_t fgStoreClusters;          // whether to store all clusters in the tracklets
+
   ClassDef(AliTRDmcmSim,6)
 };