1 #ifndef MuNtuple_MuNtupleUtils_h 2 #define MuNtuple_MuNtupleUtils_h 54 <<
" collection does not exist !!!";
65 template <
class T,
class R, edm::Transition TR = edm::Transition::Event>
108 for (
int i_st = 0; i_st != 4; ++i_st) {
static constexpr double PH1_PHI_R
static constexpr double PH2_PHI_R
ESTokenHandle(edm::ConsumesCollector &&collector, const std::string &label="")
Constructor.
DTTrigGeomUtils(edm::ConsumesCollector &&collector, bool dirInDeg=true)
Constructor.
auto conditionalGet(const edm::Event &ev) const
LocalPoint toLocal(const GlobalPoint &gp) const
std::array< double, 4 > m_zsl3
const DTSuperLayer * superLayer(const DTSuperLayerId &id) const
Return the superlayer corresponding to the given id.
std::array< double, 4 > m_zcn
void getFromES(const edm::Run &run, const edm::EventSetup &environment)
Update EventSetup information.
EDTokenHandle(const edm::ParameterSet &config, edm::ConsumesCollector &&collector, std::string name)
Constructor.
edm::ESGetToken< T, R > m_token
edm::ESHandle< T > m_handle
bool hasPosRF(int wh, int sec)
Checks id the chamber has positive RF;.
T const * operator->()
Return handle.
const Plane & surface() const
The nominal surface of the GeomDet.
bool isValid()
Check validity.
static constexpr double PH1_PHIB_R
void getFromES(const edm::EventSetup &environment)
Get Handle from ES.
const Surface::PositionType & position() const
The position (origin of the R.F.)
std::array< double, 4 > m_zsl1
ESTokenHandle< DTGeometry, MuonGeometryRecord, edm::Transition::BeginRun > m_dtGeom
static constexpr double PH2_PHIB_R
edm::EDGetTokenT< T > m_token
const DTChamber * chamber(const DTChamberId &id) const
Return a DTChamber given its id.
chambCoord trigToReco(const L1MuDTChambPhDigi *trig)
Return local position and direction in chamber RF - legacy.