All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
sbn::crt::CRTHit Struct Reference

#include <CRTHit.hh>

Public Member Functions

 CRTHit ()
 
int64_t ts0 () const
 
int64_t ts1 () const
 

Public Attributes

std::vector< uint8_t > feb_id
 FEB address. More...
 
std::map< uint8_t, std::vector
< std::pair< int, float > > > 
pesmap
 Saves signal hit information (FEB, local-channel and PE) . More...
 
float peshit
 Total photo-electron (PE) in a crt hit. More...
 
uint64_t ts0_s
 Second-only part of timestamp T0. More...
 
double ts0_s_corr
 [Honestly, not sure at this point, it was there since long time (BB)] More...
 
double ts0_ns
 Timestamp T0 (from White Rabbit), in UTC absolute time scale in nanoseconds from the Epoch. More...
 
double ts0_ns_corr
 [Honestly, not sure at this point, it was there since long time (BB)] More...
 
double ts1_ns
 Timestamp T1 ([signal time w.r.t. Trigger time]), in UTC absolute time scale in nanoseconds from the Epoch. More...
 
int plane
 Name of the CRT wall (in the form of numbers). More...
 
float x_pos
 position in x-direction (cm). More...
 
float x_err
 position uncertainty in x-direction (cm). More...
 
float y_pos
 position in y-direction (cm). More...
 
float y_err
 position uncertainty in y-direction (cm). More...
 
float z_pos
 position in z-direction (cm). More...
 
float z_err
 position uncertainty in z-direction (cm). More...
 
std::string tagger
 Name of the CRT wall (in the form of strings). More...
 

Detailed Description

Definition at line 23 of file CRTHit.hh.

Constructor & Destructor Documentation

sbn::crt::CRTHit::CRTHit ( )
inline

Definition at line 47 of file CRTHit.hh.

47 {}

Member Function Documentation

int64_t sbn::crt::CRTHit::ts0 ( ) const
inline

Definition at line 49 of file CRTHit.hh.

49 { return static_cast<int64_t>(ts0_s) * 1'000'000'000LL + static_cast<int64_t>(ts0_ns); }
uint64_t ts0_s
Second-only part of timestamp T0.
Definition: CRTHit.hh:29
int64_t sbn::crt::CRTHit::ts1 ( ) const
inline

Definition at line 50 of file CRTHit.hh.

50 { return static_cast<int64_t>(ts0_s) * 1'000'000'000LL + static_cast<int64_t>(ts1_ns); }
uint64_t ts0_s
Second-only part of timestamp T0.
Definition: CRTHit.hh:29

Member Data Documentation

std::vector<uint8_t> sbn::crt::CRTHit::feb_id

FEB address.

Definition at line 25 of file CRTHit.hh.

float sbn::crt::CRTHit::peshit

Total photo-electron (PE) in a crt hit.

Definition at line 27 of file CRTHit.hh.

std::map< uint8_t, std::vector<std::pair<int,float> > > sbn::crt::CRTHit::pesmap

Saves signal hit information (FEB, local-channel and PE) .

Definition at line 26 of file CRTHit.hh.

int sbn::crt::CRTHit::plane

Name of the CRT wall (in the form of numbers).

Definition at line 36 of file CRTHit.hh.

std::string sbn::crt::CRTHit::tagger

Name of the CRT wall (in the form of strings).

Definition at line 45 of file CRTHit.hh.

double sbn::crt::CRTHit::ts0_ns

Timestamp T0 (from White Rabbit), in UTC absolute time scale in nanoseconds from the Epoch.

Definition at line 32 of file CRTHit.hh.

double sbn::crt::CRTHit::ts0_ns_corr

[Honestly, not sure at this point, it was there since long time (BB)]

Definition at line 33 of file CRTHit.hh.

uint64_t sbn::crt::CRTHit::ts0_s

Second-only part of timestamp T0.

Definition at line 29 of file CRTHit.hh.

double sbn::crt::CRTHit::ts0_s_corr

[Honestly, not sure at this point, it was there since long time (BB)]

Definition at line 30 of file CRTHit.hh.

double sbn::crt::CRTHit::ts1_ns

Timestamp T1 ([signal time w.r.t. Trigger time]), in UTC absolute time scale in nanoseconds from the Epoch.

Definition at line 34 of file CRTHit.hh.

float sbn::crt::CRTHit::x_err

position uncertainty in x-direction (cm).

Definition at line 39 of file CRTHit.hh.

float sbn::crt::CRTHit::x_pos

position in x-direction (cm).

Definition at line 38 of file CRTHit.hh.

float sbn::crt::CRTHit::y_err

position uncertainty in y-direction (cm).

Definition at line 41 of file CRTHit.hh.

float sbn::crt::CRTHit::y_pos

position in y-direction (cm).

Definition at line 40 of file CRTHit.hh.

float sbn::crt::CRTHit::z_err

position uncertainty in z-direction (cm).

Definition at line 43 of file CRTHit.hh.

float sbn::crt::CRTHit::z_pos

position in z-direction (cm).

Definition at line 42 of file CRTHit.hh.


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