Jpp test-rotations-new
the software that should make you happy
Loading...
Searching...
No Matches
JCalibration.hh File Reference

Time calibration (including definition of sign of time offset). More...

#include <istream>
#include <ostream>
#include "JIO/JSerialisable.hh"
#include "JLang/JClass.hh"
#include "JLang/JManip.hh"

Go to the source code of this file.

Classes

class  JDETECTOR::JCalibration
 Data structure for time calibration. More...
 
struct  JDETECTOR::JCalibrator< T, true >
 Template specialisation of JCalibrator for primitive data types. More...
 
struct  JDETECTOR::JCalibrator< JHit_t, false >
 Template specialisation of JCalibrator for non-primitive data types. More...
 

Namespaces

namespace  JDETECTOR
 file Auxiliary data structures and methods for detector calibration.
 
namespace  JPP
 This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 

Functions

template<class T >
double JDETECTOR::getTime (const T &t1, const JCalibration &cal)
 Get calibrated time.
 
template<class T >
double JDETECTOR::putTime (const T &t1, const JCalibration &cal)
 Get de-calibrated time.
 
template<class T >
double JDETECTOR::getToT (const T &tot, const JCalibration &cal)
 Get calibrated time-over-threshold of hit.
 
template<class T >
double JDETECTOR::putToT (const T &tot, const JCalibration &cal)
 Get de-calibrated time-over-threshold of hit.
 

Variables

const double JDETECTOR::TIME_OVER_THRESHOLD_NS = 25.08
 Specification for time-over-threshold corresponding to a one photo-electron pulse.
 
const double JDETECTOR::NOMINAL_GAIN = 1.0
 Specification for normalized gain corresponding to a one photo-electron pulse.
 

Detailed Description

Time calibration (including definition of sign of time offset).

Author
mdejong

Definition in file JDetector/JCalibration.hh.