]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Changed declarations to be in the order public, protected, private required by coding...
authormartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 10 May 2004 08:34:28 +0000 (08:34 +0000)
committermartinez <martinez@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 10 May 2004 08:34:28 +0000 (08:34 +0000)
MUON/AliMUONData.h
MUON/AliMUONLoader.h
MUON/AliMUONResponseTriggerV1.h
MUON/AliMUONTransientDigit.h

index 2151976ae09ead9b099ed0d04b64252aa3894864..a02d43cf99e000cfc03cde6c8e1022bb5c43b8a0 100644 (file)
@@ -35,8 +35,9 @@ class AliMUONGlobalTrigger;
 //                                                                 //
 /////////////////////////////////////////////////////////////////////
 
-class AliMUONData : public TNamed {
- public:
+class AliMUONData : public TNamed 
+{
+  public:
     AliMUONData();
     AliMUONData(AliLoader * loader, const char* name, const char* title);
     AliMUONData(const AliMUONData& rMUONData);
@@ -121,12 +122,7 @@ class AliMUONData : public TNamed {
     TTree*         TreeT() {return fLoader->TreeT(); }
     TTree*         TreeP() {return fLoader->TreeP(); }
 
- private:  
-    //descendant classes should
-    //use protected interface methods to access these folders
-
-  
- protected: 
+  protected: 
     AliLoader*  fLoader; //! Detector Loader pointer
     TClonesArray*   fHits;  // One event in treeH per primary track
     TObjArray*      fDigits; // One event in treeD and one branch per detection plane
@@ -147,7 +143,12 @@ class AliMUONData : public TNamed {
     Int_t           fNrectriggertracks; //! Number of reconstructed tracks
     Int_t           fSplitLevel; // Splitting of branches 0 no spitting (root files are smaller) 1 splitting (larger output files)
 
-    ClassDef(AliMUONData,2)
- };
+  private:  
+    //descendant classes should
+    //use protected interface methods to access these folders
+
+  
+  ClassDef(AliMUONData,2)
+};
 #endif
 
index 91876a7e5cd464610c166ba10a13bcaeaa2b03f4..9ebbbc4425004e3397fa7fa3171afda2e4a77247 100644 (file)
@@ -30,8 +30,9 @@
 class AliMUONData;
 
 
-class AliMUONLoader : public AliLoader {
- public:
+class AliMUONLoader : public AliLoader 
+{
+  public:
     AliMUONLoader();
     AliMUONLoader(const Char_t *detname,const Char_t *eventfoldername); //contructor with name of the top folder of the tree
     AliMUONLoader(const Char_t *detname,TFolder* eventfolder);
@@ -40,7 +41,10 @@ class AliMUONLoader : public AliLoader {
     void           SetMUONData(AliMUONData * MUONData);
     AliMUONData *  GetMUONData();
  
- private:
+  protected:
+    AliMUONData * fMUONData; // data for MUON subsystem 
+
+  private:
     //descendant classes should
     //use protected interface methods to access these folders
 
@@ -51,10 +55,8 @@ class AliMUONLoader : public AliLoader {
     /*********     They are used by    ************/
     /*********** AliRunLoader as well**************/
     /**********************************************/
- public:
-    AliMUONData * fMUONData; // data for MUON subsystem 
 
-    ClassDef(AliMUONLoader,1)
- };
+  ClassDef(AliMUONLoader,1)
+};
 
 #endif
index 15011f0336e9d3c6efa0d6e0103969b27bb3babf..2eb3cc6170146abead17eff753badbd633f2be2a 100644 (file)
@@ -5,32 +5,33 @@
 
 #include "AliMUONResponseTrigger.h"
 
-class AliMUONResponseTriggerV1 : 
-public AliMUONResponseTrigger {
-public:
-  // default constructor
-  AliMUONResponseTriggerV1();
-  AliMUONResponseTriggerV1(Float_t hv);
-  virtual ~AliMUONResponseTriggerV1(){} 
-  // Charge disintegration
-  virtual Float_t  IntXY(AliSegmentation * segmentation);
-
-  // Set the GenerCluster parameter       
-  virtual Int_t SetGenerCluster();
+class AliMUONResponseTriggerV1 : public AliMUONResponseTrigger 
+{
+  public:
+    // default constructor
+    AliMUONResponseTriggerV1();
+    AliMUONResponseTriggerV1(Float_t hv);
+    virtual ~AliMUONResponseTriggerV1(){} 
+    // Charge disintegration
+    virtual Float_t  IntXY(AliSegmentation * segmentation);
+
+    // Set the GenerCluster parameter       
+    virtual Int_t SetGenerCluster();
+
+  protected:
+    Float_t fGenerCluster;   // Random number  
+    Float_t fA;              // first parameter  of the cluster-size param
+    Float_t fB;              // second parameter of the cluster-size param
+    Float_t fC;              // third parameter  of the cluster-size param
 
   private:
-  // initialize parameters
-  void SetParameters(Float_t hv);
-  // parametrization of the cluster-size
-  Float_t FireStripProb(Float_t x4, Float_t theta);
+    // initialize parameters
+    void SetParameters(Float_t hv);
+    // parametrization of the cluster-size
+    Float_t FireStripProb(Float_t x4, Float_t theta);
 
   ClassDef(AliMUONResponseTriggerV1,1) // Implementation of RPC response
     
-    protected:
-  Float_t fGenerCluster;   // Random number  
-  Float_t fA;              // first parameter  of the cluster-size param
-  Float_t fB;              // second parameter of the cluster-size param
-  Float_t fC;              // third parameter  of the cluster-size param
 };
 #endif
 
index b81ded5f57b0797c98ee1a8e913b3ba1995848e4..3a1a7c1ca61b1913550cd22329dc99401c8ac709 100644 (file)
@@ -9,15 +9,14 @@
 #include "AliMUONDigit.h"
 #include "TObjArray.h"
 
-class AliMUONTransientDigit : public AliMUONDigit {
- protected:
-    Int_t          fChamber;       // chamber number of pad
-    TObjArray     *fTrackList;     // List of tracks contributing
- public:
+class AliMUONTransientDigit : public AliMUONDigit 
+{
+  public:
     AliMUONTransientDigit() {fTrackList=0;}
     AliMUONTransientDigit(const AliMUONTransientDigit& digit);
     AliMUONTransientDigit(Int_t rpad, Int_t *digits);
     virtual ~AliMUONTransientDigit();
+
     Int_t Chamber() const {return fChamber;}
     Int_t GetNTracks() const {return fTrackList->GetEntriesFast();}
     Int_t GetTrack(Int_t i) const;
@@ -26,7 +25,11 @@ class AliMUONTransientDigit : public AliMUONDigit {
     void UpdateTrackList(Int_t track, Int_t charge);
     AliMUONTransientDigit & operator =(const AliMUONTransientDigit & rhs);
     
-    ClassDef(AliMUONTransientDigit,1)  // Transient digit for MUON
+  protected:
+    Int_t          fChamber;       // chamber number of pad
+    TObjArray     *fTrackList;     // List of tracks contributing
+
+  ClassDef(AliMUONTransientDigit,1)  // Transient digit for MUON
 };
 #endif