CMS 3D CMS Logo

List of all members | Public Member Functions | Private Member Functions
trackerTFP::FormatKF< v > Class Template Reference

#include <KalmanFilterFormats.h>

Inheritance diagram for trackerTFP::FormatKF< v >:
trackerTFP::DataFormatKF

Public Member Functions

template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
template<>
 FormatKF (const DataFormats *dataFormats, const edm::ParameterSet &iConfig)
 
 ~FormatKF () override
 
- Public Member Functions inherited from trackerTFP::DataFormatKF
double base () const
 
 DataFormatKF (const VariableKF &v, bool twos)
 
double digi (double val) const
 
bool inRange (double d) const
 
int integer (double d) const
 
double range () const
 
const std::pair< double, double > & rangeActual () const
 
bool twos () const
 
void updateRangeActual (double d)
 
int width () const
 
virtual ~DataFormatKF ()
 

Private Member Functions

void calcRange ()
 

Additional Inherited Members

- Protected Attributes inherited from trackerTFP::DataFormatKF
double base_
 
double range_
 
std::pair< double, double > rangeActual_
 
bool twos_
 
VariableKF v_
 
int width_
 

Detailed Description

template<VariableKF v>
class trackerTFP::FormatKF< v >

Definition at line 93 of file KalmanFilterFormats.h.

Constructor & Destructor Documentation

◆ FormatKF() [1/73]

template<VariableKF v>
trackerTFP::FormatKF< v >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ ~FormatKF()

template<VariableKF v>
trackerTFP::FormatKF< v >::~FormatKF ( )
inlineoverride

Definition at line 96 of file KalmanFilterFormats.h.

96 {}

◆ FormatKF() [2/73]

template<>
trackerTFP::FormatKF< VariableKF::x0 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [3/73]

template<>
trackerTFP::FormatKF< VariableKF::x1 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [4/73]

template<>
trackerTFP::FormatKF< VariableKF::x2 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [5/73]

template<>
trackerTFP::FormatKF< VariableKF::x3 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [6/73]

template<>
trackerTFP::FormatKF< VariableKF::H00 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [7/73]

template<>
trackerTFP::FormatKF< VariableKF::H12 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [8/73]

template<>
trackerTFP::FormatKF< VariableKF::m0 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [9/73]

template<>
trackerTFP::FormatKF< VariableKF::m1 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [10/73]

template<>
trackerTFP::FormatKF< VariableKF::v0 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [11/73]

template<>
trackerTFP::FormatKF< VariableKF::v1 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [12/73]

template<>
trackerTFP::FormatKF< VariableKF::r0 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [13/73]

template<>
trackerTFP::FormatKF< VariableKF::r1 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [14/73]

template<>
trackerTFP::FormatKF< VariableKF::S00 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [15/73]

template<>
trackerTFP::FormatKF< VariableKF::S01 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [16/73]

template<>
trackerTFP::FormatKF< VariableKF::S12 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [17/73]

template<>
trackerTFP::FormatKF< VariableKF::S13 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [18/73]

template<>
trackerTFP::FormatKF< VariableKF::K00 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [19/73]

template<>
trackerTFP::FormatKF< VariableKF::K10 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [20/73]

template<>
trackerTFP::FormatKF< VariableKF::K21 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [21/73]

template<>
trackerTFP::FormatKF< VariableKF::K31 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [22/73]

template<>
trackerTFP::FormatKF< VariableKF::R00 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [23/73]

template<>
trackerTFP::FormatKF< VariableKF::R11 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [24/73]

template<>
trackerTFP::FormatKF< VariableKF::R00Rough >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [25/73]

template<>
trackerTFP::FormatKF< VariableKF::R11Rough >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [26/73]

template<>
trackerTFP::FormatKF< VariableKF::invR00Approx >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [27/73]

template<>
trackerTFP::FormatKF< VariableKF::invR11Approx >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [28/73]

template<>
trackerTFP::FormatKF< VariableKF::invR00Cor >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [29/73]

template<>
trackerTFP::FormatKF< VariableKF::invR11Cor >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [30/73]

template<>
trackerTFP::FormatKF< VariableKF::invR00 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [31/73]

template<>
trackerTFP::FormatKF< VariableKF::invR11 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [32/73]

template<>
trackerTFP::FormatKF< VariableKF::C00 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [33/73]

template<>
trackerTFP::FormatKF< VariableKF::C01 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [34/73]

template<>
trackerTFP::FormatKF< VariableKF::C11 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [35/73]

template<>
trackerTFP::FormatKF< VariableKF::C22 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [36/73]

template<>
trackerTFP::FormatKF< VariableKF::C23 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [37/73]

template<>
trackerTFP::FormatKF< VariableKF::C33 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [38/73]

template<>
trackerTFP::FormatKF< VariableKF::x0 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

Definition at line 89 of file KalmanFilterFormats.cc.

References trackerTFP::DataFormatKF::base_, trackerTFP::FormatKF< v >::calcRange(), trackerTFP::DataFormats::format(), edm::ParameterSet::getParameter(), input, trackerTFP::inv2R, trackerTFP::kf, funct::pow(), trackerTFP::DataFormats::setup(), trackerTFP::DataFormatKF::width_, tt::Setup::widthDSPbb(), and trackerTFP::x0.

90  : DataFormatKF(VariableKF::x0, true) {
91  const DataFormat& input = dataFormats->format(Variable::inv2R, Process::kf);
92  const int baseShift = iConfig.getParameter<int>("BaseShiftx0");
93  base_ = pow(2, baseShift) * input.base();
94  width_ = dataFormats->setup()->widthDSPbb();
95  calcRange();
96  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
static std::string const input
Definition: EdmProvDump.cc:50
DataFormatKF(const VariableKF &v, bool twos)
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ FormatKF() [39/73]

template<>
trackerTFP::FormatKF< VariableKF::x1 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

Definition at line 99 of file KalmanFilterFormats.cc.

References trackerTFP::DataFormatKF::base_, trackerTFP::FormatKF< v >::calcRange(), trackerTFP::DataFormats::format(), edm::ParameterSet::getParameter(), input, trackerTFP::kf, trackerTFP::phiT, funct::pow(), trackerTFP::DataFormats::setup(), trackerTFP::DataFormatKF::width_, and tt::Setup::widthDSPbb().

100  : DataFormatKF(VariableKF::x1, true) {
101  const DataFormat& input = dataFormats->format(Variable::phiT, Process::kf);
102  const int baseShift = iConfig.getParameter<int>("BaseShiftx1");
103  base_ = pow(2, baseShift) * input.base();
104  width_ = dataFormats->setup()->widthDSPbb();
105  calcRange();
106  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
static std::string const input
Definition: EdmProvDump.cc:50
DataFormatKF(const VariableKF &v, bool twos)
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ FormatKF() [40/73]

template<>
trackerTFP::FormatKF< VariableKF::x2 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

Definition at line 109 of file KalmanFilterFormats.cc.

References trackerTFP::DataFormatKF::base_, trackerTFP::FormatKF< v >::calcRange(), trackerTFP::cot, trackerTFP::DataFormats::format(), edm::ParameterSet::getParameter(), input, trackerTFP::kf, funct::pow(), trackerTFP::DataFormats::setup(), trackerTFP::DataFormatKF::width_, and tt::Setup::widthDSPbb().

110  : DataFormatKF(VariableKF::x2, true) {
111  const DataFormat& input = dataFormats->format(Variable::cot, Process::kf);
112  const int baseShift = iConfig.getParameter<int>("BaseShiftx2");
113  base_ = pow(2, baseShift) * input.base();
114  width_ = dataFormats->setup()->widthDSPbb();
115  calcRange();
116  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
static std::string const input
Definition: EdmProvDump.cc:50
DataFormatKF(const VariableKF &v, bool twos)
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ FormatKF() [41/73]

template<>
trackerTFP::FormatKF< VariableKF::x3 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

Definition at line 119 of file KalmanFilterFormats.cc.

References trackerTFP::DataFormatKF::base_, trackerTFP::FormatKF< v >::calcRange(), trackerTFP::DataFormats::format(), edm::ParameterSet::getParameter(), input, trackerTFP::kf, funct::pow(), trackerTFP::DataFormats::setup(), trackerTFP::DataFormatKF::width_, tt::Setup::widthDSPbb(), trackerTFP::x3, and trackerTFP::zT.

120  : DataFormatKF(VariableKF::x3, true) {
121  const DataFormat& input = dataFormats->format(Variable::zT, Process::kf);
122  const int baseShift = iConfig.getParameter<int>("BaseShiftx3");
123  base_ = pow(2, baseShift) * input.base();
124  width_ = dataFormats->setup()->widthDSPbb();
125  calcRange();
126  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
static std::string const input
Definition: EdmProvDump.cc:50
DataFormatKF(const VariableKF &v, bool twos)
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ FormatKF() [42/73]

template<>
trackerTFP::FormatKF< VariableKF::H00 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [43/73]

template<>
trackerTFP::FormatKF< VariableKF::H12 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

Definition at line 138 of file KalmanFilterFormats.cc.

References funct::abs(), trackerTFP::DataFormatKF::base_, reco::ceil(), trackerTFP::DataFormats::format(), trackerTFP::H12, trackerTFP::kfin, SiStripPI::max, trackerTFP::r, trackerTFP::DataFormatKF::range_, singleTopDQM_cfi::setup, trackerTFP::DataFormats::setup(), and trackerTFP::DataFormatKF::width_.

139  : DataFormatKF(VariableKF::H12, true) {
140  const Setup* setup = dataFormats->setup();
141  const DataFormat& kfin = dataFormats->format(Variable::r, Process::kfin);
142  base_ = kfin.base();
143  range_ = 2. * max(abs(setup->outerRadius() - setup->chosenRofZ()), abs(setup->innerRadius() - setup->chosenRofZ()));
144  width_ = ceil(log2(range_ / base_));
145  }
constexpr int32_t ceil(float num)
Class to process and provide run-time constants used by Track Trigger emulators.
Definition: Setup.h:44
Abs< T >::type abs(const T &t)
Definition: Abs.h:22
DataFormatKF(const VariableKF &v, bool twos)

◆ FormatKF() [44/73]

template<>
trackerTFP::FormatKF< VariableKF::m0 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [45/73]

template<>
trackerTFP::FormatKF< VariableKF::m1 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [46/73]

template<>
trackerTFP::FormatKF< VariableKF::v0 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

Definition at line 166 of file KalmanFilterFormats.cc.

References trackerTFP::DataFormatKF::base_, trackerTFP::FormatKF< v >::calcRange(), trackerTFP::DataFormats::format(), edm::ParameterSet::getParameter(), trackerTFP::kf, trackerTFP::phiT, funct::pow(), trackerTFP::DataFormats::setup(), trackerTFP::DataFormatKF::width_, tt::Setup::widthDSPbu(), and trackerTFP::x1.

167  : DataFormatKF(VariableKF::v0, false) {
168  const DataFormat& x1 = dataFormats->format(Variable::phiT, Process::kf);
169  const int baseShift = iConfig.getParameter<int>("BaseShiftv0");
170  base_ = pow(2., baseShift) * x1.base() * x1.base();
171  width_ = dataFormats->setup()->widthDSPbu();
172  calcRange();
173  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
DataFormatKF(const VariableKF &v, bool twos)
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ FormatKF() [47/73]

template<>
trackerTFP::FormatKF< VariableKF::v1 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

Definition at line 176 of file KalmanFilterFormats.cc.

References trackerTFP::DataFormatKF::base_, trackerTFP::FormatKF< v >::calcRange(), trackerTFP::DataFormats::format(), edm::ParameterSet::getParameter(), trackerTFP::kf, funct::pow(), trackerTFP::DataFormats::setup(), trackerTFP::v1, trackerTFP::DataFormatKF::width_, tt::Setup::widthDSPbu(), trackerTFP::x3, and trackerTFP::zT.

177  : DataFormatKF(VariableKF::v1, true) {
178  const DataFormat& x3 = dataFormats->format(Variable::zT, Process::kf);
179  const int baseShift = iConfig.getParameter<int>("BaseShiftv1");
180  base_ = pow(2., baseShift) * x3.base() * x3.base();
181  width_ = dataFormats->setup()->widthDSPbu();
182  calcRange();
183  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
DataFormatKF(const VariableKF &v, bool twos)
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ FormatKF() [48/73]

template<>
trackerTFP::FormatKF< VariableKF::r0 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [49/73]

template<>
trackerTFP::FormatKF< VariableKF::r1 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

Definition at line 196 of file KalmanFilterFormats.cc.

References trackerTFP::DataFormatKF::base_, trackerTFP::FormatKF< v >::calcRange(), trackerTFP::DataFormats::format(), edm::ParameterSet::getParameter(), trackerTFP::kf, funct::pow(), trackerTFP::DataFormats::setup(), trackerTFP::DataFormatKF::width_, tt::Setup::widthDSPbb(), trackerTFP::x3, and trackerTFP::zT.

197  : DataFormatKF(VariableKF::r1, true) {
198  const DataFormat& x3 = dataFormats->format(Variable::zT, Process::kf);
199  const int baseShift = iConfig.getParameter<int>("BaseShiftr1");
200  base_ = pow(2., baseShift) * x3.base();
201  width_ = dataFormats->setup()->widthDSPbb();
202  calcRange();
203  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
DataFormatKF(const VariableKF &v, bool twos)
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ FormatKF() [50/73]

template<>
trackerTFP::FormatKF< VariableKF::S00 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

Definition at line 206 of file KalmanFilterFormats.cc.

References trackerTFP::DataFormatKF::base_, trackerTFP::FormatKF< v >::calcRange(), trackerTFP::DataFormats::format(), edm::ParameterSet::getParameter(), trackerTFP::inv2R, trackerTFP::kf, trackerTFP::phiT, funct::pow(), trackerTFP::S00, trackerTFP::DataFormats::setup(), trackerTFP::DataFormatKF::width_, tt::Setup::widthDSPbb(), trackerTFP::x0, and trackerTFP::x1.

207  : DataFormatKF(VariableKF::S00, true) {
208  const DataFormat& x0 = dataFormats->format(Variable::inv2R, Process::kf);
209  const DataFormat& x1 = dataFormats->format(Variable::phiT, Process::kf);
210  const int baseShift = iConfig.getParameter<int>("BaseShiftS00");
211  base_ = pow(2., baseShift) * x0.base() * x1.base();
212  width_ = dataFormats->setup()->widthDSPbb();
213  calcRange();
214  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
DataFormatKF(const VariableKF &v, bool twos)
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ FormatKF() [51/73]

template<>
trackerTFP::FormatKF< VariableKF::S01 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [52/73]

template<>
trackerTFP::FormatKF< VariableKF::S12 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

Definition at line 227 of file KalmanFilterFormats.cc.

References trackerTFP::DataFormatKF::base_, trackerTFP::FormatKF< v >::calcRange(), trackerTFP::cot, trackerTFP::DataFormats::format(), edm::ParameterSet::getParameter(), trackerTFP::kf, funct::pow(), trackerTFP::S12, trackerTFP::DataFormats::setup(), trackerTFP::DataFormatKF::width_, tt::Setup::widthDSPbb(), trackerTFP::x2, trackerTFP::x3, and trackerTFP::zT.

228  : DataFormatKF(VariableKF::S12, true) {
229  const DataFormat& x2 = dataFormats->format(Variable::cot, Process::kf);
230  const DataFormat& x3 = dataFormats->format(Variable::zT, Process::kf);
231  const int baseShift = iConfig.getParameter<int>("BaseShiftS12");
232  base_ = pow(2., baseShift) * x2.base() * x3.base();
233  width_ = dataFormats->setup()->widthDSPbb();
234  calcRange();
235  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
DataFormatKF(const VariableKF &v, bool twos)
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ FormatKF() [53/73]

template<>
trackerTFP::FormatKF< VariableKF::S13 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

Definition at line 238 of file KalmanFilterFormats.cc.

References trackerTFP::DataFormatKF::base_, trackerTFP::FormatKF< v >::calcRange(), trackerTFP::DataFormats::format(), edm::ParameterSet::getParameter(), trackerTFP::kf, funct::pow(), trackerTFP::S13, trackerTFP::DataFormats::setup(), trackerTFP::DataFormatKF::width_, tt::Setup::widthDSPbb(), trackerTFP::x3, and trackerTFP::zT.

239  : DataFormatKF(VariableKF::S13, true) {
240  const DataFormat& x3 = dataFormats->format(Variable::zT, Process::kf);
241  const int baseShift = iConfig.getParameter<int>("BaseShiftS13");
242  base_ = pow(2., baseShift) * x3.base() * x3.base();
243  width_ = dataFormats->setup()->widthDSPbb();
244  calcRange();
245  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
DataFormatKF(const VariableKF &v, bool twos)
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ FormatKF() [54/73]

template<>
trackerTFP::FormatKF< VariableKF::K00 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

Definition at line 248 of file KalmanFilterFormats.cc.

References trackerTFP::DataFormatKF::base_, trackerTFP::FormatKF< v >::calcRange(), trackerTFP::DataFormats::format(), edm::ParameterSet::getParameter(), trackerTFP::inv2R, trackerTFP::K00, trackerTFP::kf, trackerTFP::phiT, funct::pow(), trackerTFP::DataFormats::setup(), trackerTFP::DataFormatKF::width_, tt::Setup::widthDSPab(), trackerTFP::x0, and trackerTFP::x1.

249  : DataFormatKF(VariableKF::K00, true) {
250  const DataFormat& x0 = dataFormats->format(Variable::inv2R, Process::kf);
251  const DataFormat& x1 = dataFormats->format(Variable::phiT, Process::kf);
252  const int baseShift = iConfig.getParameter<int>("BaseShiftK00");
253  base_ = pow(2., baseShift) * x0.base() / x1.base();
254  width_ = dataFormats->setup()->widthDSPab();
255  calcRange();
256  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
DataFormatKF(const VariableKF &v, bool twos)
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ FormatKF() [55/73]

template<>
trackerTFP::FormatKF< VariableKF::K10 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

Definition at line 259 of file KalmanFilterFormats.cc.

References trackerTFP::DataFormatKF::base_, trackerTFP::FormatKF< v >::calcRange(), edm::ParameterSet::getParameter(), trackerTFP::K10, funct::pow(), trackerTFP::DataFormats::setup(), trackerTFP::DataFormatKF::width_, and tt::Setup::widthDSPab().

260  : DataFormatKF(VariableKF::K10, true) {
261  const int baseShift = iConfig.getParameter<int>("BaseShiftK10");
262  base_ = pow(2., baseShift);
263  width_ = dataFormats->setup()->widthDSPab();
264  calcRange();
265  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
DataFormatKF(const VariableKF &v, bool twos)
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ FormatKF() [56/73]

template<>
trackerTFP::FormatKF< VariableKF::K21 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

Definition at line 268 of file KalmanFilterFormats.cc.

References trackerTFP::DataFormatKF::base_, trackerTFP::FormatKF< v >::calcRange(), trackerTFP::cot, trackerTFP::DataFormats::format(), edm::ParameterSet::getParameter(), trackerTFP::K21, trackerTFP::kf, funct::pow(), trackerTFP::DataFormats::setup(), trackerTFP::DataFormatKF::width_, tt::Setup::widthDSPab(), trackerTFP::x2, trackerTFP::x3, and trackerTFP::zT.

269  : DataFormatKF(VariableKF::K21, true) {
270  const DataFormat& x2 = dataFormats->format(Variable::cot, Process::kf);
271  const DataFormat& x3 = dataFormats->format(Variable::zT, Process::kf);
272  const int baseShift = iConfig.getParameter<int>("BaseShiftK21");
273  base_ = pow(2., baseShift) * x2.base() / x3.base();
274  width_ = dataFormats->setup()->widthDSPab();
275  calcRange();
276  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
DataFormatKF(const VariableKF &v, bool twos)
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ FormatKF() [57/73]

template<>
trackerTFP::FormatKF< VariableKF::K31 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

Definition at line 279 of file KalmanFilterFormats.cc.

References trackerTFP::DataFormatKF::base_, trackerTFP::FormatKF< v >::calcRange(), edm::ParameterSet::getParameter(), trackerTFP::K31, funct::pow(), trackerTFP::DataFormats::setup(), trackerTFP::DataFormatKF::width_, and tt::Setup::widthDSPab().

280  : DataFormatKF(VariableKF::K31, true) {
281  const int baseShift = iConfig.getParameter<int>("BaseShiftK31");
282  base_ = pow(2., baseShift);
283  width_ = dataFormats->setup()->widthDSPab();
284  calcRange();
285  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
DataFormatKF(const VariableKF &v, bool twos)
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ FormatKF() [58/73]

template<>
trackerTFP::FormatKF< VariableKF::R00 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

Definition at line 288 of file KalmanFilterFormats.cc.

References trackerTFP::DataFormatKF::base_, trackerTFP::FormatKF< v >::calcRange(), trackerTFP::DataFormats::format(), edm::ParameterSet::getParameter(), trackerTFP::kf, trackerTFP::phiT, funct::pow(), trackerTFP::R00, trackerTFP::DataFormats::setup(), trackerTFP::DataFormatKF::width_, tt::Setup::widthDSPbu(), and trackerTFP::x1.

289  : DataFormatKF(VariableKF::R00, false) {
290  const DataFormat& x1 = dataFormats->format(Variable::phiT, Process::kf);
291  const int baseShift = iConfig.getParameter<int>("BaseShiftR00");
292  base_ = pow(2., baseShift) * x1.base() * x1.base();
293  width_ = dataFormats->setup()->widthDSPbu();
294  calcRange();
295  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
DataFormatKF(const VariableKF &v, bool twos)
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ FormatKF() [59/73]

template<>
trackerTFP::FormatKF< VariableKF::R11 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

Definition at line 298 of file KalmanFilterFormats.cc.

References trackerTFP::DataFormatKF::base_, trackerTFP::FormatKF< v >::calcRange(), trackerTFP::DataFormats::format(), edm::ParameterSet::getParameter(), trackerTFP::kf, funct::pow(), R11, trackerTFP::DataFormats::setup(), trackerTFP::DataFormatKF::width_, tt::Setup::widthDSPbu(), trackerTFP::x3, and trackerTFP::zT.

299  : DataFormatKF(VariableKF::R11, false) {
300  const DataFormat& x3 = dataFormats->format(Variable::zT, Process::kf);
301  const int baseShift = iConfig.getParameter<int>("BaseShiftR11");
302  base_ = pow(2., baseShift) * x3.base() * x3.base();
303  width_ = dataFormats->setup()->widthDSPbu();
304  calcRange();
305  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
DataFormatKF(const VariableKF &v, bool twos)
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ FormatKF() [60/73]

template<>
trackerTFP::FormatKF< VariableKF::R00Rough >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

Definition at line 308 of file KalmanFilterFormats.cc.

References trackerTFP::DataFormatKF::base_, funct::pow(), trackerTFP::R00, trackerTFP::R00Rough, trackerTFP::DataFormatKF::range_, trackerTFP::DataFormats::setup(), trackerTFP::DataFormatKF::width_, and tt::Setup::widthAddrBRAM18().

310  const FormatKF<VariableKF::R00> R00(dataFormats, iConfig);
311  width_ = dataFormats->setup()->widthAddrBRAM18();
312  range_ = R00.range();
313  const int baseShift = R00.width() - width_;
314  base_ = pow(2., baseShift) * R00.base();
315  }
DataFormatKF(const VariableKF &v, bool twos)
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ FormatKF() [61/73]

template<>
trackerTFP::FormatKF< VariableKF::R11Rough >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

Definition at line 318 of file KalmanFilterFormats.cc.

References trackerTFP::DataFormatKF::base_, funct::pow(), trackerTFP::R11, trackerTFP::R11Rough, trackerTFP::DataFormatKF::range_, trackerTFP::DataFormats::setup(), trackerTFP::DataFormatKF::width_, and tt::Setup::widthAddrBRAM18().

320  const FormatKF<VariableKF::R11> R11(dataFormats, iConfig);
321  width_ = dataFormats->setup()->widthAddrBRAM18();
322  range_ = R11.range();
323  const int baseShift = R11.width() - width_;
324  base_ = pow(2., baseShift) * R11.base();
325  }
DataFormatKF(const VariableKF &v, bool twos)
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ FormatKF() [62/73]

template<>
trackerTFP::FormatKF< VariableKF::invR00Approx >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [63/73]

template<>
trackerTFP::FormatKF< VariableKF::invR11Approx >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [64/73]

template<>
trackerTFP::FormatKF< VariableKF::invR00Cor >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

Definition at line 348 of file KalmanFilterFormats.cc.

References trackerTFP::DataFormatKF::base_, trackerTFP::FormatKF< v >::calcRange(), edm::ParameterSet::getParameter(), trackerTFP::invR00Cor, funct::pow(), trackerTFP::DataFormats::setup(), trackerTFP::DataFormatKF::width_, and tt::Setup::widthDSPbu().

350  const int baseShift = iConfig.getParameter<int>("BaseShiftInvR00Cor");
351  base_ = pow(2., baseShift);
352  width_ = dataFormats->setup()->widthDSPbu();
353  calcRange();
354  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
DataFormatKF(const VariableKF &v, bool twos)
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ FormatKF() [65/73]

template<>
trackerTFP::FormatKF< VariableKF::invR11Cor >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

Definition at line 357 of file KalmanFilterFormats.cc.

References trackerTFP::DataFormatKF::base_, trackerTFP::FormatKF< v >::calcRange(), edm::ParameterSet::getParameter(), trackerTFP::invR11Cor, funct::pow(), trackerTFP::DataFormats::setup(), trackerTFP::DataFormatKF::width_, and tt::Setup::widthDSPbu().

359  const int baseShift = iConfig.getParameter<int>("BaseShiftInvR11Cor");
360  base_ = pow(2., baseShift);
361  width_ = dataFormats->setup()->widthDSPbu();
362  calcRange();
363  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
DataFormatKF(const VariableKF &v, bool twos)
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ FormatKF() [66/73]

template<>
trackerTFP::FormatKF< VariableKF::invR00 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [67/73]

template<>
trackerTFP::FormatKF< VariableKF::invR11 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

Definition at line 376 of file KalmanFilterFormats.cc.

References trackerTFP::DataFormatKF::base_, trackerTFP::FormatKF< v >::calcRange(), trackerTFP::DataFormats::format(), edm::ParameterSet::getParameter(), trackerTFP::invR11, trackerTFP::kf, funct::pow(), trackerTFP::DataFormats::setup(), trackerTFP::DataFormatKF::width_, tt::Setup::widthDSPau(), trackerTFP::x3, and trackerTFP::zT.

377  : DataFormatKF(VariableKF::invR11, false) {
378  const DataFormat& x3 = dataFormats->format(Variable::zT, Process::kf);
379  const int baseShift = iConfig.getParameter<int>("BaseShiftInvR11");
380  base_ = pow(2., baseShift) / x3.base() / x3.base();
381  width_ = dataFormats->setup()->widthDSPau();
382  calcRange();
383  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
DataFormatKF(const VariableKF &v, bool twos)
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ FormatKF() [68/73]

template<>
trackerTFP::FormatKF< VariableKF::C00 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

◆ FormatKF() [69/73]

template<>
trackerTFP::FormatKF< VariableKF::C01 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

Definition at line 396 of file KalmanFilterFormats.cc.

References trackerTFP::DataFormatKF::base_, trackerTFP::C01, trackerTFP::FormatKF< v >::calcRange(), trackerTFP::DataFormats::format(), edm::ParameterSet::getParameter(), trackerTFP::inv2R, trackerTFP::kf, trackerTFP::phiT, funct::pow(), trackerTFP::DataFormats::setup(), trackerTFP::DataFormatKF::width_, tt::Setup::widthDSPbb(), trackerTFP::x0, and trackerTFP::x1.

397  : DataFormatKF(VariableKF::C01, true) {
398  const DataFormat& x0 = dataFormats->format(Variable::inv2R, Process::kf);
399  const DataFormat& x1 = dataFormats->format(Variable::phiT, Process::kf);
400  const int baseShift = iConfig.getParameter<int>("BaseShiftC01");
401  base_ = pow(2., baseShift) * x0.base() * x1.base();
402  width_ = dataFormats->setup()->widthDSPbb();
403  calcRange();
404  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
DataFormatKF(const VariableKF &v, bool twos)
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ FormatKF() [70/73]

template<>
trackerTFP::FormatKF< VariableKF::C11 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

Definition at line 407 of file KalmanFilterFormats.cc.

References trackerTFP::DataFormatKF::base_, trackerTFP::C11, trackerTFP::FormatKF< v >::calcRange(), trackerTFP::DataFormats::format(), edm::ParameterSet::getParameter(), trackerTFP::kf, trackerTFP::phiT, funct::pow(), trackerTFP::DataFormats::setup(), trackerTFP::DataFormatKF::width_, tt::Setup::widthDSPbu(), and trackerTFP::x1.

408  : DataFormatKF(VariableKF::C11, false) {
409  const DataFormat& x1 = dataFormats->format(Variable::phiT, Process::kf);
410  const int baseShift = iConfig.getParameter<int>("BaseShiftC11");
411  base_ = pow(2., baseShift) * x1.base() * x1.base();
412  width_ = dataFormats->setup()->widthDSPbu();
413  calcRange();
414  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
DataFormatKF(const VariableKF &v, bool twos)
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ FormatKF() [71/73]

template<>
trackerTFP::FormatKF< VariableKF::C22 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

Definition at line 417 of file KalmanFilterFormats.cc.

References trackerTFP::DataFormatKF::base_, trackerTFP::C22, trackerTFP::FormatKF< v >::calcRange(), trackerTFP::cot, trackerTFP::DataFormats::format(), edm::ParameterSet::getParameter(), trackerTFP::kf, funct::pow(), trackerTFP::DataFormats::setup(), trackerTFP::DataFormatKF::width_, tt::Setup::widthDSPbu(), and trackerTFP::x2.

418  : DataFormatKF(VariableKF::C22, false) {
419  const DataFormat& x2 = dataFormats->format(Variable::cot, Process::kf);
420  const int baseShift = iConfig.getParameter<int>("BaseShiftC22");
421  base_ = pow(2., baseShift) * x2.base() * x2.base();
422  width_ = dataFormats->setup()->widthDSPbu();
423  calcRange();
424  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
DataFormatKF(const VariableKF &v, bool twos)
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ FormatKF() [72/73]

template<>
trackerTFP::FormatKF< VariableKF::C23 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

Definition at line 427 of file KalmanFilterFormats.cc.

References trackerTFP::DataFormatKF::base_, trackerTFP::C23, trackerTFP::FormatKF< v >::calcRange(), trackerTFP::cot, trackerTFP::DataFormats::format(), edm::ParameterSet::getParameter(), trackerTFP::kf, funct::pow(), trackerTFP::DataFormats::setup(), trackerTFP::DataFormatKF::width_, tt::Setup::widthDSPbb(), trackerTFP::x2, trackerTFP::x3, and trackerTFP::zT.

428  : DataFormatKF(VariableKF::C23, true) {
429  const DataFormat& x2 = dataFormats->format(Variable::cot, Process::kf);
430  const DataFormat& x3 = dataFormats->format(Variable::zT, Process::kf);
431  const int baseShift = iConfig.getParameter<int>("BaseShiftC23");
432  base_ = pow(2., baseShift) * x2.base() * x3.base();
433  width_ = dataFormats->setup()->widthDSPbb();
434  calcRange();
435  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
DataFormatKF(const VariableKF &v, bool twos)
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

◆ FormatKF() [73/73]

template<>
trackerTFP::FormatKF< VariableKF::C33 >::FormatKF ( const DataFormats dataFormats,
const edm::ParameterSet iConfig 
)

Definition at line 438 of file KalmanFilterFormats.cc.

References trackerTFP::DataFormatKF::base_, trackerTFP::C33, trackerTFP::FormatKF< v >::calcRange(), trackerTFP::DataFormats::format(), edm::ParameterSet::getParameter(), trackerTFP::kf, funct::pow(), trackerTFP::DataFormats::setup(), trackerTFP::DataFormatKF::width_, tt::Setup::widthDSPbu(), trackerTFP::x3, and trackerTFP::zT.

439  : DataFormatKF(VariableKF::C33, false) {
440  const DataFormat& x3 = dataFormats->format(Variable::zT, Process::kf);
441  const int baseShift = iConfig.getParameter<int>("BaseShiftC33");
442  base_ = pow(2., baseShift) * x3.base() * x3.base();
443  width_ = dataFormats->setup()->widthDSPbu();
444  calcRange();
445  }
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
DataFormatKF(const VariableKF &v, bool twos)
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:29

Member Function Documentation

◆ calcRange()

template<VariableKF v>
void trackerTFP::FormatKF< v >::calcRange ( )
inlineprivate