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

#include <BmnTof1Raw2Digit.h>

Public Member Functions

 BmnTof1Raw2Digit ()
 
 BmnTof1Raw2Digit (Int_t nPeriod, Int_t nRun, Int_t verbose)
 
virtual ~BmnTof1Raw2Digit ()
 
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 *tof1digit)
 
 BmnTof1Raw2Digit ()
 
 BmnTof1Raw2Digit (Int_t nPeriod, Int_t nRun, Int_t verbose)
 
virtual ~BmnTof1Raw2Digit ()
 
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 *tof1digit)
 

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 57 of file BmnTof1Raw2Digit.h.

Constructor & Destructor Documentation

◆ BmnTof1Raw2Digit() [1/4]

BmnTof1Raw2Digit::BmnTof1Raw2Digit ( )

Definition at line 66 of file BmnTof1Raw2Digit.cxx.

◆ BmnTof1Raw2Digit() [2/4]

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

Definition at line 73 of file BmnTof1Raw2Digit.cxx.

References setRun().

◆ ~BmnTof1Raw2Digit() [1/2]

BmnTof1Raw2Digit::~BmnTof1Raw2Digit ( )
virtual

Definition at line 82 of file BmnTof1Raw2Digit.cxx.

Referenced by GetMapToF400().

◆ BmnTof1Raw2Digit() [3/4]

BmnTof1Raw2Digit::BmnTof1Raw2Digit ( )

◆ BmnTof1Raw2Digit() [4/4]

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

◆ ~BmnTof1Raw2Digit() [2/2]

virtual BmnTof1Raw2Digit::~BmnTof1Raw2Digit ( )
virtual

Member Function Documentation

◆ FillEvent() [1/2]

void BmnTof1Raw2Digit::FillEvent ( TClonesArray *  data,
unordered_map< UInt_t, Long64_t > *  mapTS,
TClonesArray *  tof1digit 
)

◆ FillEvent() [2/2]

void BmnTof1Raw2Digit::FillEvent ( TClonesArray *  data,
unordered_map< UInt_t, Long64_t > *  mapTS,
TClonesArray *  tof1digit 
)

◆ print() [1/2]

void BmnTof1Raw2Digit::print ( )
inline

Definition at line 71 of file BmnTof1Raw2Digit.h.

◆ print() [2/2]

void BmnTof1Raw2Digit::print ( )
inline

Definition at line 71 of file BmnTof1Raw2Digit.h.

◆ saveINLToFile() [1/2]

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

Definition at line 491 of file BmnTof1Raw2Digit.cxx.

References TOF1_BIN_NUMBER, and TOF1_CHANNEL_NUMBER.

◆ saveINLToFile() [2/2]

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

◆ saveMapToFile() [1/2]

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

Definition at line 357 of file BmnTof1Raw2Digit.cxx.

References i, TOF1_CHANNEL_NUMBER, TOF1_LEFT, and TOF1_RIGHT.

Referenced by GetMapToF400().

◆ saveMapToFile() [2/2]

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

◆ setINLFromFile() [1/2]

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

Definition at line 407 of file BmnTof1Raw2Digit.cxx.

References TOF1_BIN_NUMBER, and TOF1_CHANNEL_NUMBER.

◆ setINLFromFile() [2/2]

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

◆ setMapFromFile() [1/2]

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

◆ setMapFromFile() [2/2]

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

◆ setRun() [1/2]

◆ setRun() [2/2]

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

◆ setVerbose() [1/2]

void BmnTof1Raw2Digit::setVerbose ( Int_t  verbose)
inline

Definition at line 72 of file BmnTof1Raw2Digit.h.

Referenced by BmnDecoder::InitMappers().

◆ setVerbose() [2/2]

void BmnTof1Raw2Digit::setVerbose ( Int_t  verbose)
inline

Definition at line 72 of file BmnTof1Raw2Digit.h.

◆ ToGlobalChannel() [1/2]

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

Definition at line 93 of file BmnTof1Raw2Digit.cxx.

Referenced by FillEvent().

◆ ToGlobalChannel() [2/2]

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

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