Skip to content

Commit

Permalink
Add comments to Track.h
Browse files Browse the repository at this point in the history
  • Loading branch information
SClarkPhysics committed Feb 2, 2022
1 parent 564c28c commit 2a3d7cc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion L1Trigger/TrackFindingTracklet/interface/Track.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ namespace trklet {

class Track {
public:
//Track Constructor. 'ipars' are the digitized track parameters as integers.
Track(TrackPars<int> ipars,
int ichisqrphi,
int ichisqrz,
Expand Down Expand Up @@ -56,6 +57,7 @@ namespace trklet {

double phi0(Settings const& settings) const;

//The following lines return the floating point track parameters by undigitizing the digitized parameters
double eta(Settings const& settings) const { return (asinh(ipars_.t() + 0.5) * settings.ktpars()); }
double tanL(Settings const& settings) const { return (ipars_.t() + 0.5) * settings.ktpars(); }
double z0(Settings const& settings) const { return (ipars_.z0() + 0.5) * settings.kz0pars(); }
Expand All @@ -76,7 +78,7 @@ namespace trklet {
}

private:
TrackPars<int> ipars_;
TrackPars<int> ipars_; //digitized track parameters
int ichisqrphi_;
int ichisqrz_;

Expand Down

0 comments on commit 2a3d7cc

Please sign in to comment.