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 <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

◆ operator<<()

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

Definition at line 265 of file CrossingFrame.h.

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

265  {
266  std::pair<int, int> range = cf.getBunchRange();
267  o << "\nCrossingFrame for subdet " << cf.getEventID() << ", bunchrange = " << range.first << "," << range.second
268  << ", bunchSpace " << cf.getBunchSpace();
269 
270  return o;
271 }
edm::EventID getEventID() const
Definition: CrossingFrame.h:78
int getBunchSpace() const
Definition: CrossingFrame.h:80
std::pair< int, int > getBunchRange() const
Definition: CrossingFrame.h:79

◆ swap()

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

Definition at line 257 of file CrossingFrame.h.

References CrossingFrame< T >::swap().

Referenced by CrossingFrame< T >::operator=().

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