ROOT logo
#ifndef HPIONTRACKERMOMPAR_H
#define HPIONTRACKERMOMPAR_H

#include "hparcond.h"
#include "TArrayF.h"
#include "TArrayI.h"

class HPionTrackerMomPar : public HParCond
{
protected:
	Int_t fYYWeight;           // weighting factor of the yy correlation
	Float_t fYYSlope;	   // slope of the yy correlation
	Float_t fYYOffset;	   // offset of the yy correlation
	Int_t fMomWeight;          // weighting factor of the yy correlation
	Float_t fElossCorr;	   // energy loss correction of the pion momentum



public:
	HPionTrackerMomPar(const Char_t * name = "PionTrackerMomPar",
			      const Char_t * title = "Momentum correction parameters of the PionTracker",
			      const Char_t * context = "PionTrackerMomParProduction");
	virtual ~HPionTrackerMomPar() {}

	void    clear();
	void    putParams (HParamList *);
	Bool_t  getParams (HParamList *);

	Int_t	getYYWeight() const { return fYYWeight; }
	Float_t	getYYSlope() const { return fYYSlope; }
	Float_t	getYYOffset()  const { return fYYOffset; }
	Int_t	getMomWeight()  const { return fMomWeight; }
	Float_t	getElossCorr()  const { return fElossCorr; }


	void    setYYWeight(const Int_t bt) { fYYWeight = bt; }
	void    setYYSlope(const Float_t rm)     { fYYSlope = rm; }
	void    setYYOffset(const Float_t rx)      { fYYOffset = rx; }
	void    setMomWeight(const Float_t ry)      { fMomWeight = ry; }
	void    setElossCorr(const Float_t rx)      { fElossCorr = rx; }


	ClassDef (HPionTrackerMomPar, 1) // Container for the momentum selection and correction parameters of the PionTracker
};

#endif  /*!HPIONTRACKERMOMPAR_H*/
 hpiontrackermompar.h:1
 hpiontrackermompar.h:2
 hpiontrackermompar.h:3
 hpiontrackermompar.h:4
 hpiontrackermompar.h:5
 hpiontrackermompar.h:6
 hpiontrackermompar.h:7
 hpiontrackermompar.h:8
 hpiontrackermompar.h:9
 hpiontrackermompar.h:10
 hpiontrackermompar.h:11
 hpiontrackermompar.h:12
 hpiontrackermompar.h:13
 hpiontrackermompar.h:14
 hpiontrackermompar.h:15
 hpiontrackermompar.h:16
 hpiontrackermompar.h:17
 hpiontrackermompar.h:18
 hpiontrackermompar.h:19
 hpiontrackermompar.h:20
 hpiontrackermompar.h:21
 hpiontrackermompar.h:22
 hpiontrackermompar.h:23
 hpiontrackermompar.h:24
 hpiontrackermompar.h:25
 hpiontrackermompar.h:26
 hpiontrackermompar.h:27
 hpiontrackermompar.h:28
 hpiontrackermompar.h:29
 hpiontrackermompar.h:30
 hpiontrackermompar.h:31
 hpiontrackermompar.h:32
 hpiontrackermompar.h:33
 hpiontrackermompar.h:34
 hpiontrackermompar.h:35
 hpiontrackermompar.h:36
 hpiontrackermompar.h:37
 hpiontrackermompar.h:38
 hpiontrackermompar.h:39
 hpiontrackermompar.h:40
 hpiontrackermompar.h:41
 hpiontrackermompar.h:42
 hpiontrackermompar.h:43
 hpiontrackermompar.h:44
 hpiontrackermompar.h:45
 hpiontrackermompar.h:46