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

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

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

revision 1.10 by mocchiut, Thu Aug 20 09:02:11 2009 UTC revision 1.13 by mocchiut, Mon Dec 14 14:56:36 2009 UTC
# Line 33  class CaloEnergy : public TObject { Line 33  class CaloEnergy : public TObject {
33      //      //
34      PamLevel2 *L2; ///< PamLevel2 object      PamLevel2 *L2; ///< PamLevel2 object
35      Bool_t debug; ///< debug flag      Bool_t debug; ///< debug flag
36        Bool_t usepl18x;
37      //      //
38      // needed to avoid reprocessing the same event over and over to obtain the variables      // needed to avoid reprocessing the same event over and over to obtain the variables
39      //      //
# Line 68  class CaloEnergy : public TObject { Line 69  class CaloEnergy : public TObject {
69      Int_t fYomin; ///< last plane [0,11] for which the trajectory MUST be contained in section YO. Default 1000 means all the planes, if less than 10 events can be only partially contained in a section (NB: THIS INTRODUCE AN ENERGY DEPENDENT SELECTION CONTAINMENT EFFICIENCY)      Int_t fYomin; ///< last plane [0,11] for which the trajectory MUST be contained in section YO. Default 1000 means all the planes, if less than 10 events can be only partially contained in a section (NB: THIS INTRODUCE AN ENERGY DEPENDENT SELECTION CONTAINMENT EFFICIENCY)
70      Int_t fYemin; ///< last plane [0,11] for which the trajectory MUST be contained in section YE. Default 1000 means all the planes, if less than 10 events can be only partially contained in a section (NB: THIS INTRODUCE AN ENERGY DEPENDENT SELECTION CONTAINMENT EFFICIENCY)      Int_t fYemin; ///< last plane [0,11] for which the trajectory MUST be contained in section YE. Default 1000 means all the planes, if less than 10 events can be only partially contained in a section (NB: THIS INTRODUCE AN ENERGY DEPENDENT SELECTION CONTAINMENT EFFICIENCY)
71      Bool_t indep; ///< flag to switch between INDEPENDENT or COHERENT mode, default false - COHERENT mode selected      Bool_t indep; ///< flag to switch between INDEPENDENT or COHERENT mode, default false - COHERENT mode selected
72        Float_t X0pl; ///< transversed X0 for each W plane taking into account inclination of the trajectory
73      //      //
74      // conversion factors      // conversion factors
75      //      //
# Line 222  class CaloEnergy : public TObject { Line 224  class CaloEnergy : public TObject {
224      void SetConversionFactor(Float_t conv_r); ///< Set the MIP-GV conversion factor for all the four sections.      void SetConversionFactor(Float_t conv_r); ///< Set the MIP-GV conversion factor for all the four sections.
225      void SetConversionFactor(TString section, Float_t conv_r); ///< Set the MIP-GV conversion factor for section "section".      void SetConversionFactor(TString section, Float_t conv_r); ///< Set the MIP-GV conversion factor for section "section".
226      //      //
227        void ForceProcessing(){atime=0; PKT=0; APKT=0; aatime=0;}; ///< Force processing the event even if the same request is made twice without a getentry from pamlevel2
228        //
229      // Getters and checks methods      // Getters and checks methods
230      //      //
231      //      //
# Line 272  class CaloEnergy : public TObject { Line 276  class CaloEnergy : public TObject {
276      Int_t GetColumn(){return fColumn;}; ///< number of column which contains the track      Int_t GetColumn(){return fColumn;}; ///< number of column which contains the track
277      Int_t GetColumn(TString section); ///< number of column which contains the track for section "section"      Int_t GetColumn(TString section); ///< number of column which contains the track for section "section"
278      //      //
279        Float_t Get_X0pl(){return X0pl;}; ///< transversed X0 for each W plane taking into account inclination of the trajectory
280        Float_t GetX0max(){ return x0max;}; ///< get the given X0 (test purpose only)
281        //
282      // Get pointers      // Get pointers
283      //      //
284      CaloLong* GetCaloLong(){return clong;}; ///< Get calolong object.      CaloLong* GetCaloLong(){return clong;}; ///< Get calolong object.
# Line 280  class CaloEnergy : public TObject { Line 287  class CaloEnergy : public TObject {
287      //      //
288      // Other methods      // Other methods
289      //      //
290        
291        void UsePlane18X(Bool_t use){usepl18x = use;};
292        //
293      void Clear(); ///< clear varibles      void Clear(); ///< clear varibles
294      void Clear(Option_t *option){Clear();}; ///< compatibility with TObject      void Clear(Option_t *option){Clear();}; ///< compatibility with TObject
295      void Delete(); ///< delete object      void Delete(); ///< delete object
# Line 290  class CaloEnergy : public TObject { Line 300  class CaloEnergy : public TObject {
300      void Print(); ///< Print variables on STDOUT      void Print(); ///< Print variables on STDOUT
301      void Print(Option_t *option){Print();}; ///< compatibility with TObject      void Print(Option_t *option){Print();}; ///< compatibility with TObject
302      //      //
303      ClassDef(CaloEnergy,2);      ClassDef(CaloEnergy,4);
304  };  };
305    
306  #endif  #endif

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.13

  ViewVC Help
Powered by ViewVC 1.1.23