// //
/////////////////////////////////////////////////////////////////////
-class AliMUONData : public TNamed {
- public:
+class AliMUONData : public TNamed
+{
+ public:
AliMUONData();
AliMUONData(AliLoader * loader, const char* name, const char* title);
AliMUONData(const AliMUONData& rMUONData);
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
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
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);
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
/********* They are used by ************/
/*********** AliRunLoader as well**************/
/**********************************************/
- public:
- AliMUONData * fMUONData; // data for MUON subsystem
- ClassDef(AliMUONLoader,1)
- };
+ ClassDef(AliMUONLoader,1)
+};
#endif
#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
#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;
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