]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - TOF/AliTOFDDLRawData.h
Minor changes
[u/mrichter/AliRoot.git] / TOF / AliTOFDDLRawData.h
index e14683b288696623d6a8b9d89775732e2fe037b6..cf84c72b707e2c426f411a7b495c3a91737d81f8 100644 (file)
 ////////////////////////////////////////////////////////////////////////////
 
 #include "TObject.h"
+//#include "AliTOFCableLengthMap.h"
 
 class TBranch;
 class TClonesArray;
 
 class AliTOFDigitMap;
-class AliTOFGeometry;
-class AliTOFRawStream;
+//class AliTOFRawStream;
 
 class AliTOFDDLRawData:public TObject {
 
  public:
 
   AliTOFDDLRawData();                               // default constructor
-  AliTOFDDLRawData(AliTOFGeometry *tofGeom);        // constructor
-  virtual ~AliTOFDDLRawData(){;}                    // destructor
+  virtual ~AliTOFDDLRawData();                              // destructor
   AliTOFDDLRawData(const AliTOFDDLRawData &source); // copy constructor
   AliTOFDDLRawData& operator=(const AliTOFDDLRawData &source); // ass. op.
   void SetVerbose(Int_t Verbose){fVerbose=Verbose;} // To set the verbose level
 
   Int_t RawDataTOF(TBranch* branch); 
 
-  void SetAcquisitionMode(Bool_t mode) {fPackedAcquisition=mode;};
+  void SetPackedAcquisitionMode(Bool_t mode) {fPackedAcquisition=mode;};
+  void SetFakeOrphaneProduction(Bool_t flag) {fFakeOrphaneProduction=flag;};
+  void SetMatchingWindow(Int_t matWin) {fMatchingWindow=matWin;}; // setter for fMatchingWindow [bin number]
+  Bool_t GetPackedAcquisitionMode() const {return fPackedAcquisition;};
+  Bool_t GetFakeOrphaneProduction() const {return fFakeOrphaneProduction;};
+  Int_t  GetMatchingWindow() const {return fMatchingWindow;}; // getter for fMatchingWindow [bin number]
 
  private:
 
@@ -53,23 +57,31 @@ class AliTOFDDLRawData:public TObject {
   void  MakeTRMchainTrailer(Int_t iChain, UInt_t *buf);
   void  MakeTDCdigits(Int_t nDDL, Int_t nTRM, Int_t iChain, UInt_t *buf, UInt_t &nWordsPerTRM);
 
-  UInt_t  MakeFiller();
+  UInt_t MakeFiller();
 
   Bool_t HeadOrTail() const;
 
-  Int_t fVerbose;                 //Verbose level (0:no msg, 1:msg, 2:digits in txt files)
-  Int_t fIndex;                   //number of 32-bit words to be stored into the output file
+  Int_t fVerbose;                 //Verbose level (0:no msg, 1:msg,
+                                 //2:digits in txt files)
+  Int_t fIndex;                   //number of 32-bit words to be
+                                 //stored into the output file
   Bool_t fPackedAcquisition;      //flag for packed/no packed acquisition
-
-  AliTOFGeometry *fTOFgeometry;   //Pointer to the TOF geometry
+  Bool_t fFakeOrphaneProduction;  //flag to insert fake orphane
+                                 //(leading or trailing) time
+                                 //measurements
+  Int_t fMatchingWindow;          //time window [bin number] where to
+                                 //search time-of-flight measurements
+                                 //for the current event
 
   AliTOFDigitMap *fTOFdigitMap;   //Pointer to the channel-TOF map
 
   TClonesArray *fTOFdigitArray;   //Pointer to the TOF digits
 
-  AliTOFRawStream *fTOFrawStream; //Pointer to the AliTOFRawStream class
+  //AliTOFRawStream *fTOFrawStream; //Pointer to the AliTOFRawStream class
+
+  //AliTOFCableLengthMap *fTOFCableLengthMap; // Pointer to the map of Amphenol cable length
 
-  ClassDef(AliTOFDDLRawData,1)
+  ClassDef(AliTOFDDLRawData,3)
 
 };