20 : m_dtGeom{
std::move(collector),
"idealForDigi"} {}
23 auto wh{
trig->whNum()};
25 auto st{
trig->stNum()};
26 auto phi{
trig->phi()};
27 auto phib{
trig->phiB()};
29 auto recoChamb = [&]() {
33 int reco_sec{(
sec == 4 && phi > 0) ? 13 : (
sec == 10 && phi > 0) ? 14 :
sec};
37 auto gpos{m_dtGeom->chamber(recoChamb())->position()};
45 float dir = (phib / PH1_PHIB_R + phi / PH1_PHI_R);
48 if (hasPosRF(wh,
sec)) {
58 auto wh{
trig->whNum()};
60 auto st{
trig->stNum()};
61 auto phi{
trig->phi()};
62 auto phib{
trig->phiBend()};
64 auto sl{
trig->slNum()};
66 auto recoChamb = [&]() {
70 int reco_sec{(
sec == 4 && phi > 0) ? 13 : (
sec == 10 && phi > 0) ? 14 :
sec};
74 auto gpos{m_dtGeom->chamber(recoChamb())->position()};
91 float dir = (phib / PH2_PHIB_R + phi / PH2_PHI_R);
94 if (hasPosRF(wh,
sec)) {
Sin< T >::type sin(const T &t)
DTTrigGeomUtils(edm::ConsumesCollector &&collector, bool dirInDeg=true)
Constructor.
Cos< T >::type cos(const T &t)
Tan< T >::type tan(const T &t)
chambCoord trigToReco(const L1MuDTChambPhDigi *trig)
Return local position and direction in chamber RF - legacy.