#include <MuNtupleUtils.h>
Classes | |
struct | chambCoord |
Public Member Functions | |
DTTrigGeomUtils (edm::ConsumesCollector &&collector, bool dirInDeg=true) | |
Constructor. More... | |
void | getFromES (const edm::Run &run, const edm::EventSetup &environment) |
Update EventSetup information. More... | |
bool | hasPosRF (int wh, int sec) |
Checks id the chamber has positive RF;. More... | |
chambCoord | trigToReco (const L1MuDTChambPhDigi *trig) |
Return local position and direction in chamber RF - legacy. More... | |
chambCoord | trigToReco (const L1Phase2MuDTPhDigi *trig) |
Return local position and direction in chamber RF - analytical method. More... | |
Private Attributes | |
ESTokenHandle< DTGeometry, MuonGeometryRecord, edm::Transition::BeginRun > | m_dtGeom |
std::array< double, 4 > | m_zcn |
std::array< double, 4 > | m_zsl1 |
std::array< double, 4 > | m_zsl3 |
Static Private Attributes | |
static constexpr double | PH1_PHI_R = 4096. |
static constexpr double | PH1_PHIB_R = 512. |
static constexpr double | PH2_PHI_R = 65536. / 0.8 |
static constexpr double | PH2_PHIB_R = 2048. / 1.4 |
Definition at line 86 of file MuNtupleUtils.h.
DTTrigGeomUtils::DTTrigGeomUtils | ( | edm::ConsumesCollector && | collector, |
bool | dirInDeg = true |
||
) |
Constructor.
Definition at line 19 of file MuNtupleUtils.cc.
References eostools::move().
|
inline |
Update EventSetup information.
Definition at line 106 of file MuNtupleUtils.h.
References DTGeometry::chamber(), reco_calib_source_client_cfg::environment, nano_mu::ESTokenHandle< T, R, TR >::getFromES(), m_dtGeom, m_zcn, m_zsl1, m_zsl3, GeomDet::position(), DTChamber::superLayer(), GeomDet::surface(), and GloballyPositioned< T >::toLocal().
Referenced by MuDTTPGPhiFlatTableProducer::getFromES().
|
inline |
Checks id the chamber has positive RF;.
Definition at line 103 of file MuNtupleUtils.h.
References fileinputsource_cfi::sec.
nano_mu::DTTrigGeomUtils::chambCoord DTTrigGeomUtils::trigToReco | ( | const L1MuDTChambPhDigi * | trig | ) |
Return local position and direction in chamber RF - legacy.
Definition at line 22 of file MuNtupleUtils.cc.
References funct::cos(), HLT_2024v13_cff::delta_phi, DeadROC_duringRun::dir, Geom::pi(), fileinputsource_cfi::sec, funct::sin(), funct::tan(), ClusterTask_cfi::trig, and x.
Referenced by MuDTTPGPhiFlatTableProducer::fillTable().
nano_mu::DTTrigGeomUtils::chambCoord DTTrigGeomUtils::trigToReco | ( | const L1Phase2MuDTPhDigi * | trig | ) |
Return local position and direction in chamber RF - analytical method.
Definition at line 57 of file MuNtupleUtils.cc.
References funct::cos(), HLT_2024v13_cff::delta_phi, DeadROC_duringRun::dir, Geom::pi(), quality, fileinputsource_cfi::sec, funct::sin(), funct::tan(), ClusterTask_cfi::trig, and x.
|
private |
Definition at line 117 of file MuNtupleUtils.h.
Referenced by getFromES().
|
private |
Definition at line 122 of file MuNtupleUtils.h.
Referenced by getFromES().
|
private |
Definition at line 123 of file MuNtupleUtils.h.
Referenced by getFromES().
|
private |
Definition at line 124 of file MuNtupleUtils.h.
Referenced by getFromES().
|
staticprivate |
Definition at line 126 of file MuNtupleUtils.h.
|
staticprivate |
Definition at line 127 of file MuNtupleUtils.h.
|
staticprivate |
Definition at line 129 of file MuNtupleUtils.h.
|
staticprivate |
Definition at line 130 of file MuNtupleUtils.h.