CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
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 >
 
class  PCrossingFrame< 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.

271 {
272  std::pair<int,int> range=cf.getBunchRange();
273  o <<"\nCrossingFrame for subdet "<<cf.getEventID()<<", bunchrange = "<<range.first<<","<<range.second
274  <<", bunchSpace "<<cf.getBunchSpace();
275 
276  return o;
277 }
std::pair< int, int > getBunchRange() const
Definition: CrossingFrame.h:88
edm::EventID getEventID() const
Definition: CrossingFrame.h:87
int getBunchSpace() const
Definition: CrossingFrame.h:89
template<typename T >
void swap ( CrossingFrame< T > &  lhs,
CrossingFrame< T > &  rhs 
)
inline

Definition at line 262 of file CrossingFrame.h.

References CrossingFrame< T >::swap().

262  {
263  lhs.swap(rhs);
264 }
void swap(CrossingFrame &other)