CMS 3D CMS Logo

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 69 of file CoreSimTrack.cc.

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

69  {
70  o << t.type() << ", ";
71  o << t.momentum();
72  return o;
73 }
int type() const
particle type (HEP PDT convension)
Definition: CoreSimTrack.h:22
const math::XYZTLorentzVectorD & momentum() const
Definition: CoreSimTrack.h:19

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 HcalHBHEMuonAnalyzer::analyze(), CoreSimTrack::charge(), IsoValueMapProducer< T >::doMiniIso(), IsoValueMapProducer< T >::doPFIsoEle(), IsoValueMapProducer< T >::doPFIsoPho(), and heppy::MuScleFitCorrector::getCorrectPt().

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.