1#ifndef CALIB_BARREL_RIGHT_OFFSET1_BUNCH2_3_H
2#define CALIB_BARREL_RIGHT_OFFSET1_BUNCH2_3_H
11 m_name = string(
"calib_barrel_right_offset1_bunch2");
15 double z = r->
zrhit();
18 if ((
static_cast<int>(t0/(8.0*12000./499.8/8./3. )+0.1))%3==2){
19 if( z>-5.0 &&
abs(
t)<10.0 ) {
26 funcs[6] = z*z*z*z*z*z;
42 if ((
static_cast<int>((r->
phi())/(8.0*12000./499.8/8./3. )+0.1))%3==2){
43 if( r->
zrhit() > -5.0 ) {
54 if(
data->size() > 0 ) {
55 std::vector<Record*>::iterator
iter =
data->begin();
57 if ((
static_cast<int>(((*iter)->phi())/(8.0*12000./499.8/8./3. )+0.1))%3==2){
58 if( (*iter)->zrhit() < 0.0 )
continue;
61 for(
int i=0; i<
X.num_row(); i++ ) {
64 (*iter)->settright( (*iter)->tright() - tcorr );
double abs(const EvtComplex &c)
std::vector< Record * > RecordSet
const int nBarrelRight_Offset1_bunch2_3
void calculate_y(const Record *r)
calib_barrel_right_offset1_bunch2_3()
void calculate_funcs(const Record *r)
void updateData(RecordSet *&data)