CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions | Variables
CoreSimTrack.cc File Reference
#include "SimDataFormats/Track/interface/CoreSimTrack.h"

Go to the source code of this file.

Functions

std::ostream & operator<< (std::ostream &o, const CoreSimTrack &t)
 

Variables

const float chg [109]
 
const float onethird = 1./3.
 
const float twothird = 2./3.
 

Function Documentation

std::ostream& operator<< ( std::ostream &  o,
const CoreSimTrack t 
)

Definition at line 59 of file CoreSimTrack.cc.

References CoreSimTrack::momentum(), connectstrParser::o, and CoreSimTrack::type().

60 {
61  o << t.type() << ", ";
62  o << t.momentum();
63  return o;
64 }
int type() const
particle type (HEP PDT convension)
Definition: CoreSimTrack.h:25
const math::XYZTLorentzVectorD & momentum() const
Definition: CoreSimTrack.h:22

Variable Documentation

const float chg[109]
Initial value:
= {
-1,0,-1,0,-1,0,-1,0,0,0,
0,0, 0,1, 0,0, 0,0,0,0,
1,0, 1,2, 0,0, 1,2,0,0,
-1,0,-1,0,-1,0, 0,0,0,0,
-1,0,-1,0,-1,0, 1,1,0,0,
0,0, 0,0, 0,0, 0,0,0,0,
0,0, 0,0, 0,0, 0,0,0,0,
0,0, 0,0, 0,0, 0,0,0}
const float onethird
Definition: CoreSimTrack.cc:3
const float twothird
Definition: CoreSimTrack.cc:4

Definition at line 5 of file CoreSimTrack.cc.

Referenced by CoreSimTrack::charge().

const float onethird = 1./3.

Definition at line 3 of file CoreSimTrack.cc.

const float twothird = 2./3.

Definition at line 4 of file CoreSimTrack.cc.