AculCalibSi.h 1.16 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
/*
 * AculCalibSi.h
 *
 *  Created on: Oct 26, 2016
 *      Author: vratik
 */

#ifndef ACULCALIB_ACULCALIBSI_H_
#define ACULCALIB_ACULCALIBSI_H_

#include "AculCalib.h"

class AculCalibSi: public AculCalib {
private:

//	Double_t something;

public:
	AculCalibSi();
	AculCalibSi(const char* parfile);
	virtual ~AculCalibSi();
	ClassDef(AculCalibSi, 1);

	void Init();

//	Bool_t	CalculateCalibParameters(const char* inputfile, const char* block,
//			const char* treename, Int_t lowerchannel = 0,
//			Int_t upperchannel = 4095, Int_t nEBins = 1000, Int_t lowersubaddress = 0,
//			Int_t uppersubaddress = ADDRESSNUMBER-1); //calculate calibration parameters for given block in given file
	//function is not completely ready to use
	//
	//function for calculation of calibrate parameters for DAQ system based on "Go4"
	//
	//  inputfile: root file with calibration spectra
	//  block: block name to be calibrated
	//  lowerchannel: minimal channel from which the spectrum will be analysed
	//  upperchannel: maximal channel up to which the spectrum will be analysed
	//  lowersubaddress: block subaddress
	//  uppersubaddress: block subbaddress


};

#endif /* ACULCALIB_ACULCALIBSI_H_ */