CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 69 of file CoreSimTrack.cc.

References CoreSimTrack::momentum(), class-composition::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(), HcalHBHEMuonHighEtaAnalyzer::analyzeTracks(), CoreSimTrack::charge(), IsoValueMapProducer< T >::doMiniIso(), IsoValueMapProducer< T >::doPFIsoEle(), IsoValueMapProducer< T >::doPFIsoPho(), heppy::MuScleFitCorrector::getCorrectPt(), and AlCaHcalHBHEMuonProducer::produce().

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.