CMS 3D CMS Logo

Classes | Namespaces | Typedefs | Functions
RawParticle.h File Reference
#include "DataFormats/Math/interface/LorentzVector.h"
#include "DataFormats/Math/interface/Vector3D.h"
#include "Math/GenVector/RotationX.h"
#include "Math/GenVector/RotationY.h"
#include "Math/GenVector/RotationZ.h"
#include "Math/GenVector/Rotation3D.h"
#include "Math/GenVector/AxisAngle.h"
#include "Math/GenVector/Boost.h"
#include <string>
#include <iosfwd>
#include <memory>

Go to the source code of this file.

Classes

class  RawParticle
 

Namespaces

 rawparticle
 

Typedefs

typedef math::XYZTLorentzVector XYZTLorentzVector
 
typedef math::XYZVector XYZVector
 

Functions

RawParticle rawparticle::makeMuon (bool isParticle, const math::XYZTLorentzVector &p, const math::XYZTLorentzVector &xStart)
 
std::ostream & operator<< (std::ostream &o, const RawParticle &p)
 

Typedef Documentation

◆ XYZTLorentzVector

A prototype for a particle class. This class describes a general particle beeing a fourvector and containing a vertex (fourvector). It is defined in RawParticle.h

Author
Stephan Wynhoff

Definition at line 25 of file RawParticle.h.

◆ XYZVector

Definition at line 26 of file RawParticle.h.

Function Documentation

◆ operator<<()

std::ostream& operator<< ( std::ostream &  o,
const RawParticle p 
)

Definition at line 71 of file RawParticle.cc.

71  {
72  o.setf(std::ios::fixed, std::ios::floatfield);
73  o.setf(std::ios::right, std::ios::adjustfield);
74 
75  o << std::setw(4) << std::setprecision(2) << p.pid() << " (";
76  o << std::setw(2) << std::setprecision(2) << p.status() << "): ";
77  o << std::setw(10) << std::setprecision(4) << p.momentum() << " ";
78  o << std::setw(10) << std::setprecision(4) << p.vertex();
79  return o;
80 }

References alignBH_cfg::fixed, EcalTangentSkim_cfg::o, and AlCaHLTBitMon_ParallelJobs::p.

alignBH_cfg.fixed
fixed
Definition: alignBH_cfg.py:54
EcalTangentSkim_cfg.o
o
Definition: EcalTangentSkim_cfg.py:42
AlCaHLTBitMon_ParallelJobs.p
def p
Definition: AlCaHLTBitMon_ParallelJobs.py:153