CMS 3D CMS Logo

CrossingFrame.h File Reference

#include "DataFormats/Provenance/interface/EventID.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include <vector>
#include <string>
#include <iostream>
#include <utility>
#include <algorithm>
#include <iosfwd>

Go to the source code of this file.

Classes

class  CrossingFrame< T >
 CrossingFrame is the result of the Sim Mixing Module. More...

Functions

template<class T>
std::ostream & operator<< (std::ostream &o, const CrossingFrame< T > &cf)
template<typename T>
void swap (CrossingFrame< T > &lhs, CrossingFrame< T > &rhs)


Function Documentation

template<class T>
std::ostream& operator<< ( std::ostream &  o,
const CrossingFrame< T > &  cf 
) [inline]

Definition at line 212 of file CrossingFrame.h.

References range.

00213 {
00214   std::pair<int,int> range=cf.getBunchRange();
00215   o <<"\nCrossingFrame for subdet "<<cf.getEventID()<<",  bunchrange = "<<range.first<<","<<range.second
00216     <<", bunchSpace "<<cf.getBunchSpace();
00217 
00218   return o;
00219 }

template<typename T>
void swap ( CrossingFrame< T > &  lhs,
CrossingFrame< T > &  rhs 
) [inline]

Definition at line 204 of file CrossingFrame.h.

References CrossingFrame< T >::swap().

00204                                                    {
00205   lhs.swap(rhs);
00206 }


Generated on Tue Jun 9 17:55:44 2009 for CMSSW by  doxygen 1.5.4