ROOT logo
//////////////////////////////////////////////////////////////////////////////
//
// $Id: $
//
// *-- Author  : JAM
// *-- Revised : Joern Adamczewski-Musch <j.adamczewski@gsi.de> 2017
//
//_HADES_CLASS_DESCRIPTION
//////////////////////////////////////////////////////////////////////////////
//
//  HRich700ThresholdPar
//    Treestyle parameter container with trb3 time thresholds for rich700
//    Defined after example of hrichcalpar JAM Nov2017
//
//////////////////////////////////////////////////////////////////////////////


#ifndef HRICH700THRESHOLDPAR_H
#define HRICH700THRESHOLDPAR_H

#include "hlocation.h"
#include "hobjtable.h"
#include "hparset.h"

#include "hrich700pixelthreshold.h"

class HParAsciiFileIo;

class HRich700ThresholdPar : public HParSet {

private:
   HObjTable fParamsTable;
   HLocation fLoc;


public:

   HRich700ThresholdPar(const Char_t* name    = "Rich700ThresholdPar",
               const Char_t* title   = "Rich700 Time Threshold Parameters",
               const Char_t* context = "RichPrimaryCalibration");
   ~HRich700ThresholdPar();

   Bool_t readline(const Char_t* buf);
   Bool_t init(HParIo* input, Int_t* set);
   Int_t  write(HParIo* output);
   void   clear();
   void   putAsciiHeader(TString& header);
   void   write(std::fstream& fout);
   void   printParams();

   HRich700PixelThreshold* getSlot(HLocation &loc);
   HRich700PixelThreshold* getObject(HLocation &loc);

   Bool_t setPixelThreshold(
		   Int_t pmt, Int_t pix,
		   Double_t tmin, Double_t tmax, Double_t totmin, Double_t totmax, Short_t flag);

   ClassDef(HRich700ThresholdPar, 1) //RICH calibration parameters class
};
#endif // HRICH700THRESHOLDPAR_H
 hrich700thresholdpar.h:1
 hrich700thresholdpar.h:2
 hrich700thresholdpar.h:3
 hrich700thresholdpar.h:4
 hrich700thresholdpar.h:5
 hrich700thresholdpar.h:6
 hrich700thresholdpar.h:7
 hrich700thresholdpar.h:8
 hrich700thresholdpar.h:9
 hrich700thresholdpar.h:10
 hrich700thresholdpar.h:11
 hrich700thresholdpar.h:12
 hrich700thresholdpar.h:13
 hrich700thresholdpar.h:14
 hrich700thresholdpar.h:15
 hrich700thresholdpar.h:16
 hrich700thresholdpar.h:17
 hrich700thresholdpar.h:18
 hrich700thresholdpar.h:19
 hrich700thresholdpar.h:20
 hrich700thresholdpar.h:21
 hrich700thresholdpar.h:22
 hrich700thresholdpar.h:23
 hrich700thresholdpar.h:24
 hrich700thresholdpar.h:25
 hrich700thresholdpar.h:26
 hrich700thresholdpar.h:27
 hrich700thresholdpar.h:28
 hrich700thresholdpar.h:29
 hrich700thresholdpar.h:30
 hrich700thresholdpar.h:31
 hrich700thresholdpar.h:32
 hrich700thresholdpar.h:33
 hrich700thresholdpar.h:34
 hrich700thresholdpar.h:35
 hrich700thresholdpar.h:36
 hrich700thresholdpar.h:37
 hrich700thresholdpar.h:38
 hrich700thresholdpar.h:39
 hrich700thresholdpar.h:40
 hrich700thresholdpar.h:41
 hrich700thresholdpar.h:42
 hrich700thresholdpar.h:43
 hrich700thresholdpar.h:44
 hrich700thresholdpar.h:45
 hrich700thresholdpar.h:46
 hrich700thresholdpar.h:47
 hrich700thresholdpar.h:48
 hrich700thresholdpar.h:49
 hrich700thresholdpar.h:50
 hrich700thresholdpar.h:51
 hrich700thresholdpar.h:52
 hrich700thresholdpar.h:53
 hrich700thresholdpar.h:54
 hrich700thresholdpar.h:55
 hrich700thresholdpar.h:56
 hrich700thresholdpar.h:57
 hrich700thresholdpar.h:58
 hrich700thresholdpar.h:59
 hrich700thresholdpar.h:60