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

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 }

◆ 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 }

◆ ~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.

◆ calflag

bool caldata::calflag

flag indicating if any calibration has been made

Definition at line 142 of file Calibrator.h.

◆ chp

int caldata::chp

chip

Definition at line 113 of file Calibrator.h.

◆ det

int caldata::det

detector (barrel or end-cap)

Definition at line 109 of file Calibrator.h.

◆ lay

int caldata::lay

layer

Definition at line 110 of file Calibrator.h.

◆ 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.

◆ nhits

float caldata::nhits

the number of straws in the sub-module

Definition at line 133 of file Calibrator.h.

◆ nres

int caldata::nres

number of residual histogram entries

Definition at line 119 of file Calibrator.h.

◆ nrt

int caldata::nrt

number of rt histogram entries

Definition at line 118 of file Calibrator.h.

◆ ntres

int caldata::ntres

number of time residual histogram entries

Definition at line 117 of file Calibrator.h.

◆ oldrtpar

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

the rt-parameters used in the track reconstruction

Definition at line 131 of file Calibrator.h.

◆ 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.

◆ reft0

float caldata::reft0

the reference t0 (offset from board mean)

Definition at line 128 of file Calibrator.h.

◆ res

float caldata::res

the residual

Definition at line 121 of file Calibrator.h.

◆ reserr

float caldata::reserr

the residual error

Definition at line 123 of file Calibrator.h.

◆ 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.

◆ rtflag

bool caldata::rtflag

flag indicating if an R-t calibration has been made

Definition at line 143 of file Calibrator.h.

◆ rtgraph

RtGraph* caldata::rtgraph

the rt graph

Definition at line 148 of file Calibrator.h.

◆ 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.

◆ rtt0

float caldata::rtt0

the t0 fron the R-t fit

Definition at line 130 of file Calibrator.h.

◆ sid

int caldata::sid

straw ID

Definition at line 116 of file Calibrator.h.

◆ stl

int caldata::stl

straw-layer

Definition at line 114 of file Calibrator.h.

◆ stw

int caldata::stw

straw number (within the strawlayer)

Definition at line 115 of file Calibrator.h.

◆ sumt0

double caldata::sumt0

...

Definition at line 138 of file Calibrator.h.

◆ sumx

double caldata::sumx

...

Definition at line 139 of file Calibrator.h.

◆ sumy

double caldata::sumy

...

Definition at line 140 of file Calibrator.h.

◆ sumz

double caldata::sumz

...

Definition at line 141 of file Calibrator.h.

◆ t0

float caldata::t0

the new t0

Definition at line 126 of file Calibrator.h.

◆ t0err

float caldata::t0err

the new to error

Definition at line 127 of file Calibrator.h.

◆ t0fittype

int caldata::t0fittype

the type of time residual fit that was made

Definition at line 120 of file Calibrator.h.

◆ t0flag

bool caldata::t0flag

flag indicating if a t0 calibration has been made

Definition at line 144 of file Calibrator.h.

◆ t0off

float caldata::t0off

the t0 offset from the level below

Definition at line 129 of file Calibrator.h.

◆ tres

float caldata::tres

the time residual

Definition at line 124 of file Calibrator.h.

◆ tresMean

float caldata::tresMean

the time residual mean

Definition at line 125 of file Calibrator.h.

◆ x

float caldata::x

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

Definition at line 134 of file Calibrator.h.

◆ y

float caldata::y

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

Definition at line 135 of file Calibrator.h.

◆ z

float caldata::z

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

Definition at line 136 of file Calibrator.h.


The documentation for this class was generated from the following files:
caldata::rthist
std::vector< float > rthist
the 2D rt histogram (20x32 bins)
Definition: Calibrator.h:147
caldata::t0fittype
int t0fittype
the type of time residual fit that was made
Definition: Calibrator.h:120
caldata::nhits
float nhits
the number of straws in the sub-module
Definition: Calibrator.h:133
caldata::ntres
int ntres
number of time residual histogram entries
Definition: Calibrator.h:117
caldata::brd
int brd
board
Definition: Calibrator.h:112
caldata::sid
int sid
straw ID
Definition: Calibrator.h:116
caldata::x
float x
sub-module x position (average of all straws in the module)
Definition: Calibrator.h:134
caldata::det
int det
detector (barrel or end-cap)
Definition: Calibrator.h:109
caldata::resMean
float resMean
the residual mean
Definition: Calibrator.h:122
caldata::oldt02
double oldt02
the old sub-module t0 (average of t0 for all straws in the module)
Definition: Calibrator.h:137
caldata::sumt0
double sumt0
...
Definition: Calibrator.h:138
caldata::lay
int lay
layer
Definition: Calibrator.h:110
caldata::y
float y
sub-module y position (average of all straws in the module)
Definition: Calibrator.h:135
caldata::rtflag
bool rtflag
flag indicating if an R-t calibration has been made
Definition: Calibrator.h:143
caldata::sumz
double sumz
...
Definition: Calibrator.h:141
caldata::t0off
float t0off
the t0 offset from the level below
Definition: Calibrator.h:129
caldata::stl
int stl
straw-layer
Definition: Calibrator.h:114
caldata::t0flag
bool t0flag
flag indicating if a t0 calibration has been made
Definition: Calibrator.h:144
caldata::mod
int mod
phi module
Definition: Calibrator.h:111
caldata::t0
float t0
the new t0
Definition: Calibrator.h:126
caldata::rtgraph
RtGraph * rtgraph
the rt graph
Definition: Calibrator.h:148
caldata::nrt
int nrt
number of rt histogram entries
Definition: Calibrator.h:118
res
std::pair< std::vector< unsigned int >, bool > res
Definition: JetGroupProductTest.cxx:14
caldata::sumx
double sumx
...
Definition: Calibrator.h:139
caldata::t0err
float t0err
the new to error
Definition: Calibrator.h:127
caldata::tres
float tres
the time residual
Definition: Calibrator.h:124
caldata::tresMean
float tresMean
the time residual mean
Definition: Calibrator.h:125
caldata::chp
int chp
chip
Definition: Calibrator.h:113
caldata::sumy
double sumy
...
Definition: Calibrator.h:140
caldata::reserr
float reserr
the residual error
Definition: Calibrator.h:123
caldata::calflag
bool calflag
flag indicating if any calibration has been made
Definition: Calibrator.h:142
caldata::m_treshist
std::vector< float > m_treshist
the 1D time residual histogram (100 bins)
Definition: Calibrator.h:145
caldata::nres
int nres
number of residual histogram entries
Definition: Calibrator.h:119
caldata::stw
int stw
straw number (within the strawlayer)
Definition: Calibrator.h:115
caldata::reshist
std::vector< float > reshist
the 1D residual histogram (100 bins)
Definition: Calibrator.h:146
caldata::rtt0
float rtt0
the t0 fron the R-t fit
Definition: Calibrator.h:130
caldata::reft0
float reft0
the reference t0 (offset from board mean)
Definition: Calibrator.h:128
caldata::z
float z
sub-module z position (average of all straws in the module)
Definition: Calibrator.h:136