5#ifndef CBMTRDRAWTODIGI_H
6#define CBMTRDRAWTODIGI_H
12#include <FairRootManager.h>
44 CbmTrdDigi*
MakeDigi(std::vector<Int_t> samples, Int_t channel, Int_t uniqueModuleId, ULong64_t time,
48 Double_t
GetCharge(std::vector<Int_t> samples, Int_t shift = -1);
62 void SetPars(Int_t mode, Double_t cal, Double_t tau, std::vector<Int_t> mask);
65 void WriteMaps(std::string file =
"") { (void) file; }
66 void ReadMaps(std::string file =
"");
103 std::map<Int_t, std::map<Int_t, std::map<Int_t, Int_t>>>
fElookupBig;
void FillLookUps(std::string write="")
CbmTrdDigi * MakeDigi(std::vector< Int_t > samples, Int_t channel, Int_t uniqueModuleId, ULong64_t time, Bool_t FN=false)
CbmTrdRawToDigiR operator=(const CbmTrdRawToDigiR &)
void SetPresamples(Int_t pre)
Double_t CalcResponse(Double_t t)
void SetPars(Int_t mode, Double_t cal, Double_t tau, std::vector< Int_t > mask)
std::map< Int_t, std::map< Int_t, std::map< Int_t, Int_t > > > fElookupBig
void SetMinBin(Int_t bin)
CbmTrdRawToDigiR(const CbmTrdRawToDigiR &)
void SetQA(CbmTrdCheckUtil *qa)
ClassDef(CbmTrdRawToDigiR, 1)
std::map< Int_t, std::map< Int_t, Float_t > > fElookupSmall
void SetLookup(Int_t mode)
std::map< Int_t, Float_t > fElookup
void SetReadFile(std::string file)
std::map< Int_t, std::map< Int_t, Int_t > > fElookupA
void SetRecoMask(std::vector< Int_t > mask)
void WriteMaps(std::string file="")
CbmTrdRawToDigiR()
default Constructor with messages
std::map< Int_t, std::map< Int_t, std::map< Int_t, Int_t > > > fElookupAsym
virtual ~CbmTrdRawToDigiR()
Destructor.
void SetCalibration(Double_t cal)
void SetSetter(Bool_t set)
void SetMaxBin(Int_t bin)
void ReadMaps(std::string file="")
Double_t GetCharge(std::vector< Int_t > samples, Int_t shift=-1)
void SetTau(Double_t tau)
void SetRecoMode(Int_t mode)
Float_t GetTimeShift(std::vector< Int_t > samples)
std::vector< Int_t > fSampleMask
void SetWriteFile(std::string file)
void SetDebug(Bool_t debug)
void SetShapingOrder(Int_t order)