PaHit Class Reference

Detector's measurement. More...

#include <PaHit.h>

List of all members.

Public Member Functions

const int & iDet () const
 detector's index
const double U () const
 measurement (perpendicular to "wires")
const double V () const
 measurement (along "wires")
const double SigU () const
 measurement error (perpendicular to "wires")
const double SigV () const
 measurement error (along "wires")
const double SigT () const
 Time measurement error (-1 if detector do not mesure time).
const double Time () const
 cluster time (mean time of all digits in cluster)
const double DeltaR () const
 distance form the wire, calculated from the drift time. (= 0 for non-drift detectors)
const vector< PaDigit > & vDigits () const
 Digits of this hit.
const set< unsigned int > & sTracks () const
 references to reconstructed tracks.
const vector< float > & vExtraData () const
 Associated extra information (e.g. cluster amplitude).
const vector< float > & vExtraDataErr () const
 Errors of associated extra information.
const vector< float > & vMisc () const
 Other associated information.
const PaDetectDetRef () const
 get reference to detector
bool IsSpecialHit () const
 true in case of special 'hit-container' of DAQ digits
void Print (int level=0) const
 Print hit info.
PaHitoperator= (const PaHit &h)
 assignment operator

Detailed Description

Detector's measurement.

Class to store tracking detector's measurements (clusters) and associated raw information (digits).
For MC runs, the clusters from simulated detector response are stored, but digits are not available.
It also may serve as 'container' for non-tracking detector's digits (e.g. scalers, RICH etc.)

Author:
Sergei.Gerassimov@cern.ch

Member Function Documentation

const int& PaHit::iDet (  )  const [inline]

detector's index

Detector's position in vecDetect of PaSetup.
To simplify access to detector's object, DetRef() function is provided.

In such special case when both hits and DAQ digits had been requested to store, user should skip 'hit' with iDet == -777 and iDet == -888 (or better use function IsSpecialHit()),
as those 'special' hits are not tracking detector measurement but just a 'home' for DAQ digits or CORAL digits (CsDigits) of non-tracking detectors.


The documentation for this class was generated from the following files:

Generated by  doxygen 1.6.2