/[PAMELA software]/calo/flight/CaloProfile/inc/CaloProfile.h
ViewVC logotype

Diff of /calo/flight/CaloProfile/inc/CaloProfile.h

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

revision 1.5 by mocchiut, Tue Jun 16 14:30:09 2009 UTC revision 1.6 by mocchiut, Tue Aug 11 14:23:08 2009 UTC
# Line 117  class CaloLong : public TObject { Line 117  class CaloLong : public TObject {
117      //      //
118      Float_t eplane[2][22];      Float_t eplane[2][22];
119      //      //
120        CaloLevel2 *clp;
121        //
122    
123   public:   public:
124      //      //
# Line 126  class CaloLong : public TObject { Line 128  class CaloLong : public TObject {
128      //      //
129      //    Double_t ccurve(Double_t *t, Double_t *par);      //    Double_t ccurve(Double_t *t, Double_t *par);
130      //      //
131        void SetCaloLevel2Pointer(CaloLevel2 *cp){ clp = cp;};
132        //
133      Float_t Get_E0(){this->Fit(); return E0;};      Float_t Get_E0(){this->Fit(); return E0;};
134      Float_t Get_a(){this->Fit(); return a;};      Float_t Get_a(){this->Fit(); return a;};
135      Float_t Get_b(){this->Fit(); return b;};      Float_t Get_b(){this->Fit(); return b;};
# Line 141  class CaloLong : public TObject { Line 145  class CaloLong : public TObject {
145      Float_t Get_X0pl(){this->Process(); return X0pl;};      Float_t Get_X0pl(){this->Process(); return X0pl;};
146      Int_t Get_fitresult(){this->Fit(); return fitresult;};      Int_t Get_fitresult(){this->Fit(); return fitresult;};
147      //      //
148        void ForceNextFit(){atime=0;fatime=0;};
149      void Draw();      void Draw();
150      void Draw(Int_t);      void Draw(Int_t);
151      //      //
# Line 152  class CaloLong : public TObject { Line 157  class CaloLong : public TObject {
157      void UsePlane18X(){ no18x=false; };      void UsePlane18X(){ no18x=false; };
158      //      //
159      void MaskSection(TString);      void MaskSection(TString);
160        void UnMaskSection(TString);
161        void UnMaskSections();
162      void Selection(){sel = true; cont = false;}; ///< Set selection mode: planes from 1 to 22-N are used, plane 18 - N is masked if "emulate18" variable is true (DEFAULT);      void Selection(){sel = true; cont = false;}; ///< Set selection mode: planes from 1 to 22-N are used, plane 18 - N is masked if "emulate18" variable is true (DEFAULT);
163      void Contamination(){sel = false; cont = true;}; ///< Set contamination mode: planes from N to 22 are used.      void Contamination(){sel = false; cont = true;}; ///< Set contamination mode: planes from N to 22 are used.
164      void SetNoWpreSampler(Int_t n);      void SetNoWpreSampler(Int_t n);
# Line 159  class CaloLong : public TObject { Line 166  class CaloLong : public TObject {
166      void SplitInto(Int_t NoWpreSampler, Int_t NoWcalo);      void SplitInto(Int_t NoWpreSampler, Int_t NoWcalo);
167      Int_t GetNoWpreSampler(){return N;}; ///< Get the number of W planes used as presampler.      Int_t GetNoWpreSampler(){return N;}; ///< Get the number of W planes used as presampler.
168      Int_t GetNoWcalo(){return NC;}; ///< Get the number of W planes used as calorimeter.      Int_t GetNoWcalo(){return NC;}; ///< Get the number of W planes used as calorimeter.
169        void SetEnergies(Float_t myene[][22]);
170      //      //
171      void Clear();      void Clear();
172      void Clear(Option_t *option){Clear();};      void Clear(Option_t *option){Clear();};

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

  ViewVC Help
Powered by ViewVC 1.1.23