1#ifndef CALIB_BARREL_RIGHT_OFFSET1_BUNCH0_3_H
2#define CALIB_BARREL_RIGHT_OFFSET1_BUNCH0_3_H
11 m_name = string(
"calib_barrel_right_offset1_bunch0");
16 double z = r->
zrhit();
19 if( run<0 || (
static_cast<int>(t0/(8.0*12000./499.8/8./3. )+0.1))%3==0){
20 if( z>-5.0 &&
abs(
t)<10.0 ) {
27 funcs[6] = z*z*z*z*z*z;
43 if( r->
run()<0 || (
static_cast<int>((r->
phi())/(8.0*12000./499.8/8./3. )+0.1))%3==0){
44 if( r->
zrhit() > -5.0 ) {
55 if( data->size() > 0 ) {
56 std::vector<Record*>::iterator
iter = data->begin();
58 if( (*iter)->run() < 0 )
return;
59 if ((
static_cast<int>(((*iter)->phi())/(8.0*12000./499.8/8./3. )+0.1))%3==0){
60 if( (*iter)->zrhit() < 0.0 )
continue;
63 for(
int i=0; i<
X.num_row(); i++ ) {
66 (*iter)->settright( (*iter)->tright() - tcorr );
std::vector< Record * > RecordSet
const int nBarrelRight_Offset1_bunch0_3
void updateData(RecordSet *&data)
void calculate_y(const Record *r)
void calculate_funcs(const Record *r)
calib_barrel_right_offset1_bunch0_3()