]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONDetElement.h
Adding a declaration file (Laurent)
[u/mrichter/AliRoot.git] / MUON / AliMUONDetElement.h
index 4ddc21413ce358a408b9f2b8f3d6ac34318bd242..09739114177129b4bf6afb9509ebe90294278b01 100644 (file)
@@ -8,7 +8,7 @@
 /// \ingroup rec
 /// \class AliMUONDetElement
 /// \brief Detection element object containing information for combined 
-/// cluster / track finder in MUON arm 
+/// cluster / track finder in the MUON arm 
 ///
 /// \author Alexander Zinchenko, JINR Dubna
  
@@ -28,8 +28,6 @@ class AliMUONDetElement : public TObject
 
   AliMUONDetElement();
   AliMUONDetElement(Int_t idDE, AliMUONDigit *dig, AliMUONClusterFinderAZ *recModel); // constructor
-  AliMUONDetElement(const AliMUONDetElement & rhs); // copy constructor
-  AliMUONDetElement& operator = (const AliMUONDetElement& rhs); // assignment operator
   virtual ~AliMUONDetElement(); // Destructor
 
   Int_t IdDE(void) const { return fidDE; } // det. elem. ID
@@ -39,9 +37,10 @@ class AliMUONDetElement : public TObject
   //Int_t GetMapElem(AliMUONDigit *digit) const; // get map element
   TObjArray *Digits(Int_t cath) const { return fDigits[cath]; } // array of digits
   TObjArray *RawClusters() const { return fRawClus; } // array of raw clusters
-  TClonesArray *HitsForRec() const { return fHitsForRec; } // hits for rec.
+  TObjArray *HitsForRec() const { return fHitsForRec; } // hits for rec.
   Int_t NHitsForRec() const { return fNHitsForRec; } // No. of hits for rec.
-  Bool_t Inside(Double_t x, Double_t y, Double_t z) const; // check if point inside DE
+  //Bool_t Inside(Double_t x, Double_t y, Double_t z) const; // check if point inside DE
+  Bool_t Inside(Double_t x, Double_t y, Double_t z, Double_t dx, Double_t dy) const; // check if point inside DE
   
   void SetID(Int_t idDE) { fidDE = idDE; } // set det. elem. ID
   void SetIndex(Int_t index) { fIndex = index; } // set position index
@@ -50,30 +49,30 @@ class AliMUONDetElement : public TObject
   //void SetMapElem(const AliMUONDigit *digit, Int_t flag); // set map element 
   void AddDigit(AliMUONDigit *dig); // add digit
   void Fill(AliMUONData *data); // fill hit maps 
-  void ClusterReco(Double_t x, Double_t y); // run cluster reco around (x,y)
+  void ClusterReco(Double_t x, Double_t y, Double_t dx, Double_t dy); // run cluster reco around (x,y)
   void AddHitForRec(AliMUONRawCluster *clus); // make HitForRec
   // What is necessary for sorting TObjArray's
   Bool_t IsSortable() const { return kTRUE; }
   Int_t Compare(const TObject* detElem) const; // "Compare" function for sorting
 
- protected:
-
  private:
  
-  Int_t fidDE; // det. elem. ID
-  Int_t fIndex; // det. elem. position index in container
-  Int_t fChamber; // chamber No
-  Double_t fZ; // det. elem. Z-coordinate
-  Int_t fLeft[2]; // numbers of digits not used for clustering
-  Int_t fNHitsForRec; // number of hits for rec.
-  AliMUONGeometrySegmentation* fSeg[2]; // segmentation
-  AliMUONHitMapA1 *fHitMap[2]; // map of digits
-  TObjArray *fDigits[2]; // container of digits from this det. elem.
-  TObjArray *fRawClus; // raw clusters
-  TClonesArray *fHitsForRec; // HitForRec's
-  AliMUONClusterFinderAZ *fRecModel; // cluster finder
+  Int_t fidDE; ///< det. elem. ID
+  Int_t fIndex; ///< det. elem. position index in container
+  Int_t fChamber; ///< chamber No
+  Double_t fZ; ///< det. elem. Z-coordinate
+  Int_t fLeft[2]; ///< numbers of digits not used for clustering
+  Int_t fNHitsForRec; ///< number of hits for rec.
+  AliMUONGeometrySegmentation* fSeg[2]; ///< segmentation
+  AliMUONHitMapA1 *fHitMap[2]; ///< map of digits
+  TObjArray *fDigits[2]; ///< container of digits from this det. elem.
+  TObjArray *fRawClus; ///< raw clusters
+  TObjArray *fHitsForRec; ///< HitForRec's
+  AliMUONClusterFinderAZ *fRecModel; ///< cluster finder
 
   // Functions
+  AliMUONDetElement(const AliMUONDetElement & rhs); // copy constructor
+  AliMUONDetElement& operator = (const AliMUONDetElement& rhs); // assignment operator
 
   ClassDef(AliMUONDetElement,0) // detection element object
     };