8 #include "TStreamerInfo.h"
10 #include "TBufferFile.h"
16 TClass* rc = TClass::GetClass(sourceType);
21 rc = TClass::GetClass(sourceType);
30 TBufferFile( TBufferFile::kWrite ),
35 TBufferFile( TBufferFile::kRead, dataSource.
size(), const_cast<
char*>( dataSource.c_str()), kFALSE ),
47 void write(
const void*
obj,
const TClass* ptrClass ){
50 StreamObject(const_cast<void*>(obj), ptrClass);
58 void read(
void* destinationInstance,
const TClass* ptrClass ){
66 TObjLink *lnk = list->FirstLink();
69 info = (TStreamerInfo*)lnk->GetObject();
70 TObject *element = info->GetElements()->UncheckedAt(0);
71 Bool_t isstl = element && strcmp(
"This",element->GetName())==0;
78 lnk = list->FirstLink();
80 info = (TStreamerInfo*)lnk->GetObject();
81 TObject *element = info->GetElements()->UncheckedAt(0);
82 Bool_t isstl = element && strcmp(
"This",element->GetName())==0;
90 StreamObject(destinationInstance, ptrClass);
91 if( list )
delete list;
94 void copy( std::ostream& destForData, std::ostream& destForStreamerInfo ){
95 destForData.write( static_cast<const char*>(Buffer()),Length() );
105 m_dataBuffer( dataDest ),
106 m_streamerInfoBuffer( streamerInfoDest ){
114 buffer.
write(sourceInstance, r_class);
116 buffer.
copy( m_dataBuffer, m_streamerInfoBuffer );
120 m_dataBuffer( std::istreambuf_iterator<
char>( binaryData ), std::istreambuf_iterator<
char>()),
121 m_streamerInfoBuffer( std::istreambuf_iterator<
char>( binaryStreamerInfo ), std::istreambuf_iterator<
char>()),
133 m_streamer->read( destinationInstance, r_class );
void read(void *destinationInstance, const TClass *ptrClass)
void ForceWriteInfo(TVirtualStreamerInfo *sinfo, Bool_t)
RootOutputArchive(std::ostream &dataDest, std::ostream &streamerInfoDest)
void write(const void *obj, const TClass *ptrClass)
std::string demangledName(const std::type_info &typeInfo)
void write(const std::type_info &sourceType, const void *sourceInstance)
static PluginCapabilities * get()
TClass * lookUpDictionary(const std::type_info &sourceType)
void throwException(std::string const &message, std::string const &methodName)
RootStreamBuffer(const std::string &dataSource, const std::string &streamerInfoSource)
TBufferFile m_streamerInfoBuff
void TagStreamerInfo(TVirtualStreamerInfo *sinfo)
void load(const std::string &iName)
void copy(std::ostream &destForData, std::ostream &destForStreamerInfo)
tuple size
Write out results.
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*","!HLTx*"if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL.It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of"!*"before the partial wildcard feature was incorporated).Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run