#include #include #include #include #include #include #include #include //_____________________________________________________________________________ Int_t StntupleInitCotDataBlock(TStnDataBlock* block, AbsEvent* event, int mode) { // initialize COT data block with the `event' data // return -1, if bank doesn't exist, 0, if everything is OK TCotDataBlock* data = (TCotDataBlock*) block; data->Clear(); EventRecord::ConstIterator iter(event, "COTD_StorableBank"); if (! iter.is_valid()) return -1; ConstHandle cotd(iter); return 0; }