ATLAS Offline Software
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
FPTracker::CollimatorData Class Reference

#include <CollimatorData.h>

Collaboration diagram for FPTracker::CollimatorData:

Public Member Functions

 CollimatorData (const ConfigData &)
 
std::string toString () const
 

Public Attributes

std::vector< std::vector< double > > coll_z
 
std::vector< std::vector< double > > coll_xap
 
std::vector< std::vector< int > > coll_nmag
 

Static Public Attributes

static const int ncoll = 2
 

Detailed Description

Definition at line 13 of file FPTracker/FPTracker/CollimatorData.h.

Constructor & Destructor Documentation

◆ CollimatorData()

FPTracker::CollimatorData::CollimatorData ( const ConfigData cData)

Definition at line 12 of file FPTracker/src/CollimatorData.cxx.

12  :
13  coll_z (std::vector<std::vector<double> >(2, std::vector<double>(ncoll))),
14  coll_xap (std::vector<std::vector<double> >(2, std::vector<double>(ncoll))),
15  coll_nmag(std::vector<std::vector<int> > (2, std::vector<int>(ncoll))){
16  // absolute values, collimator front faces
17  coll_z[beam1][0] = 148.9900;
18  coll_z[beam1][1] = 183.6170;
19  coll_z[beam2][0] = 148.9900;
20  coll_z[beam2][1] = 183.5240;
21  coll_xap[beam1][0] = cData.xcol1;
22  coll_xap[beam1][1] = cData.xcol2;
23  coll_xap[beam2][0] = cData.xcol1;
24  coll_xap[beam2][1] = cData.xcol2;
25  }

Member Function Documentation

◆ toString()

std::string FPTracker::CollimatorData::toString ( ) const

Definition at line 27 of file FPTracker/src/CollimatorData.cxx.

27  {
28  std::ostringstream ost;
29  ost<<"ncoll "<<ncoll<<'\n';
30  ost<<"coll_z\n";
31  ost<<array2DToString(coll_z)<<'\n';
32  ost<<"coll_xap\n";
34  ost<<"coll_nmag\n";
36  return ost.str();
37  }

Member Data Documentation

◆ coll_nmag

std::vector< std::vector<int> > FPTracker::CollimatorData::coll_nmag

Definition at line 18 of file FPTracker/FPTracker/CollimatorData.h.

◆ coll_xap

std::vector< std::vector<double> > FPTracker::CollimatorData::coll_xap

Definition at line 17 of file FPTracker/FPTracker/CollimatorData.h.

◆ coll_z

std::vector< std::vector<double> > FPTracker::CollimatorData::coll_z

Definition at line 16 of file FPTracker/FPTracker/CollimatorData.h.

◆ ncoll

const int FPTracker::CollimatorData::ncoll = 2
static

Definition at line 15 of file FPTracker/FPTracker/CollimatorData.h.


The documentation for this class was generated from the following files:
python.trigbs_prescaleL1.ost
ost
Definition: trigbs_prescaleL1.py:104
FPTracker::CollimatorData::ncoll
static const int ncoll
Definition: FPTracker/FPTracker/CollimatorData.h:15
FPTracker::CollimatorData::coll_nmag
std::vector< std::vector< int > > coll_nmag
Definition: FPTracker/FPTracker/CollimatorData.h:18
FPTracker::beam1
@ beam1
Definition: FPTrackerConstants.h:12
FPTracker::CollimatorData::coll_xap
std::vector< std::vector< double > > coll_xap
Definition: FPTracker/FPTracker/CollimatorData.h:17
FPTracker::beam2
@ beam2
Definition: FPTrackerConstants.h:12
FPTracker::array2DToString
std::string array2DToString(const Array2D &arr)
Definition: DataDumperHelpers.h:43
FPTracker::CollimatorData::coll_z
std::vector< std::vector< double > > coll_z
Definition: FPTracker/FPTracker/CollimatorData.h:16