#ifndef HENERGYLOSSCORRPAR_H
#define HENERGYLOSSCORRPAR_H
#include "hparcond.h"
class HEnergyLossCorrPar : public HParCond {
protected:
Int_t nThetaReg;
Float_t thetaStep;
Float_t thetaMiddle0;
Float_t momInt1;
Float_t momInt2;
Int_t nParamsProt;
Float_t parMomCorrProt[70];
Int_t nParamsElect;
Float_t parMomCorrElect[5];
public:
HEnergyLossCorrPar(const Char_t* name = "EnergyLossCorrPar",
const Char_t* title = "Energy losses correction parameters",
const Char_t* context = "EnergyLossCorrProduction");
~HEnergyLossCorrPar(void) {}
Bool_t init(HParIo*,Int_t* set=0);
Int_t write(HParIo*);
void clear(void);
void putParams(HParamList*);
Bool_t getParams(HParamList*);
Bool_t setParamProt(Int_t nTh,Int_t nParPr,Float_t thM0,Float_t thSt,Float_t* parPr,Float_t mInt1,Float_t mInt2);
Bool_t setParamElect(Int_t nParEl,Float_t* parEl);
Bool_t setDefaultPar(const Char_t *rn="jan04");
Float_t getDeltaMom(Int_t pId, Float_t mom, Float_t theta);
Float_t getCorrMom(Int_t pId, Float_t mom, Float_t theta) {
return mom+getDeltaMom(pId,mom,theta);}
ClassDef(HEnergyLossCorrPar,1)
};
#endif /*!HENERGYLOSSCORRPAR_H */
Last change: Sat May 22 12:55:01 2010
Last generated: 2010-05-22 12:55
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.