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

#include <BmnOnlineDecoder.h>

Inheritance diagram for BmnOnlineDecoder:
[legend]
Collaboration diagram for BmnOnlineDecoder:
[legend]

Public Member Functions

 BmnOnlineDecoder ()
 
virtual ~BmnOnlineDecoder ()
 
BmnStatus Decode (TString dirname, TString startFile, Bool_t runCurrent)
 
BmnStatus OpenStream ()
 
void ProcessStream ()
 
BmnStatus CloseStream ()
 
BmnStatus BatchDirectory (TString dirname)
 
BmnStatus BatchDirectoryToSocket (TString dirname)
 
void SetBmnSetup (BmnSetup v)
 
BmnSetup GetBmnSetup () const
 
void SetPeriodID (uint32_t v)
 
uint32_t GetPeriodID () const
 
void SetDetectorSetup (map< DetectorId, bool > setup)
 
void SetDaqAddress (TString addr)
 
void SetProcessNormEvents (bool val=true)
 
void SetProcessStatEvents (bool val=true)
 
void SetDigiSocket (uint32_t val=RAW_DECODER_SOCKET_PORT)
 
 BmnOnlineDecoder ()
 
virtual ~BmnOnlineDecoder ()
 
BmnStatus Decode (TString dirname, TString startFile, Bool_t runCurrent)
 
BmnStatus OpenStream ()
 
void ProcessStream ()
 
BmnStatus CloseStream ()
 
BmnStatus BatchDirectory (TString dirname)
 
BmnStatus BatchDirectoryToSocket (TString dirname)
 
void SetBmnSetup (BmnSetup v)
 
BmnSetup GetBmnSetup () const
 
void SetPeriodID (uint32_t v)
 
uint32_t GetPeriodID () const
 
void SetDetectorSetup (map< DetectorId, bool > setup)
 
void SetDaqAddress (TString addr)
 
void SetProcessNormEvents (bool val=true)
 
void SetProcessStatEvents (bool val=true)
 
void SetDigiSocket (uint32_t val=RAW_DECODER_SOCKET_PORT)
 

Static Public Member Functions

static void StripView (TString OrigFileName, TString TestFileName, uint32_t periodID=8, uint32_t runID=0, BmnSetup fSetup=kBMNSETUP, bool FillOccupancy=true)
 
static void StripView (TString OrigFileName, TString TestFileName, uint32_t periodID=8, uint32_t runID=0, BmnSetup fSetup=kBMNSETUP, bool FillOccupancy=true)
 

Detailed Description

Definition at line 39 of file BmnOnlineDecoder.h.

Constructor & Destructor Documentation

◆ BmnOnlineDecoder() [1/2]

BmnOnlineDecoder::BmnOnlineDecoder ( )

Definition at line 37 of file BmnOnlineDecoder.cxx.

◆ ~BmnOnlineDecoder() [1/2]

BmnOnlineDecoder::~BmnOnlineDecoder ( )
virtual

Definition at line 48 of file BmnOnlineDecoder.cxx.

References BmnDecoder::Finalize(), and BmnRawDataDecoder::GetDecoder().

◆ BmnOnlineDecoder() [2/2]

BmnOnlineDecoder::BmnOnlineDecoder ( )

◆ ~BmnOnlineDecoder() [2/2]

virtual BmnOnlineDecoder::~BmnOnlineDecoder ( )
virtual

Member Function Documentation

◆ BatchDirectory() [1/2]

BmnStatus BmnOnlineDecoder::BatchDirectory ( TString  dirname)

◆ BatchDirectory() [2/2]

BmnStatus BmnOnlineDecoder::BatchDirectory ( TString  dirname)

◆ BatchDirectoryToSocket() [1/2]

BmnStatus BmnOnlineDecoder::BatchDirectoryToSocket ( TString  dirname)

Definition at line 916 of file BmnOnlineDecoder.cxx.

References i, kBMNERROR, and BmnConverterTools::ParseRawFileName().

◆ BatchDirectoryToSocket() [2/2]

BmnStatus BmnOnlineDecoder::BatchDirectoryToSocket ( TString  dirname)

◆ CloseStream() [1/2]

BmnStatus BmnOnlineDecoder::CloseStream ( )

Definition at line 211 of file BmnOnlineDecoder.cxx.

References DBG, and kBMNFINISH.

Referenced by ProcessStream().

◆ CloseStream() [2/2]

BmnStatus BmnOnlineDecoder::CloseStream ( )

◆ Decode() [1/2]

BmnStatus BmnOnlineDecoder::Decode ( TString  dirname,
TString  startFile,
Bool_t  runCurrent 
)

◆ Decode() [2/2]

BmnStatus BmnOnlineDecoder::Decode ( TString  dirname,
TString  startFile,
Bool_t  runCurrent 
)

◆ GetBmnSetup() [1/2]

BmnSetup BmnOnlineDecoder::GetBmnSetup ( ) const
inline

Definition at line 53 of file BmnOnlineDecoder.h.

◆ GetBmnSetup() [2/2]

BmnSetup BmnOnlineDecoder::GetBmnSetup ( ) const
inline

Definition at line 53 of file BmnOnlineDecoder.h.

◆ GetPeriodID() [1/2]

uint32_t BmnOnlineDecoder::GetPeriodID ( ) const
inline

Definition at line 57 of file BmnOnlineDecoder.h.

◆ GetPeriodID() [2/2]

uint32_t BmnOnlineDecoder::GetPeriodID ( ) const
inline

Definition at line 57 of file BmnOnlineDecoder.h.

◆ OpenStream() [1/2]

BmnStatus BmnOnlineDecoder::OpenStream ( )

Definition at line 200 of file BmnOnlineDecoder.cxx.

References DBG, kBMNERROR, and kBMNSUCCESS.

Referenced by ProcessStream().

◆ OpenStream() [2/2]

BmnStatus BmnOnlineDecoder::OpenStream ( )

◆ ProcessStream() [1/2]

◆ ProcessStream() [2/2]

void BmnOnlineDecoder::ProcessStream ( )

◆ SetBmnSetup() [1/2]

void BmnOnlineDecoder::SetBmnSetup ( BmnSetup  v)
inline

Definition at line 51 of file BmnOnlineDecoder.h.

References v.

◆ SetBmnSetup() [2/2]

void BmnOnlineDecoder::SetBmnSetup ( BmnSetup  v)
inline

Definition at line 51 of file BmnOnlineDecoder.h.

References v.

◆ SetDaqAddress() [1/2]

void BmnOnlineDecoder::SetDaqAddress ( TString  addr)
inline

Definition at line 61 of file BmnOnlineDecoder.h.

◆ SetDaqAddress() [2/2]

void BmnOnlineDecoder::SetDaqAddress ( TString  addr)
inline

Definition at line 61 of file BmnOnlineDecoder.h.

◆ SetDetectorSetup() [1/2]

void BmnOnlineDecoder::SetDetectorSetup ( map< DetectorId, bool >  setup)
inline

Definition at line 59 of file BmnOnlineDecoder.h.

◆ SetDetectorSetup() [2/2]

void BmnOnlineDecoder::SetDetectorSetup ( map< DetectorId, bool >  setup)
inline

Definition at line 59 of file BmnOnlineDecoder.h.

◆ SetDigiSocket() [1/2]

void BmnOnlineDecoder::SetDigiSocket ( uint32_t  val = RAW_DECODER_SOCKET_PORT)
inline

Definition at line 66 of file BmnOnlineDecoder.h.

◆ SetDigiSocket() [2/2]

void BmnOnlineDecoder::SetDigiSocket ( uint32_t  val = RAW_DECODER_SOCKET_PORT)
inline

Definition at line 66 of file BmnOnlineDecoder.h.

◆ SetPeriodID() [1/2]

void BmnOnlineDecoder::SetPeriodID ( uint32_t  v)
inline

Definition at line 55 of file BmnOnlineDecoder.h.

References v.

◆ SetPeriodID() [2/2]

void BmnOnlineDecoder::SetPeriodID ( uint32_t  v)
inline

Definition at line 55 of file BmnOnlineDecoder.h.

References v.

◆ SetProcessNormEvents() [1/2]

void BmnOnlineDecoder::SetProcessNormEvents ( bool  val = true)
inline

Definition at line 63 of file BmnOnlineDecoder.h.

◆ SetProcessNormEvents() [2/2]

void BmnOnlineDecoder::SetProcessNormEvents ( bool  val = true)
inline

Definition at line 63 of file BmnOnlineDecoder.h.

◆ SetProcessStatEvents() [1/2]

void BmnOnlineDecoder::SetProcessStatEvents ( bool  val = true)
inline

Definition at line 64 of file BmnOnlineDecoder.h.

◆ SetProcessStatEvents() [2/2]

void BmnOnlineDecoder::SetProcessStatEvents ( bool  val = true)
inline

Definition at line 64 of file BmnOnlineDecoder.h.

◆ StripView() [1/2]

void BmnOnlineDecoder::StripView ( TString  OrigFileName,
TString  TestFileName,
uint32_t  periodID = 8,
uint32_t  runID = 0,
BmnSetup  fSetup = kBMNSETUP,
bool  FillOccupancy = true 
)
static

◆ StripView() [2/2]

static void BmnOnlineDecoder::StripView ( TString  OrigFileName,
TString  TestFileName,
uint32_t  periodID = 8,
uint32_t  runID = 0,
BmnSetup  fSetup = kBMNSETUP,
bool  FillOccupancy = true 
)
static

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