CMS 3D CMS Logo

Classes | Functions

/data/refman/pasoursint/CMSSW_5_3_1/src/SimDataFormats/CrossingFrame/interface/CrossingFrame.h File Reference

#include "SimDataFormats/Track/interface/SimTrackContainer.h"
#include "SimDataFormats/TrackingHit/interface/PSimHitContainer.h"
#include "SimDataFormats/CaloHit/interface/PCaloHitContainer.h"
#include "SimDataFormats/Vertex/interface/SimVertexContainer.h"
#include "SimDataFormats/GeneratorProducts/interface/HepMCProduct.h"
#include "DataFormats/Provenance/interface/EventID.h"
#include "DataFormats/Common/interface/Wrapper.h"
#include "SimDataFormats/EncodedEventId/interface/EncodedEventId.h"
#include "FWCore/MessageLogger/interface/MessageLogger.h"
#include "boost/shared_ptr.hpp"
#include <vector>
#include <string>
#include <iostream>
#include <utility>
#include <algorithm>
#include <iosfwd>
#include "SimDataFormats/CrossingFrame/interface/PCrossingFrame.h"

Go to the source code of this file.

Classes

class  CrossingFrame< T >

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 
)

Definition at line 270 of file CrossingFrame.h.

References python::connectstrParser::o.

{
  std::pair<int,int> range=cf.getBunchRange();
  o <<"\nCrossingFrame for subdet "<<cf.getEventID()<<",  bunchrange = "<<range.first<<","<<range.second
    <<", bunchSpace "<<cf.getBunchSpace();

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

Definition at line 262 of file CrossingFrame.h.

References CrossingFrame< T >::swap().

                                                   {
  lhs.swap(rhs);
}