#ifndef HTOFCLUSTERFPAR_H
#define HTOFCLUSTERFPAR_H
using namespace std;
#include "hparcond.h"
#include <iostream> 
#include <iomanip>
#include <fstream> 
#include <cstring>
class HParamList;
class HTofClusterFPar : public HParCond {
private:
  Float_t diffTmax;       
  Float_t diffXmax;       
  Float_t mipLimit;       
  Float_t mL1all;         
  Float_t sL1all;         
  Float_t mL2all;         
  Float_t sL2all;         
  Float_t ratCall1;       
  Float_t mL1lep;         
  Float_t sL1lep;         
  Float_t mL2lep;         
  Float_t sL2lep;         
  Float_t ratClep1;       
  Float_t diffPmax;       
  Float_t lossEmax;       
public:
  HTofClusterFPar(const Char_t* name="TofClusterFPar",
                  const Char_t* title="Parameter container for the cluster finder",
                  const Char_t* context="TofCluNormalBias");
  virtual ~HTofClusterFPar(void);
  void clear(void);
  Bool_t init(HParIo *inp, Int_t *set);
  Int_t write(HParIo *io);
  void putParams(HParamList*);
  Bool_t getParams(HParamList*);
  Float_t getMaxTDiff(void)      { return diffTmax; }
  Float_t getMaxXDiff(void)      { return diffXmax; }
  Float_t getMIPLimit(void) { return mipLimit; }
  Float_t getMPV1      (const Char_t* aset="all") { return (strncmp(aset,"lep",sizeof(aset))==0)? mL1lep:mL1all; }
  Float_t getSigma1    (const Char_t* aset="all") { return (strncmp(aset,"lep",sizeof(aset))==0)? sL1lep:sL1all; }
  Float_t getMPV2      (const Char_t* aset="all") { return (strncmp(aset,"lep",sizeof(aset))==0)? mL2lep:mL2all; }
  Float_t getSigma2    (const Char_t* aset="all") { return (strncmp(aset,"lep",sizeof(aset))==0)? sL2lep:sL2all; }
  Float_t getConstRatio(const Char_t* aset="all") { return (strncmp(aset,"lep",sizeof(aset))==0)? ratClep1:ratCall1; }
  Float_t getMaxPDiff(void)      { return diffPmax; }
  Float_t getMaxELoss(void)      { return lossEmax; }
  void readFrom(const HTofClusterFPar &par);
  ClassDef(HTofClusterFPar,4)
};
#endif
Last change: Sat May 22 13:15:55 2010
Last generated: 2010-05-22 13:15
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.