/[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.5 by mocchiut, Wed Mar 28 13:35:11 2007 UTC revision 1.9 by mocchiut, Thu Apr 26 14:24:37 2007 UTC
# Line 16  Line 16 
16  //  //
17  // new param  // new param
18  //  //
19  #define CTX 121.2  //#define CTX 121.2
20  #define CTY 122.9  //#define CTY 122.9
21    //#define CTZ -263.1
22    //
23    // new param using em showers (E. Taddei paramters)
24    //
25    #define CTX 120.6
26    #define CTY 122.3
27  #define CTZ -263.1  #define CTZ -263.1
28  //  //
29  // Mechanical positions (used with option --use-standard-alig)  // Mechanical positions (used with option --use-standard-alig)
30  //  //
31  #define MECHCTX 121.  #define MECHCTX 120.5
32  #define MECHCTY 122.  #define MECHCTY 121.5
33  #define MECHCTZ -261.81  #define MECHCTZ -261.81
34  //  //
35  // just for testing purpose  // just for testing purpose
# Line 77  class CaloLevel1 : public TObject { Line 83  class CaloLevel1 : public TObject {
83      //      //
84      void Clear();      void Clear();
85      //      //
86      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
87      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
88      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
89      //      //
90      CaloLevel1(); ///< Constructor.      CaloLevel1(); ///< Constructor.
91      //      //
# Line 102  private: Line 108  private:
108      Int_t fPlane; ///< plane [1-22]      Int_t fPlane; ///< plane [1-22]
109      Int_t fStrip; ///< strip [1-96]      Int_t fStrip; ///< strip [1-96]
110      Bool_t ismech; ///< true = using mechanical alignement, false using experimental alignement parameters      Bool_t ismech; ///< true = using mechanical alignement, false using experimental alignement parameters
111      Float_t UXal; ///< used X alignement parameter      static Float_t UXal; ///< used X alignement parameter
112      Float_t UYal; ///< used Y alignement parameter      static Float_t UYal; ///< used Y alignement parameter
113      Float_t UZal; ///< used Z alignement parameter      static Float_t UZal; ///< used Z alignement parameter
114        static Bool_t paramload;
115       //
116    
117  public:  public:
118      //      //
119      // METHODS      // METHODS
120      //      //
     //  
121      CaloStrip(); ///< Default Constructor.      CaloStrip(); ///< Default Constructor.
122      //      //
123      CaloStrip(Bool_t usemechanicalalignement); ///< Default Constructor.      CaloStrip(Bool_t usemechanicalalignement); ///< Default Constructor.
# Line 129  public: Line 136  public:
136      Float_t GetYalig(){ return UYal;}; ///< return Y alignement paramenter      Float_t GetYalig(){ return UYal;}; ///< return Y alignement paramenter
137      Float_t GetZalig(){ return UZal;}; ///< return Z alignement paramenter      Float_t GetZalig(){ return UZal;}; ///< return Z alignement paramenter
138      //      //
139      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]
140      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]
141      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]
142      //      //
143      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]
144      //      //

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.23