*
* See cxx source for full Copyright notice
*/
+//____________________________________________________________________
+//
+// This class stores which strips are read-out.
+// In principle this can be set for each half-ring.
+// However, in real life, all the detectors will probably read out all
+// strips, and dead areas can be handled off-line.
+// This information comes from DCS or the like.
+//
/** @file AliFMDCalibStripRange.h
@author Christian Holm Christensen <cholm@nbi.dk>
@date Sun Mar 26 18:32:14 2006
@brief Per digitizer card pulser calibration
+ @ingroup FMD_base
*/
+#include <iosfwd>
#ifndef ROOT_TObject
# include <TObject.h>
#endif
#ifndef ROOT_TArrayI
# include <TArrayI.h>
#endif
+
//____________________________________________________________________
/** @brief Per digitizer card pulser calibration
@ingroup FMD_base
@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 &);
+
protected:
// TArrayI fRates; // Sample rates
- AliFMDUShortMap fRates;
+ AliFMDUShortMap fRanges; // Min max
ClassDef(AliFMDCalibStripRange,1); // Sample rates
};