/[PAMELA software]/DarthVader/CalorimeterLevel2/inc/CaloLevel1.h
ViewVC logotype

Diff of /DarthVader/CalorimeterLevel2/inc/CaloLevel1.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by mocchiut, Mon Mar 26 14:02:03 2007 UTC revision 1.7 by mocchiut, Fri Mar 30 14:37:42 2007 UTC
# Line 77  class CaloLevel1 : public TObject { Line 77  class CaloLevel1 : public TObject {
77      //      //
78      void Clear();      void Clear();
79      //      //
80      Float_t GetXalig(){return CTX;}; ///< return X alignement paramenter      Float_t GetXalig(){printf(" Obsolete! Use CaloStrip class instead\n");return CTX;}; ///< return X alignement paramenter
81      Float_t GetYalig(){return CTY;}; ///< return Y alignement paramenter      Float_t GetYalig(){printf(" Obsolete! Use CaloStrip class instead\n");return CTY;}; ///< return Y alignement paramenter
82      Float_t GetZalig(){return CTZ;}; ///< return Z alignement paramenter      Float_t GetZalig(){printf(" Obsolete! Use CaloStrip class instead\n");return CTZ;}; ///< return Z alignement paramenter
83      //      //
84      CaloLevel1(); ///< Constructor.      CaloLevel1(); ///< Constructor.
85      //      //
# Line 102  private: Line 102  private:
102      Int_t fPlane; ///< plane [1-22]      Int_t fPlane; ///< plane [1-22]
103      Int_t fStrip; ///< strip [1-96]      Int_t fStrip; ///< strip [1-96]
104      Bool_t ismech; ///< true = using mechanical alignement, false using experimental alignement parameters      Bool_t ismech; ///< true = using mechanical alignement, false using experimental alignement parameters
105      Float_t UXal; ///< used X alignement parameter      static Float_t UXal; ///< used X alignement parameter
106      Float_t UYal; ///< used Y alignement parameter      static Float_t UYal; ///< used Y alignement parameter
107      Float_t UZal; ///< used Z alignement parameter      static Float_t UZal; ///< used Z alignement parameter
108        static Bool_t paramload;
109       //
110    
111  public:  public:
112      //      //
113      // METHODS      // METHODS
114      //      //
     //  
115      CaloStrip(); ///< Default Constructor.      CaloStrip(); ///< Default Constructor.
116      //      //
117        CaloStrip(Bool_t usemechanicalalignement); ///< Default Constructor.
118        //
119      CaloStrip(CaloLevel1 *c1); ///< Constructor.      CaloStrip(CaloLevel1 *c1); ///< Constructor.
120      //      //
121        CaloStrip(CaloLevel1 *c1, Bool_t usemechanicalalignement); ///< Constructor.
122        //
123      Float_t GetE(){return fE;}; ///< Get energy in MIP for setted strip      Float_t GetE(){return fE;}; ///< Get energy in MIP for setted strip
124      //      //
125      Float_t GetX(){return fX;}; ///< Get X strip position      Float_t GetX(){return fX;}; ///< Get X strip position
# Line 125  public: Line 130  public:
130      Float_t GetYalig(){ return UYal;}; ///< return Y alignement paramenter      Float_t GetYalig(){ return UYal;}; ///< return Y alignement paramenter
131      Float_t GetZalig(){ return UZal;}; ///< return Z alignement paramenter      Float_t GetZalig(){ return UZal;}; ///< return Z alignement paramenter
132      //      //
133      Int_t GetView(){printf(" Obsolete! Use CaloStrip class instead\n"); return (fView-1);}; ///< Get strip view [0-1]      Int_t GetView(){return (fView-1);}; ///< Get strip view [0-1]
134      Int_t GetPlane(){printf(" Obsolete! Use CaloStrip class instead\n");return (fPlane-1);}; ///< Get strip plane [0-22]      Int_t GetPlane(){return (fPlane-1);}; ///< Get strip plane [0-22]
135      Int_t GetStrip(){printf(" Obsolete! Use CaloStrip class instead\n");return (fStrip-1);}; ///< Get strip number [0-95]      Int_t GetStrip(){return (fStrip-1);}; ///< Get strip number [0-95]
136      //      //
137      void Set(Int_t view, Int_t plane, Int_t strip); ///< Set strip giving view [0-1], plane [0-22] and number [0-95]      void Set(Int_t view, Int_t plane, Int_t strip); ///< Set strip giving view [0-1], plane [0-22] and number [0-95]
138      //      //

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.23