ATLAS Offline Software
Loading...
Searching...
No Matches
caldata Class Reference

A structure to contain data associated with the calibration of a certain sub-module. More...

#include <Calibrator.h>

Collaboration diagram for caldata:

Public Member Functions

 caldata ()
 caldata (bool, int, int)
 ~caldata ()

Public Attributes

int det {}
 detector (barrel or end-cap)
int lay {}
 layer
int mod {}
 phi module
int brd {}
 board
int chp {}
 chip
int stl {}
 straw-layer
int stw {}
 straw number (within the strawlayer)
int sid {}
 straw ID
int ntres {}
 number of time residual histogram entries
int nrt {}
 number of rt histogram entries
int nres {}
 number of residual histogram entries
int t0fittype {}
 the type of time residual fit that was made
float res {}
 the residual
float resMean {}
 the residual mean
float reserr {}
 the residual error
float tres {}
 the time residual
float tresMean {}
 the time residual mean
float t0 {}
 the new t0
float t0err {}
 the new to error
float reft0 {}
 the reference t0 (offset from board mean)
float t0off {}
 the t0 offset from the level below
float rtt0 {}
 the t0 fron the R-t fit
std::array< float, 4 > oldrtpar {}
 the rt-parameters used in the track reconstruction
std::array< float, 4 > rtpar {}
 the new rt-parameters
float nhits {}
 the number of straws in the sub-module
float x {}
 sub-module x position (average of all straws in the module)
float y {}
 sub-module y position (average of all straws in the module)
float z {}
 sub-module z position (average of all straws in the module)
double oldt02 {}
 the old sub-module t0 (average of t0 for all straws in the module)
double sumt0 {}
 ...
double sumx {}
 ...
double sumy {}
 ...
double sumz {}
 ...
bool calflag {}
 flag indicating if any calibration has been made
bool rtflag {}
 flag indicating if an R-t calibration has been made
bool t0flag {}
 flag indicating if a t0 calibration has been made
std::vector< float > m_treshist
 the 1D time residual histogram (100 bins)
std::vector< float > reshist
 the 1D residual histogram (100 bins)
std::vector< float > rthist
 the 2D rt histogram (20x32 bins)
RtGraphrtgraph {}
 the rt graph

Detailed Description

A structure to contain data associated with the calibration of a certain sub-module.

Definition at line 104 of file Calibrator.h.

Constructor & Destructor Documentation

◆ caldata() [1/2]

caldata::caldata ( )

Definition at line 33 of file Calibrator.cxx.

33 {
34 res = -999;
35 resMean = -999;
36 reserr = -999;
37 tres = -999;
38 tresMean = -999;
39 t0 = -999;
40 t0err = -999;
41 reft0 = -999;
42 t0off = -999;
43 rtt0 = -999;
44 nhits = -999;
45 x = -999;
46 y = -999;
47 z = -999;
48 oldt02 = -999;
49 sumt0 = -999;
50 sumx = -999;
51 sumy = -999;
52 sumz = -999;
53 calflag = -999;
54 rtflag = -999;
55 t0flag = -999;
56 det = -999;
57 lay = -999;
58 mod = -999;
59 brd = -999;
60 chp = -999;
61 stl = -999;
62 stw = -999;
63 sid = -999;
64 ntres = -999;
65 nrt = -999;
66 nres = -999;
67 t0fittype = -999;
68 rtgraph = nullptr;
69}
int nrt
number of rt histogram entries
Definition Calibrator.h:118
int lay
layer
Definition Calibrator.h:110
int stw
straw number (within the strawlayer)
Definition Calibrator.h:115
int stl
straw-layer
Definition Calibrator.h:114
int brd
board
Definition Calibrator.h:112
double sumt0
...
Definition Calibrator.h:138
float reft0
the reference t0 (offset from board mean)
Definition Calibrator.h:128
int det
detector (barrel or end-cap)
Definition Calibrator.h:109
int ntres
number of time residual histogram entries
Definition Calibrator.h:117
float t0
the new t0
Definition Calibrator.h:126
float t0err
the new to error
Definition Calibrator.h:127
float reserr
the residual error
Definition Calibrator.h:123
float y
sub-module y position (average of all straws in the module)
Definition Calibrator.h:135
float rtt0
the t0 fron the R-t fit
Definition Calibrator.h:130
float tres
the time residual
Definition Calibrator.h:124
double sumx
...
Definition Calibrator.h:139
float z
sub-module z position (average of all straws in the module)
Definition Calibrator.h:136
bool rtflag
flag indicating if an R-t calibration has been made
Definition Calibrator.h:143
bool calflag
flag indicating if any calibration has been made
Definition Calibrator.h:142
double sumy
...
Definition Calibrator.h:140
bool t0flag
flag indicating if a t0 calibration has been made
Definition Calibrator.h:144
int sid
straw ID
Definition Calibrator.h:116
float x
sub-module x position (average of all straws in the module)
Definition Calibrator.h:134
int nres
number of residual histogram entries
Definition Calibrator.h:119
float tresMean
the time residual mean
Definition Calibrator.h:125
RtGraph * rtgraph
the rt graph
Definition Calibrator.h:148
float t0off
the t0 offset from the level below
Definition Calibrator.h:129
float resMean
the residual mean
Definition Calibrator.h:122
int chp
chip
Definition Calibrator.h:113
int t0fittype
the type of time residual fit that was made
Definition Calibrator.h:120
double oldt02
the old sub-module t0 (average of t0 for all straws in the module)
Definition Calibrator.h:137
float nhits
the number of straws in the sub-module
Definition Calibrator.h:133
float res
the residual
Definition Calibrator.h:121
double sumz
...
Definition Calibrator.h:141
int mod
phi module
Definition Calibrator.h:111

◆ caldata() [2/2]

caldata::caldata ( bool makehist,
int nbinst,
int nbinsr )

Definition at line 74 of file Calibrator.cxx.

74 {
75 res = -999;
76 resMean = -999;
77 reserr = -999;
78 tres = -999;
79 tresMean = -999;
80 t0 = -999;
81 t0err = -999;
82 reft0 = -999;
83 t0off = -999;
84 rtt0 = -999;
85 nhits = -999;
86 x = -999;
87 y = -999;
88 z = -999;
89 oldt02 = -999;
90 sumt0 = -999;
91 sumx = -999;
92 sumy = -999;
93 sumz = -999;
94 calflag = -999;
95 rtflag = -999;
96 t0flag = -999;
97 det = -999;
98 lay = -999;
99 mod = -999;
100 brd = -999;
101 chp = -999;
102 stl = -999;
103 stw = -999;
104 sid = -999;
105 ntres = -999;
106 nrt = -999;
107 nres = -999;
108 t0fittype= -999;
109 rtgraph = nullptr;
110
111 if (makehist) {
112 m_treshist.resize (100);
113 reshist.resize (100);
114 rthist.resize (nbinsr*nbinst+200);
115 }
116}
std::vector< float > m_treshist
the 1D time residual histogram (100 bins)
Definition Calibrator.h:145
std::vector< float > reshist
the 1D residual histogram (100 bins)
Definition Calibrator.h:146
std::vector< float > rthist
the 2D rt histogram (20x32 bins)
Definition Calibrator.h:147

◆ ~caldata()

caldata::~caldata ( )

Definition at line 71 of file Calibrator.cxx.

71 {
72}

Member Data Documentation

◆ brd

int caldata::brd {}

board

Definition at line 112 of file Calibrator.h.

112{};

◆ calflag

bool caldata::calflag {}

flag indicating if any calibration has been made

Definition at line 142 of file Calibrator.h.

142{};

◆ chp

int caldata::chp {}

chip

Definition at line 113 of file Calibrator.h.

113{};

◆ det

int caldata::det {}

detector (barrel or end-cap)

Definition at line 109 of file Calibrator.h.

109{};

◆ lay

int caldata::lay {}

layer

Definition at line 110 of file Calibrator.h.

110{};

◆ m_treshist

std::vector<float> caldata::m_treshist

the 1D time residual histogram (100 bins)

Definition at line 145 of file Calibrator.h.

◆ mod

int caldata::mod {}

phi module

Definition at line 111 of file Calibrator.h.

111{};

◆ nhits

float caldata::nhits {}

the number of straws in the sub-module

Definition at line 133 of file Calibrator.h.

133{};

◆ nres

int caldata::nres {}

number of residual histogram entries

Definition at line 119 of file Calibrator.h.

119{};

◆ nrt

int caldata::nrt {}

number of rt histogram entries

Definition at line 118 of file Calibrator.h.

118{};

◆ ntres

int caldata::ntres {}

number of time residual histogram entries

Definition at line 117 of file Calibrator.h.

117{};

◆ oldrtpar

std::array<float, 4> caldata::oldrtpar {}

the rt-parameters used in the track reconstruction

Definition at line 131 of file Calibrator.h.

131{};

◆ oldt02

double caldata::oldt02 {}

the old sub-module t0 (average of t0 for all straws in the module)

Definition at line 137 of file Calibrator.h.

137{};

◆ reft0

float caldata::reft0 {}

the reference t0 (offset from board mean)

Definition at line 128 of file Calibrator.h.

128{};

◆ res

float caldata::res {}

the residual

Definition at line 121 of file Calibrator.h.

121{};

◆ reserr

float caldata::reserr {}

the residual error

Definition at line 123 of file Calibrator.h.

123{};

◆ reshist

std::vector<float> caldata::reshist

the 1D residual histogram (100 bins)

Definition at line 146 of file Calibrator.h.

◆ resMean

float caldata::resMean {}

the residual mean

Definition at line 122 of file Calibrator.h.

122{};

◆ rtflag

bool caldata::rtflag {}

flag indicating if an R-t calibration has been made

Definition at line 143 of file Calibrator.h.

143{};

◆ rtgraph

RtGraph* caldata::rtgraph {}

the rt graph

Definition at line 148 of file Calibrator.h.

148{};

◆ rthist

std::vector<float> caldata::rthist

the 2D rt histogram (20x32 bins)

Definition at line 147 of file Calibrator.h.

◆ rtpar

std::array<float, 4> caldata::rtpar {}

the new rt-parameters

Definition at line 132 of file Calibrator.h.

132{};

◆ rtt0

float caldata::rtt0 {}

the t0 fron the R-t fit

Definition at line 130 of file Calibrator.h.

130{};

◆ sid

int caldata::sid {}

straw ID

Definition at line 116 of file Calibrator.h.

116{};

◆ stl

int caldata::stl {}

straw-layer

Definition at line 114 of file Calibrator.h.

114{};

◆ stw

int caldata::stw {}

straw number (within the strawlayer)

Definition at line 115 of file Calibrator.h.

115{};

◆ sumt0

double caldata::sumt0 {}

...

Definition at line 138 of file Calibrator.h.

138{};

◆ sumx

double caldata::sumx {}

...

Definition at line 139 of file Calibrator.h.

139{};

◆ sumy

double caldata::sumy {}

...

Definition at line 140 of file Calibrator.h.

140{};

◆ sumz

double caldata::sumz {}

...

Definition at line 141 of file Calibrator.h.

141{};

◆ t0

float caldata::t0 {}

the new t0

Definition at line 126 of file Calibrator.h.

126{};

◆ t0err

float caldata::t0err {}

the new to error

Definition at line 127 of file Calibrator.h.

127{};

◆ t0fittype

int caldata::t0fittype {}

the type of time residual fit that was made

Definition at line 120 of file Calibrator.h.

120{};

◆ t0flag

bool caldata::t0flag {}

flag indicating if a t0 calibration has been made

Definition at line 144 of file Calibrator.h.

144{};

◆ t0off

float caldata::t0off {}

the t0 offset from the level below

Definition at line 129 of file Calibrator.h.

129{};

◆ tres

float caldata::tres {}

the time residual

Definition at line 124 of file Calibrator.h.

124{};

◆ tresMean

float caldata::tresMean {}

the time residual mean

Definition at line 125 of file Calibrator.h.

125{};

◆ x

float caldata::x {}

sub-module x position (average of all straws in the module)

Definition at line 134 of file Calibrator.h.

134{};

◆ y

float caldata::y {}

sub-module y position (average of all straws in the module)

Definition at line 135 of file Calibrator.h.

135{};

◆ z

float caldata::z {}

sub-module z position (average of all straws in the module)

Definition at line 136 of file Calibrator.h.

136{};

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