hpstr
The Heavy Photon Search Toolkit for Reconstruction (hpstr) provides an interface to physics data from the HPS experiment saved in the LCIO format and converts it into an ROOT based format.
|
#include <RawSvtHit.h>
Public Member Functions | |
RawSvtHit () | |
virtual | ~RawSvtHit () |
void | Clear () |
void | setFitN (int fitN) |
void | setFit (double fit[5], int fitI) |
void | setADCs (int adcs[6]) |
void | setSystem (int system) |
void | setBarrel (int barrel) |
void | setLayer (int layer) |
void | setModule (int module) |
void | setSensor (int sensor) |
void | setSide (int side) |
void | setStrip (int strip) |
int | getFitN () |
double * | getFit (int fitI) |
int * | getADCs () |
int | getSystem () |
int | getBarrel () |
int | getLayer () |
int | getModule () |
int | getSensor () |
int | getSide () |
int | getStrip () |
double | getT0 (int fitI) |
double | getT0err (int fitI) |
double | getAmp (int fitI) |
double | getAmpErr (int fitI) |
double | getChiSq (int fitI) |
ClassDef (RawSvtHit, 1) | |
Private Attributes | |
int | adcs_ [6] {-999,-999,-999,-999,-999,-999} |
int | system_ {-999} |
int | barrel_ {-999} |
int | layer_ {-999} |
int | module_ {-999} |
int | sensor_ {-999} |
int | side_ {-999} |
int | strip_ {-999} |
int | fitN_ {0} |
double | fit_ [2][5] {{-999.9,-999.9,-999.9,-999.9,-999.9},{-999.9,-999.9,-999.9,-999.9,-999.9}} |
Definition at line 21 of file RawSvtHit.h.
RawSvtHit | ( | ) |
Constructor
|
virtual |
Destructor
Definition at line 15 of file RawSvtHit.cxx.
ClassDef | ( | RawSvtHit | , |
1 | |||
) |
void Clear | ( | ) |
Reset the Hit object.
Definition at line 19 of file RawSvtHit.cxx.
int * getADCs | ( | ) |
Get the adc values
Definition at line 76 of file RawSvtHit.cxx.
|
inline |
Get the amplitude fit parameter
Definition at line 101 of file RawSvtHit.h.
|
inline |
Get the amplitude error fit parameter
Definition at line 104 of file RawSvtHit.h.
int getBarrel | ( | ) |
Get the barrel
Definition at line 84 of file RawSvtHit.cxx.
|
inline |
Get the chiSq probability
Definition at line 107 of file RawSvtHit.h.
double * getFit | ( | int | fitI | ) |
Get the fit paramters
Definition at line 72 of file RawSvtHit.cxx.
|
inline |
Get the fit multi
Definition at line 65 of file RawSvtHit.h.
int getLayer | ( | ) |
Get the layer
Definition at line 88 of file RawSvtHit.cxx.
int getModule | ( | ) |
Get the module
Definition at line 92 of file RawSvtHit.cxx.
int getSensor | ( | ) |
Get the sensor
Definition at line 96 of file RawSvtHit.cxx.
int getSide | ( | ) |
Get the side
Definition at line 100 of file RawSvtHit.cxx.
int getStrip | ( | ) |
Get the strip
Definition at line 104 of file RawSvtHit.cxx.
int getSystem | ( | ) |
Get the system
Definition at line 80 of file RawSvtHit.cxx.
|
inline |
Get the t0 fit parameter
Definition at line 95 of file RawSvtHit.h.
|
inline |
Get the t0 err fit parameter
Definition at line 98 of file RawSvtHit.h.
void setADCs | ( | int | adcs[6] | ) |
Set the adc values
Definition at line 35 of file RawSvtHit.cxx.
void setBarrel | ( | int | barrel | ) |
Set the barrel
Definition at line 48 of file RawSvtHit.cxx.
void setFit | ( | double | fit[5], |
int | fitI | ||
) |
Set the fit parameters
Definition at line 27 of file RawSvtHit.cxx.
void setFitN | ( | int | fitN | ) |
Set the fit multi
Definition at line 23 of file RawSvtHit.cxx.
void setLayer | ( | int | layer | ) |
Set the layer
Definition at line 52 of file RawSvtHit.cxx.
void setModule | ( | int | module | ) |
Set the module
Definition at line 56 of file RawSvtHit.cxx.
void setSensor | ( | int | sensor | ) |
Set the sensor
Definition at line 60 of file RawSvtHit.cxx.
void setSide | ( | int | side | ) |
Set the side
Definition at line 64 of file RawSvtHit.cxx.
void setStrip | ( | int | strip | ) |
Set the strip
Definition at line 68 of file RawSvtHit.cxx.
void setSystem | ( | int | system | ) |
Set the system
Definition at line 44 of file RawSvtHit.cxx.
|
private |
The raw adcs of the hit.
Definition at line 115 of file RawSvtHit.h.
|
private |
Definition at line 117 of file RawSvtHit.h.
|
private |
Definition at line 125 of file RawSvtHit.h.
|
private |
The fit parameters of the hit.
Definition at line 124 of file RawSvtHit.h.
|
private |
Definition at line 118 of file RawSvtHit.h.
|
private |
Definition at line 119 of file RawSvtHit.h.
|
private |
Definition at line 120 of file RawSvtHit.h.
|
private |
Definition at line 121 of file RawSvtHit.h.
|
private |
Definition at line 122 of file RawSvtHit.h.
|
private |
Definition at line 116 of file RawSvtHit.h.