]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - FMD/AliFMDCalibStripRange.h
Fix bug in building local list of valid files.
[u/mrichter/AliRoot.git] / FMD / AliFMDCalibStripRange.h
index 943dd52ae198dac8d7e083f19ba232898bc8a5e4..9b326424887f9d9204a5a25166e37007c3919618 100644 (file)
@@ -19,6 +19,7 @@
     @brief   Per digitizer card pulser calibration
     @ingroup FMD_base
 */
+#include <iosfwd>
 #ifndef ROOT_TObject
 # include <TObject.h>
 #endif
@@ -28,6 +29,7 @@
 #ifndef ROOT_TArrayI
 # include <TArrayI.h>
 #endif
+
 //____________________________________________________________________
 /** @brief Per digitizer card pulser calibration
     @ingroup FMD_base
@@ -67,6 +69,18 @@ public:
       @param str  Strip number (not used)
       @return Maximum strip  */
   UShort_t Max(UShort_t det, Char_t ring, UShort_t sec, UShort_t str=0) const;
+  /**
+     Dump stored strip ranges to file passed as ofstream
+     @param outFile Outputfile
+  */
+  void WriteToFile(std::ostream &, Bool_t* detectors=0);
+  /**
+     Read information from file and set values
+     @param inFile inputFile
+   */
+  void ReadFromFile(std::istream &);
+  
+  const AliFMDUShortMap& Ranges() const { return fRanges; }
 protected:
   // TArrayI fRates; // Sample rates 
   AliFMDUShortMap fRanges; // Min max