StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StJetMaker
tracks
StjTrackPtFraction.cxx
1
//
2
// Grant Webb <grant.webb@uky.edu>
3
// University of Kentucky
4
// 6 March 2012
5
//
6
7
#include "StjTrackPtFraction.h"
8
9
ClassImp(
StjTrackPtFraction
);
10
11
StjTrackList StjTrackPtFraction::Do(
const
StjTrackList& trackList)
12
{
13
StjTrackList elist;
14
// Track loop
15
for
(StjTrackList::const_iterator iTrack = trackList.begin(); iTrack != trackList.end(); ++iTrack) {
16
StjTrack
track
= *iTrack;
17
// Add a certain fraction to the track pT
18
track.pt += mFraction *track.pt;
19
elist.push_back(track);
20
}
// End track loop
21
return
elist;
22
}
track
Definition:
MapTableTest.C:38
StjTrackPtFraction
Definition:
StjTrackPtFraction.h:18
StjTrack
Definition:
StjTrackList.h:12
Generated by
1.8.5