Jpp  18.0.0-rc.2
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
JRECONSTRUCTION::JMuonPrefit::cmz Struct Reference

Auxiliary data structure for sorting of hits. More...

#include <JMuonPrefit.hh>

Public Member Functions

template<class T >
bool operator() (const T &first, const T &second) const
 Sort hits according times corrected for position along z-axis. More...
 

Detailed Description

Auxiliary data structure for sorting of hits.

Definition at line 433 of file JMuonPrefit.hh.

Member Function Documentation

template<class T >
bool JRECONSTRUCTION::JMuonPrefit::cmz::operator() ( const T first,
const T second 
) const
inline

Sort hits according times corrected for position along z-axis.

Parameters
firstfirst hit
secondsecond hit
Returns
true if first hit earlier than second hit; else false

Definition at line 442 of file JMuonPrefit.hh.

443  {
444  using namespace JPP;
445 
446  return (first .getT() * getSpeedOfLight() - first .getZ() <
447  second.getT() * getSpeedOfLight() - second.getZ());
448  }
then echo The file $DIR KM3NeT_00000001_00000000 root already please rename or remove it first
const double getSpeedOfLight()
Get speed of light.

The documentation for this struct was generated from the following file: