ATLAS Offline Software
ForwardTracker/src/CollimatorData.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
8 
9 #include <sstream>
10 
11 namespace ForwardTracker {
12 
14  coll_z(std::vector<std::vector<double> >(coll_n, std::vector<double>(coll_n))),
15  coll_a(std::vector<std::vector<double> >(coll_n, std::vector<double>(coll_n))) {
16 
17  coll_z[beam1][0] = cData.positionC1;
18  coll_z[beam1][1] = cData.positionC2;
19  coll_z[beam2][0] = cData.positionC1;
20  coll_z[beam2][1] = cData.positionC2;
21 
22  coll_a[beam1][0] = cData.apertureC1;
23  coll_a[beam1][1] = cData.apertureC2;
24  coll_a[beam2][0] = cData.apertureC1;
25  coll_a[beam2][1] = cData.apertureC2;
26  }
27 }
ForwardTracker::ConfigData::positionC1
double positionC1
Definition: ForwardTracker/ForwardTracker/ConfigData.h:17
ForwardTracker::beam1
@ beam1
Definition: ForwardTrackerConstants.h:13
ForwardTracker::beam2
@ beam2
Definition: ForwardTrackerConstants.h:13
ForwardTracker::ConfigData::apertureC1
double apertureC1
Definition: ForwardTracker/ForwardTracker/ConfigData.h:19
ForwardTracker::CollimatorData::CollimatorData
CollimatorData(const ConfigData &)
Definition: ForwardTracker/src/CollimatorData.cxx:13
ConfigData.h
ForwardTracker::ConfigData::apertureC2
double apertureC2
Definition: ForwardTracker/ForwardTracker/ConfigData.h:20
vector
Definition: MultiHisto.h:13
xAOD::double
double
Definition: CompositeParticle_v1.cxx:159
ForwardTracker::CollimatorData::coll_z
std::vector< std::vector< double > > coll_z
Definition: ForwardTracker/ForwardTracker/CollimatorData.h:18
ForwardTrackerConstants.h
CollimatorData.h
ForwardTracker
Definition: ForwardTracker/ForwardTracker/Beamline.h:12
ForwardTracker::ConfigData
Definition: ForwardTracker/ForwardTracker/ConfigData.h:12
ForwardTracker::CollimatorData::coll_a
std::vector< std::vector< double > > coll_a
Definition: ForwardTracker/ForwardTracker/CollimatorData.h:19
ForwardTracker::ConfigData::positionC2
double positionC2
Definition: ForwardTracker/ForwardTracker/ConfigData.h:18