CMS 3D CMS Logo

StreamerInputIndexFile.cc File Reference

#include "IOPool/Streamer/interface/StreamerInputIndexFile.h"
#include "FWCore/Utilities/interface/Algorithms.h"
#include "FWCore/Utilities/interface/Exception.h"
#include "FWCore/Utilities/interface/EDMException.h"
#include "FWCore/Utilities/interface/DebugMacros.h"
#include <fstream>
#include <iostream>

Go to the source code of this file.

Functions

bool header_event_sorter (EventIndexRecord *first, EventIndexRecord *second)
bool header_run_sorter (EventIndexRecord *first, EventIndexRecord *second)


Function Documentation

bool header_event_sorter ( EventIndexRecord first,
EventIndexRecord second 
)

Definition at line 185 of file StreamerInputIndexFile.cc.

References event(), and EventIndexRecord::getEventView().

Referenced by StreamerInputIndexFile::sort().

00185                                                                             {
00186     //uint32 event_first = first.eview->event(); 
00187     //uint32 event_second = second.eview->event();
00188      
00189     if(((first->getEventView())->event()) > ((second->getEventView())->event())) 
00190         return true;
00191     return false;
00192 }

bool header_run_sorter ( EventIndexRecord first,
EventIndexRecord second 
)

Definition at line 194 of file StreamerInputIndexFile.cc.

References EventIndexRecord::getEventView(), and mergeAndRegister_online::run.

Referenced by StreamerInputIndexFile::sort().

00194                                                                           {
00195     //uint32 run_first = first.eview->run();
00196     //uint32 run_second = second.eview->run();
00197      
00198     if(((first->getEventView())->run()) > ((second->getEventView())->run()))
00199         return true;
00200     return false;
00201 }


Generated on Tue Jun 9 17:54:28 2009 for CMSSW by  doxygen 1.5.4