HYDRA_development_version
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
hpiontrackermompar.h
Go to the documentation of this file.
1 #ifndef HPIONTRACKERMOMPAR_H
2 #define HPIONTRACKERMOMPAR_H
3 
4 #include "hparcond.h"
5 #include "TArrayF.h"
6 #include "TArrayI.h"
7 
9 {
10 protected:
11  Int_t fYYWeight; // weighting factor of the yy correlation
12  Float_t fYYSlope; // slope of the yy correlation
13  Float_t fYYOffset; // offset of the yy correlation
14  Int_t fMomWeight; // weighting factor of the yy correlation
15  Float_t fElossCorr; // energy loss correction of the pion momentum
16 
17 
18 
19 public:
20  HPionTrackerMomPar(const Char_t * name = "PionTrackerMomPar",
21  const Char_t * title = "Momentum correction parameters of the PionTracker",
22  const Char_t * context = "PionTrackerMomParProduction");
23  virtual ~HPionTrackerMomPar() {}
24 
25  void clear();
26  void putParams (HParamList *);
27  Bool_t getParams (HParamList *);
28 
29  Int_t getYYWeight() const { return fYYWeight; }
30  Float_t getYYSlope() const { return fYYSlope; }
31  Float_t getYYOffset() const { return fYYOffset; }
32  Int_t getMomWeight() const { return fMomWeight; }
33  Float_t getElossCorr() const { return fElossCorr; }
34 
35 
36  void setYYWeight(const Int_t bt) { fYYWeight = bt; }
37  void setYYSlope(const Float_t rm) { fYYSlope = rm; }
38  void setYYOffset(const Float_t rx) { fYYOffset = rx; }
39  void setMomWeight(const Float_t ry) { fMomWeight = ry; }
40  void setElossCorr(const Float_t rx) { fElossCorr = rx; }
41 
42 
43  ClassDef (HPionTrackerMomPar, 1) // Container for the momentum selection and correction parameters of the PionTracker
44 };
45 
46 #endif /*!HPIONTRACKERMOMPAR_H*/
void setElossCorr(const Float_t rx)
void setMomWeight(const Float_t ry)
HPionTrackerMomPar(const Char_t *name="PionTrackerMomPar", const Char_t *title="Momentum correction parameters of the PionTracker", const Char_t *context="PionTrackerMomParProduction")
void setYYSlope(const Float_t rm)
void setYYWeight(const Int_t bt)
Bool_t getParams(HParamList *)
Float_t getYYSlope() const
Int_t getYYWeight() const
void setYYOffset(const Float_t rx)
Int_t getMomWeight() const
Float_t getElossCorr() const
Float_t getYYOffset() const
void putParams(HParamList *)