]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HLT/CALO/AliHLTCaloDigitMaker.h
changed function signature
[u/mrichter/AliRoot.git] / HLT / CALO / AliHLTCaloDigitMaker.h
index 4ce5394acc587a2764dfef5f0151bb1fb70995ab..0fede49aeb2f04c11cc5b71e0c8f00266e09067d 100644 (file)
@@ -39,6 +39,7 @@
 #include "AliHLTCaloDigitDataStruct.h"\r
 #include "AliHLTCaloChannelDataStruct.h"\r
 #include "AliHLTDataTypes.h"\r
+#include "AliHLTLogging.h"\r
 #include "TString.h"\r
 \r
 /**\r
@@ -60,7 +61,7 @@ class TString;
 \r
 \r
 \r
-class AliHLTCaloDigitMaker : AliHLTCaloConstantsHandler\r
+class AliHLTCaloDigitMaker : AliHLTCaloConstantsHandler, public AliHLTLogging\r
 {\r
 \r
 public:\r
@@ -122,6 +123,13 @@ public:
    */\r
    void SetGain(Int_t x, Int_t z, Float_t ratio, Float_t gain);\r
    \r
+   /**\r
+   * Set the time window for which we accept energy signals\r
+   * @param min is the minumum time\r
+   * @param max is the maximum time\r
+   */\r
+   void SetTimeWindow(Float_t min, Float_t max) { fMinTime = min; fMaxTime = max; }\r
+   \r
   /** Reset the channel book */\r
   void Reset();\r
 \r
@@ -174,6 +182,12 @@ private:
 \r
   /** Maximum energy we allow in a channel */\r
   Float_t fMaxEnergy;                                            //COMMENT\r
+  \r
+  /** Minimum accepted time */\r
+  Float_t fMinTime;                                                       //COMMENT\r
+  \r
+  /** Maximum accepted time */            \r
+  Float_t fMaxTime;                                                //COMMENT\r
 \r
   /** Assignment operator and copy constructor not implemented */\r
   AliHLTCaloDigitMaker(const AliHLTCaloDigitMaker &);\r