CMS 3D CMS Logo

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 <vector>
#include <string>
#include <iostream>
#include <utility>
#include <algorithm>
#include <memory>
#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 266 of file CrossingFrame.h.

References EcalTangentSkim_cfg::o, and FastTimerService_cff::range.

266  {
267  std::pair<int, int> range = cf.getBunchRange();
268  o << "\nCrossingFrame for subdet " << cf.getEventID() << ", bunchrange = " << range.first << "," << range.second
269  << ", bunchSpace " << cf.getBunchSpace();
270 
271  return o;
272 }
edm::EventID getEventID() const
Definition: CrossingFrame.h:79
std::pair< int, int > getBunchRange() const
Definition: CrossingFrame.h:80
int getBunchSpace() const
Definition: CrossingFrame.h:81
template<typename T >
void swap ( CrossingFrame< T > &  lhs,
CrossingFrame< T > &  rhs 
)
inline

Definition at line 258 of file CrossingFrame.h.

References CrossingFrame< T >::swap().

258  {
259  lhs.swap(rhs);
260 }
void swap(CrossingFrame &other)