00001 //----------------------------------------------------------------------------- 00002 // File and Version Information 00003 // $Id: BdbMinimumInterval.hh,v 1.1 2005/09/19 04:29:01 jtinslay Exp $ 00004 // 00005 // Description: 00006 // BdbMinimumInterval. 00007 // Simple utility to find the minimum validity interval given 00008 // a vector of validity intervals. Assumes all input intervals 00009 // contain at least one common time point. 00010 // 00011 // Environment: 00012 // Software developed for the BaBar Detector at the SLAC B-Factory. 00013 // 00014 // Author List: 00015 // Jane Tinslay 00016 // 00017 // Copyright Information: 00018 // Copyright (C) 2005 SLAC 00019 // 00020 //----------------------------------------------------------------------------- 00021 #ifndef BDBMINIMUMINTERVAL 00022 #define BDBMINIMUMINTERVAL 00023 00024 //------------------------------- 00025 // Collaborating Class Headers -- 00026 //------------------------------- 00027 #include <vector> 00028 00029 using std::vector; 00030 00031 //------------------------------- 00032 // Collaborating Class Headers -- 00033 //------------------------------- 00034 class BdbIntervalBase; 00035 00036 namespace BdbMinimumInterval { 00037 00038 BdbIntervalBase findInterval(const vector<BdbIntervalBase>& intervals); 00039 00040 } 00041 00042 #endif
1.3-rc3