BmnRoot
Loading...
Searching...
No Matches
BmnTof701Raw2Digit Class Reference

#include <BmnTof701Raw2Digit.h>

Public Member Functions

 BmnTof701Raw2Digit ()
 
 BmnTof701Raw2Digit (Int_t nPeriod, Int_t nRun, Int_t verbose)
 
virtual ~BmnTof701Raw2Digit ()
 
Bool_t setRun (Int_t nPerion, Int_t nRun)
 
Bool_t setMapFromFile (TString placementMapFile, TString mapFile)
 
void saveMapToFile (std::string placementMapFile, std::string mapFile)
 
void setINLFromFile (std::string INLFile)
 
void saveINLToFile (std::string INLFile, unsigned int TDCSerial)
 
void print ()
 
void setVerbose (Int_t verbose)
 
void FillEvent (TClonesArray *data, unordered_map< UInt_t, Long64_t > *mapTS, TClonesArray *Tof701digit)
 
 BmnTof701Raw2Digit ()
 
 BmnTof701Raw2Digit (Int_t nPeriod, Int_t nRun, Int_t verbose)
 
virtual ~BmnTof701Raw2Digit ()
 
Bool_t setRun (Int_t nPerion, Int_t nRun)
 
Bool_t setMapFromFile (TString placementMapFile, TString mapFile)
 
void saveMapToFile (std::string placementMapFile, std::string mapFile)
 
void setINLFromFile (std::string INLFile)
 
void saveINLToFile (std::string INLFile, unsigned int TDCSerial)
 
void print ()
 
void setVerbose (Int_t verbose)
 
void FillEvent (TClonesArray *data, unordered_map< UInt_t, Long64_t > *mapTS, TClonesArray *Tof701digit)
 

Static Public Member Functions

static UShort_t ToGlobalChannel (UChar_t HptdcId, UChar_t channel)
 
static UShort_t ToGlobalChannel (UChar_t HptdcId, UChar_t channel)
 

Detailed Description

Definition at line 58 of file BmnTof701Raw2Digit.h.

Constructor & Destructor Documentation

◆ BmnTof701Raw2Digit() [1/4]

BmnTof701Raw2Digit::BmnTof701Raw2Digit ( )

Definition at line 66 of file BmnTof701Raw2Digit.cxx.

◆ BmnTof701Raw2Digit() [2/4]

BmnTof701Raw2Digit::BmnTof701Raw2Digit ( Int_t  nPeriod,
Int_t  nRun,
Int_t  verbose = 0 
)

Definition at line 73 of file BmnTof701Raw2Digit.cxx.

References setRun().

◆ ~BmnTof701Raw2Digit() [1/2]

BmnTof701Raw2Digit::~BmnTof701Raw2Digit ( )
virtual

Definition at line 82 of file BmnTof701Raw2Digit.cxx.

◆ BmnTof701Raw2Digit() [3/4]

BmnTof701Raw2Digit::BmnTof701Raw2Digit ( )

◆ BmnTof701Raw2Digit() [4/4]

BmnTof701Raw2Digit::BmnTof701Raw2Digit ( Int_t  nPeriod,
Int_t  nRun,
Int_t  verbose 
)

◆ ~BmnTof701Raw2Digit() [2/2]

virtual BmnTof701Raw2Digit::~BmnTof701Raw2Digit ( )
virtual

Member Function Documentation

◆ FillEvent() [1/2]

◆ FillEvent() [2/2]

void BmnTof701Raw2Digit::FillEvent ( TClonesArray *  data,
unordered_map< UInt_t, Long64_t > *  mapTS,
TClonesArray *  Tof701digit 
)

◆ print() [1/2]

void BmnTof701Raw2Digit::print ( )
inline

Definition at line 72 of file BmnTof701Raw2Digit.h.

◆ print() [2/2]

void BmnTof701Raw2Digit::print ( )
inline

Definition at line 72 of file BmnTof701Raw2Digit.h.

◆ saveINLToFile() [1/2]

void BmnTof701Raw2Digit::saveINLToFile ( std::string  INLFile,
unsigned int  TDCSerial 
)

Definition at line 515 of file BmnTof701Raw2Digit.cxx.

References TOF701_BIN_NUMBER, and TOF701_CHANNEL_NUMBER.

◆ saveINLToFile() [2/2]

void BmnTof701Raw2Digit::saveINLToFile ( std::string  INLFile,
unsigned int  TDCSerial 
)

◆ saveMapToFile() [1/2]

void BmnTof701Raw2Digit::saveMapToFile ( std::string  placementMapFile,
std::string  mapFile 
)

Definition at line 372 of file BmnTof701Raw2Digit.cxx.

References i, TOF701_CHANNEL_NUMBER, TOF701_LEFT, and TOF701_RIGHT.

◆ saveMapToFile() [2/2]

void BmnTof701Raw2Digit::saveMapToFile ( std::string  placementMapFile,
std::string  mapFile 
)

◆ setINLFromFile() [1/2]

void BmnTof701Raw2Digit::setINLFromFile ( std::string  INLFile)

Definition at line 422 of file BmnTof701Raw2Digit.cxx.

References TOF701_BIN_NUMBER, and TOF701_CHANNEL_NUMBER.

Referenced by BmnDecoder::InitMappers().

◆ setINLFromFile() [2/2]

void BmnTof701Raw2Digit::setINLFromFile ( std::string  INLFile)

◆ setMapFromFile() [1/2]

Bool_t BmnTof701Raw2Digit::setMapFromFile ( TString  placementMapFile,
TString  mapFile 
)

◆ setMapFromFile() [2/2]

Bool_t BmnTof701Raw2Digit::setMapFromFile ( TString  placementMapFile,
TString  mapFile 
)

◆ setRun() [1/2]

◆ setRun() [2/2]

Bool_t BmnTof701Raw2Digit::setRun ( Int_t  nPerion,
Int_t  nRun 
)

◆ setVerbose() [1/2]

void BmnTof701Raw2Digit::setVerbose ( Int_t  verbose)
inline

Definition at line 73 of file BmnTof701Raw2Digit.h.

Referenced by BmnDecoder::InitMappers().

◆ setVerbose() [2/2]

void BmnTof701Raw2Digit::setVerbose ( Int_t  verbose)
inline

Definition at line 73 of file BmnTof701Raw2Digit.h.

◆ ToGlobalChannel() [1/2]

UShort_t BmnTof701Raw2Digit::ToGlobalChannel ( UChar_t  HptdcId,
UChar_t  channel 
)
static

Definition at line 93 of file BmnTof701Raw2Digit.cxx.

Referenced by FillEvent().

◆ ToGlobalChannel() [2/2]

static UShort_t BmnTof701Raw2Digit::ToGlobalChannel ( UChar_t  HptdcId,
UChar_t  channel 
)
static

The documentation for this class was generated from the following files: