1#ifndef CALIB_BARREL_LEFT_OFFSET1_BUNCH3_4_H
2#define CALIB_BARREL_LEFT_OFFSET1_BUNCH3_4_H
11 m_name = string(
"calib_barrel_left_offset1_bunch3");
15 double z = r->
zrhit();
18 if( r->
run()<0 || ( (
static_cast<int>(t0/(8.0*12000./499.8/8./4. )+0.1))%4==3 ) ) {
19 if( z>-5.0 &&
abs(
t)<10.0 ) {
26 funcs[6] = z*z*z*z*z*z;
42 if( r->
run()<0 || ( (
static_cast<int>((r->
phi())/(8.0*12000./499.8/8./4. )+0.1))%4==3 ) ) {
43 if( r->
zrhit() > -5.0 ) {
54 if(
data->size() > 0 ) {
55 std::vector<Record*>::iterator
iter =
data->begin();
57 if( (*iter)->run() < 0 )
return;
58 if ((
static_cast<int>(((*iter)->phi())/(8.0*12000./499.8/8./4. )+0.1))%4==3){
59 if( (*iter)->zrhit() < 0.0 )
continue;
62 for(
int i=0; i<
X.num_row(); i++ ) {
65 (*iter)->settleft( (*iter)->tleft() - tcorr );
std::vector< Record * > RecordSet
const int nBarrelLeft_Offset1_bunch3_4
calib_barrel_left_offset1_bunch3_4()
void calculate_y(const Record *r)
void calculate_funcs(const Record *r)
void updateData(RecordSet *&data)