Jpp  pmt_effective_area_update_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::JHitL1Comparator Struct Reference

Auxiliary class for permutations of L1 hits. More...

#include <JEvtToolkit.hh>

Public Member Functions

 JHitL1Comparator ()
 Default constructor. More...
 
template<class JHitL1_t >
bool operator() (const JHitL1_t &first, const JHitL1_t &second) const
 Comparison of L1 hits by module identifier (first) and by time (second). More...
 

Detailed Description

Auxiliary class for permutations of L1 hits.

Definition at line 557 of file JReconstruction/JEvtToolkit.hh.

Constructor & Destructor Documentation

JRECONSTRUCTION::JHitL1Comparator::JHitL1Comparator ( )
inline

Default constructor.

Definition at line 562 of file JReconstruction/JEvtToolkit.hh.

563  {}

Member Function Documentation

template<class JHitL1_t >
bool JRECONSTRUCTION::JHitL1Comparator::operator() ( const JHitL1_t &  first,
const JHitL1_t &  second 
) const
inline

Comparison of L1 hits by module identifier (first) and by time (second).

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

Definition at line 574 of file JReconstruction/JEvtToolkit.hh.

575  {
576  if (first.getModuleID() == second.getModuleID())
577  return first.getT() < second.getT();
578  else
579  return first.getModuleID() < second.getModuleID();
580  }
then echo The file $DIR KM3NeT_00000001_00000000 root already please rename or remove it first

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