]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMDParameters.h
Updated reconstruction to (optionally) make angle correction.
[u/mrichter/AliRoot.git] / FMD / AliFMDParameters.h
index 3a465daae7d9f2f3538c96b170c44a8b160ba6b5..21ed1f5d3c0a00c1e39c7798d15aefe3de801d67 100644 (file)
@@ -82,10 +82,24 @@ public:
   /** Initialize the manager.  This tries to read the parameters from
       CDB.  If that fails, the class uses the hard-coded parameters. 
    */
-  void Init();
+  void Init(Bool_t forceReInit=kFALSE);
   /** Print all parameters. 
       @param option Option string */
   void Print(Option_t* option="A") const;
+  /** Draw parameters. 
+      @param option What to draw. Should be one of 
+      - dead     Dead channels
+      - threshold Threshold
+      - gain     Gain
+      - pedestal  Pedestal
+      - noise    Noise (or pedestal width)
+      - zero     Zero suppression
+      - rate     Sampling rate (VA1 clock / ALTRO clock)
+      - min      Minimum strip read out
+      - max      Maximum strip read out
+      - map      hardware address
+  */
+  void Draw(Option_t* option="pedestal");
   
   /** @{ */
   /** @name Set various `Fixed' parameters */
@@ -245,9 +259,6 @@ public:
   AliFMDAltroMapping* GetAltroMap() const;
   /** @} */
 
-  enum { 
-    kBaseDDL = 0x1000 // DDL offset for the FMD
-  };
   static const char* PulseGainPath()       { return fgkPulseGain; }
   static const char* PedestalPath()        { return fgkPedestal; }
   static const char* DeadPath()            { return fgkDead; }
@@ -260,7 +271,30 @@ protected:
   AliFMDParameters();
   /** CTOR  */
   AliFMDParameters(const AliFMDParameters& o) 
-    : TNamed(o), fkSiDeDxMip(o.fkSiDeDxMip) {}
+    : TNamed(o), 
+      fIsInit(o.fIsInit),
+      fkSiDeDxMip(o.fkSiDeDxMip),
+      fVA1MipRange(o.fVA1MipRange),
+      fAltroChannelSize(o.fAltroChannelSize),
+      fChannelsPerAltro(o.fChannelsPerAltro),
+      fPedestalFactor(o.fPedestalFactor),
+      fFixedPedestal(o.fFixedPedestal),
+      fFixedPedestalWidth(o.fFixedPedestalWidth),
+      fFixedZeroSuppression(o.fFixedZeroSuppression),
+      fFixedSampleRate(o.fFixedSampleRate),
+      fFixedThreshold(o.fFixedThreshold),
+      fFixedMinStrip(o.fFixedMinStrip),
+      fFixedMaxStrip(o.fFixedMaxStrip),
+      fFixedPulseGain(o.fFixedPulseGain),
+      fEdepMip(o.fEdepMip),
+      fZeroSuppression(o.fZeroSuppression),
+      fSampleRate(o.fSampleRate),
+      fPedestal(o.fPedestal),
+      fPulseGain(o.fPulseGain),
+      fDeadMap(o.fDeadMap),
+      fAltroMap(o.fAltroMap),
+      fStripRange(o.fStripRange)
+  {}
   /** Assignement operator 
       @return Reference to this */
   AliFMDParameters& operator=(const AliFMDParameters&) { return *this; }