55 switch( coda_retcode ) {
96 if(
IsA()->GetMethodAllAny(
"GetDataVersion") ==
109 const char*
const here =
"THaCodaRun::SetCodaVersion";
111 if (vers != 2 && vers != 3) {
112 Error(
here,
"Illegal CODA version = %d. Must be 2 or 3.", vers );
116 Error(
here,
"CODA data source is open, cannot set version" );
std::unique_ptr< Decoder::THaCodaData > fCodaData
static const char *const here
virtual const UInt_t * GetEvBuffer() const
std::unique_ptr< Decoder::THaCodaData > fCodaData
static Int_t ReturnCode(Int_t coda_retcode)
virtual Bool_t IsOpen() const
virtual THaCodaRun & operator=(const THaRunBase &)
virtual Int_t GetDataVersion()
virtual Int_t ReadEvent()
THaCodaRun(const char *description="")
Int_t SetCodaVersion(Int_t version)
virtual THaRunBase & operator=(const THaRunBase &rhs)
TClass * IsA() const override
virtual void Error(const char *method, const char *msgfmt,...) const