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, conifer::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:307
constexpr int pow(int x)
Definition: conifer.h:24
static std::string const input
Definition: EdmProvDump.cc:50
DataFormatKF(const VariableKF &v, bool twos)

◆ 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, conifer::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:307
constexpr int pow(int x)
Definition: conifer.h:24
static std::string const input
Definition: EdmProvDump.cc:50
DataFormatKF(const VariableKF &v, bool twos)

◆ 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, conifer::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:307
constexpr int pow(int x)
Definition: conifer.h:24
static std::string const input
Definition: EdmProvDump.cc:50
DataFormatKF(const VariableKF &v, bool twos)

◆ 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, conifer::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:307
constexpr int pow(int x)
Definition: conifer.h:24
static std::string const input
Definition: EdmProvDump.cc:50
DataFormatKF(const VariableKF &v, bool twos)

◆ 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 
)

◆ FormatKF() [47/73]

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

◆ 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 
)

◆ 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, conifer::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:307
constexpr int pow(int x)
Definition: conifer.h:24
DataFormatKF(const VariableKF &v, bool twos)

◆ 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, conifer::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:307
constexpr int pow(int x)
Definition: conifer.h:24
DataFormatKF(const VariableKF &v, bool twos)

◆ FormatKF() [53/73]

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

◆ 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, conifer::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:307
constexpr int pow(int x)
Definition: conifer.h:24
DataFormatKF(const VariableKF &v, bool twos)

◆ 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, conifer::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:307
constexpr int pow(int x)
Definition: conifer.h:24
DataFormatKF(const VariableKF &v, bool twos)

◆ 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, conifer::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:307
constexpr int pow(int x)
Definition: conifer.h:24
DataFormatKF(const VariableKF &v, bool twos)

◆ 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, conifer::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:307
constexpr int pow(int x)
Definition: conifer.h:24
DataFormatKF(const VariableKF &v, bool twos)

◆ FormatKF() [58/73]

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

◆ FormatKF() [59/73]

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

◆ 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_, conifer::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  }
constexpr int pow(int x)
Definition: conifer.h:24
DataFormatKF(const VariableKF &v, bool twos)

◆ 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_, conifer::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  }
constexpr int pow(int x)
Definition: conifer.h:24
DataFormatKF(const VariableKF &v, bool twos)

◆ 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, conifer::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:307
constexpr int pow(int x)
Definition: conifer.h:24
DataFormatKF(const VariableKF &v, bool twos)

◆ 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, conifer::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:307
constexpr int pow(int x)
Definition: conifer.h:24
DataFormatKF(const VariableKF &v, bool twos)

◆ 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 
)

◆ 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, conifer::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:307
constexpr int pow(int x)
Definition: conifer.h:24
DataFormatKF(const VariableKF &v, bool twos)

◆ FormatKF() [70/73]

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

◆ FormatKF() [71/73]

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

◆ 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, conifer::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:307
constexpr int pow(int x)
Definition: conifer.h:24
DataFormatKF(const VariableKF &v, bool twos)

◆ FormatKF() [73/73]

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

Member Function Documentation

◆ calcRange()

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