]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - MUON/AliMUONHit.h
fix finding of pad neighbours; remove methods to write them in OCDB
[u/mrichter/AliRoot.git] / MUON / AliMUONHit.h
index a1d403d9f8387b9ffbd206ebf22842f0f628594e..cd3bf2484da7e18b2b9c4d856da96810c4124c2e 100644 (file)
@@ -6,7 +6,7 @@
 /* $Id$ */
 // Revision of includes 07/05/2004
 
-/// \ingroup base
+/// \ingroup sim
 /// \class AliMUONHit
 /// \brief MonteCarlo hit
 ///
@@ -26,31 +26,21 @@ class AliMUONHit : public AliHit {
  public:
     
     AliMUONHit();
-    AliMUONHit(Int_t fIshunt, Int_t track, Int_t *vol, Float_t *hits); 
-               // TBR
-    AliMUONHit(Int_t fIshunt, Int_t track, Int_t *vol, Float_t *hits,
-               Bool_t isNew);
+    AliMUONHit(Int_t fIshunt, Int_t track, Int_t *vol, Float_t *hits);
 
-    AliMUONHit(Int_t fIshunt, Int_t track, Int_t iChamber, Int_t idpart, 
-               Float_t X, Float_t Y, Float_t Z, Float_t tof, Float_t momentum, 
-              Float_t theta, Float_t phi, Float_t length, Float_t destep);
-              // TBR
     AliMUONHit(Int_t fIshunt, Int_t track, Int_t detElemId, Int_t idpart, 
                Float_t X, Float_t Y, Float_t Z, Float_t tof, Float_t momentum, 
-              Float_t theta, Float_t phi, Float_t length, Float_t destep, Bool_t isNew);
+              Float_t theta, Float_t phi, Float_t length, Float_t destep);
 
-    AliMUONHit(Int_t fIshunt, Int_t track, Int_t iChamber, Int_t idpart, 
-               Float_t X, Float_t Y, Float_t Z, Float_t tof, Float_t momentum, 
-               Float_t theta, Float_t phi, Float_t length, Float_t destep,
-               Float_t Xref, Float_t Yref, Float_t Zref);
-              // TBR
     AliMUONHit(Int_t fIshunt, Int_t track, Int_t detElemId, Int_t idpart, 
                Float_t X, Float_t Y, Float_t Z, Float_t tof, Float_t momentum, 
                Float_t theta, Float_t phi, Float_t length, Float_t destep,
-               Float_t Xref, Float_t Yref, Float_t Zref, Bool_t isNew);
+               Float_t Xref, Float_t Yref, Float_t Zref);
     virtual ~AliMUONHit();
 
-    Int_t   DetElemId()const;
+    virtual const char* GetName() const;
+    
+    Int_t   DetElemId()const {return fDetElemId;} ///< Return detection element ID
     Int_t   Chamber()  const;
 
     virtual void Print(Option_t* opt="") const;
@@ -77,7 +67,6 @@ class AliMUONHit : public AliHit {
     Float_t Zref()     const {return fZref;}      ///< Return Z position of hit in the center of the chamber (without angle effect)
 
  private:  
-    Bool_t    fIsDetElemId;   ///< False if fDetElemId contains Chamber Id (old code) 
     Int_t     fDetElemId;     ///< Detection element ID
     Float_t   fParticle;      ///< Geant3 particle type
     Float_t   fTheta ;        ///< Incident theta angle in degrees      
@@ -98,6 +87,6 @@ class AliMUONHit : public AliHit {
     Float_t   fZref;          ///< Z position of hit in the center of the chamber (without angle effect)
 
     
-    ClassDef(AliMUONHit,1)    //Hit object for MUON
+    ClassDef(AliMUONHit,2)    //Hit object for MUON
 };
 #endif