ATLAS Offline Software
AlignTrk.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // AlignTrk.cxx
6 // Richard Hawkings, started 13/4/04
7 
8 #include <iostream>
10 
12  m_nscat(0), m_irun(0), m_ievent(0), m_itrack(0), m_nholes(0), m_nshared(0),m_noverlapPIX(0), m_noverlapSCT(0),
13  m_ikine(0), m_ivtx(0)
14 
15 {
16  for (int i=0;i<5;++i) {
17  m_trkpar[i]=0.;
18  m_truetrkpar[i]=-999.;
19  }
20  for (int i=0;i<15;++i) m_trkcov[i]=0.;
21  for (int i=0;i<3;++i) {
22  m_trpvtx[i]=0.;
23  m_beampos[i]=0.;
24  m_beamsigma[i]=0.;
25  if (i<2) m_beamtilt[i]=0.;
26  }
27  m_hits.clear();
28  m_trthits.clear();
29  //**
30  m_overlaphits.clear(); // All elements in m_overlaphits vector are cleared.
31 }
32 
33 void AlignTrk::print() const {
34  std::cout << "Printing AlignTrk parameters " << "nhits" << m_hits.size() <<
35  " a0 " << m_trkpar[0] << " z0 " << m_trkpar[1] << " phi0 " << m_trkpar[2] <<
36  " cottheta " << m_trkpar[3] << " Q/pt " << m_trkpar[4] << std::endl;
37 }
38 
AlignTrk.h
AlignTrk::m_beamsigma
float m_beamsigma[3]
Definition: AlignTrk.h:101
AlignTrk::m_beamtilt
float m_beamtilt[2]
Definition: AlignTrk.h:102
AlignTrk::m_trkpar
float m_trkpar[5]
Definition: AlignTrk.h:94
AlignTrk::m_hits
std::vector< AlignSiHit > m_hits
Definition: AlignTrk.h:105
lumiFormat.i
int i
Definition: lumiFormat.py:85
AlignTrk::m_overlaphits
std::vector< AlignSiHit > m_overlaphits
Definition: AlignTrk.h:107
AlignTrk::m_trpvtx
float m_trpvtx[3]
Definition: AlignTrk.h:99
AlignTrk::m_truetrkpar
float m_truetrkpar[5]
Definition: AlignTrk.h:97
AlignTrk::m_trkcov
float m_trkcov[15]
Definition: AlignTrk.h:95
AlignTrk::print
void print() const
Definition: AlignTrk.cxx:33
AlignTrk::m_trthits
std::vector< AlignTRTHit > m_trthits
Definition: AlignTrk.h:106
AlignTrk::AlignTrk
AlignTrk()
Definition: AlignTrk.cxx:11
AlignTrk::m_beampos
float m_beampos[3]
Definition: AlignTrk.h:100