CMS 3D CMS Logo

List of all members | Public Member Functions | Private Types | Private Member Functions | Private Attributes
L1MetPfProducer Class Reference
Inheritance diagram for L1MetPfProducer:
edm::global::EDProducer<> edm::global::EDProducerBase edm::ProducerBase edm::EDConsumerBase edm::ProductRegistryHelper

Public Member Functions

 L1MetPfProducer (const edm::ParameterSet &)
 
 ~L1MetPfProducer () override
 
- Public Member Functions inherited from edm::global::EDProducer<>
 EDProducer ()=default
 
 EDProducer (const EDProducer &)=delete
 
bool hasAbilityToProduceInBeginLumis () const final
 
bool hasAbilityToProduceInBeginProcessBlocks () const final
 
bool hasAbilityToProduceInBeginRuns () const final
 
bool hasAbilityToProduceInEndLumis () const final
 
bool hasAbilityToProduceInEndProcessBlocks () const final
 
bool hasAbilityToProduceInEndRuns () const final
 
EDProduceroperator= (const EDProducer &)=delete
 
bool wantsGlobalLuminosityBlocks () const final
 
bool wantsGlobalRuns () const final
 
bool wantsInputProcessBlocks () const final
 
bool wantsProcessBlocks () const final
 
bool wantsStreamLuminosityBlocks () const final
 
bool wantsStreamRuns () const final
 
- Public Member Functions inherited from edm::global::EDProducerBase
 EDProducerBase ()
 
ModuleDescription const & moduleDescription () const
 
 ~EDProducerBase () override
 
- Public Member Functions inherited from edm::ProducerBase
void callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func)
 
std::vector< edm::ProductResolverIndex > const & indiciesForPutProducts (BranchType iBranchType) const
 
 ProducerBase ()
 
std::vector< edm::ProductResolverIndex > const & putTokenIndexToProductResolverIndex () const
 
std::vector< bool > const & recordProvenanceList () const
 
void registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &)
 
std::function< void(BranchDescription const &)> registrationCallback () const
 used by the fwk to register list of products More...
 
void resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel)
 
TypeLabelList const & typeLabelList () const
 used by the fwk to register the list of products of this module More...
 
 ~ProducerBase () noexcept(false) override
 
- Public Member Functions inherited from edm::EDConsumerBase
std::vector< ConsumesInfoconsumesInfo () const
 
void convertCurrentProcessAlias (std::string const &processName)
 Convert "@currentProcess" in InputTag process names to the actual current process name. More...
 
 EDConsumerBase ()
 
 EDConsumerBase (EDConsumerBase const &)=delete
 
 EDConsumerBase (EDConsumerBase &&)=default
 
ESProxyIndex const * esGetTokenIndices (edm::Transition iTrans) const
 
std::vector< ESProxyIndex > const & esGetTokenIndicesVector (edm::Transition iTrans) const
 
std::vector< ESRecordIndex > const & esGetTokenRecordIndicesVector (edm::Transition iTrans) const
 
ProductResolverIndexAndSkipBit indexFrom (EDGetToken, BranchType, TypeID const &) const
 
void itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
void itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const
 
std::vector< ProductResolverIndexAndSkipBit > const & itemsToGetFrom (BranchType iType) const
 
void labelsForToken (EDGetToken iToken, Labels &oLabels) const
 
void modulesWhoseProductsAreConsumed (std::array< std::vector< ModuleDescription const *> *, NumBranchTypes > &modulesAll, std::vector< ModuleProcessName > &modulesInPreviousProcesses, ProductRegistry const &preg, std::map< std::string, ModuleDescription const *> const &labelsToDesc, std::string const &processName) const
 
EDConsumerBase const & operator= (EDConsumerBase const &)=delete
 
EDConsumerBaseoperator= (EDConsumerBase &&)=default
 
bool registeredToConsume (ProductResolverIndex, bool, BranchType) const
 
bool registeredToConsumeMany (TypeID const &, BranchType) const
 
void selectInputProcessBlocks (ProductRegistry const &productRegistry, ProcessBlockHelperBase const &processBlockHelperBase)
 
ProductResolverIndexAndSkipBit uncheckedIndexFrom (EDGetToken) const
 
void updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet)
 
void updateLookup (eventsetup::ESRecordsToProxyIndices const &)
 
virtual ~EDConsumerBase () noexcept(false)
 

Private Types

typedef ap_ufixed< pt_t::width, 0 > inv_t
 
typedef ap_int< 12 > phi_t
 
typedef ap_fixed< 2 *pt_t::width, 2 *pt_t::iwidth, AP_RND, AP_SAT > pt2_t
 
typedef ap_ufixed< 14, 12, AP_RND, AP_WRAP > pt_t
 
typedef ap_fixed< pt_t::width+1, pt_t::iwidth+1, AP_RND, AP_SAT > pxy_t
 

Private Member Functions

void CalcMetHLS (std::vector< float > pt, std::vector< float > phi, reco::Candidate::PolarLorentzVector &metVector) const
 
void PhiFromXY (pxy_t px, pxy_t py, phi_t &phi, bool debug=false) const
 
void produce (edm::StreamID, edm::Event &iEvent, const edm::EventSetup &iSetup) const override
 
void Project (pt_t pt, phi_t phi, pxy_t &pxy, bool isX, bool debug=false) const
 

Private Attributes

edm::EDGetTokenT< vector< l1t::PFCandidate > > _l1PFToken
 
const int dropBits_ = 2
 
const int dropFactor_ = (1 << dropBits_)
 
const phi_t hwPi_ = round(M_PI / phiLSB_)
 
const phi_t hwPiOverTwo_ = round(M_PI / (2 * phiLSB_))
 
const int invTableBits_ = 10
 
const int invTableSize_ = (1 << invTableBits_)
 
int maxCands_ = 128
 
const float maxPt_ = ((1 << pt_t::width) - 1) * ptLSB_
 
const float phiLSB_ = M_PI / 720
 
const float ptLSB_ = 0.25
 

Additional Inherited Members

- Public Types inherited from edm::global::EDProducerBase
typedef EDProducerBase ModuleType
 
- Public Types inherited from edm::ProducerBase
using ModuleToResolverIndicies = std::unordered_multimap< std::string, std::tuple< edm::TypeID const *, const char *, edm::ProductResolverIndex > >
 
typedef ProductRegistryHelper::TypeLabelList TypeLabelList
 
- Public Types inherited from edm::EDConsumerBase
typedef ProductLabels Labels
 
- Static Public Member Functions inherited from edm::global::EDProducerBase
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &descriptions)
 
- Protected Member Functions inherited from edm::ProducerBase
template<Transition Tr = Transition::Event>
auto produces (std::string instanceName) noexcept
 declare what type of product will make and with which optional label More...
 
template<Transition B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<BranchType B>
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
BranchAliasSetter produces (const TypeID &id, std::string instanceName=std::string(), bool recordProvenance=true)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces ()
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , BranchType B>
BranchAliasSetterT< ProductType > produces ()
 
template<class ProductType >
BranchAliasSetterT< ProductType > produces (std::string instanceName)
 
template<typename ProductType , Transition B>
BranchAliasSetterT< ProductType > produces ()
 
template<Transition Tr = Transition::Event>
auto produces () noexcept
 
ProducesCollector producesCollector ()
 
- Protected Member Functions inherited from edm::EDConsumerBase
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > consumes (edm::InputTag const &tag)
 
template<BranchType B = InEvent>
EDConsumerBaseAdaptor< Bconsumes (edm::InputTag tag) noexcept
 
EDGetToken consumes (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken consumes (TypeToGet const &id, edm::InputTag const &tag)
 
ConsumesCollector consumesCollector ()
 Use a ConsumesCollector to gather consumes information from helper functions. More...
 
template<typename ProductType , BranchType B = InEvent>
void consumesMany ()
 
void consumesMany (const TypeToGet &id)
 
template<BranchType B>
void consumesMany (const TypeToGet &id)
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes ()
 
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event>
auto esConsumes (ESInputTag const &tag)
 
template<Transition Tr = Transition::Event>
constexpr auto esConsumes ()
 
template<Transition Tr = Transition::Event>
auto esConsumes (ESInputTag tag)
 
template<Transition Tr = Transition::Event>
ESGetTokenGeneric esConsumes (eventsetup::EventSetupRecordKey const &iRecord, eventsetup::DataKey const &iKey)
 Used with EventSetupRecord::doGet. More...
 
template<typename ProductType , BranchType B = InEvent>
EDGetTokenT< ProductType > mayConsume (edm::InputTag const &tag)
 
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
template<BranchType B>
EDGetToken mayConsume (const TypeToGet &id, edm::InputTag const &tag)
 
void resetItemsToGetFrom (BranchType iType)
 

Detailed Description

Definition at line 18 of file L1MetPfProducer.cc.

Member Typedef Documentation

◆ inv_t

typedef ap_ufixed<pt_t::width, 0> L1MetPfProducer::inv_t
private

Definition at line 43 of file L1MetPfProducer.cc.

◆ phi_t

typedef ap_int<12> L1MetPfProducer::phi_t
private

Definition at line 31 of file L1MetPfProducer.cc.

◆ pt2_t

typedef ap_fixed<2 * pt_t::width, 2 * pt_t::iwidth, AP_RND, AP_SAT> L1MetPfProducer::pt2_t
private

Definition at line 37 of file L1MetPfProducer.cc.

◆ pt_t

typedef ap_ufixed<14, 12, AP_RND, AP_WRAP> L1MetPfProducer::pt_t
private

Definition at line 30 of file L1MetPfProducer.cc.

◆ pxy_t

typedef ap_fixed<pt_t::width + 1, pt_t::iwidth + 1, AP_RND, AP_SAT> L1MetPfProducer::pxy_t
private

Definition at line 36 of file L1MetPfProducer.cc.

Constructor & Destructor Documentation

◆ L1MetPfProducer()

L1MetPfProducer::L1MetPfProducer ( const edm::ParameterSet cfg)
explicit

Definition at line 57 of file L1MetPfProducer.cc.

58  : _l1PFToken(consumes<std::vector<l1t::PFCandidate>>(cfg.getParameter<edm::InputTag>("L1PFObjects"))),
59  maxCands_(cfg.getParameter<int>("maxCands")) {
60  produces<std::vector<l1t::EtSum>>();
61 }
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
edm::EDGetTokenT< vector< l1t::PFCandidate > > _l1PFToken

◆ ~L1MetPfProducer()

L1MetPfProducer::~L1MetPfProducer ( )
override

Definition at line 228 of file L1MetPfProducer.cc.

228 {}

Member Function Documentation

◆ CalcMetHLS()

void L1MetPfProducer::CalcMetHLS ( std::vector< float >  pt,
std::vector< float >  phi,
reco::Candidate::PolarLorentzVector metVector 
) const
private

Definition at line 87 of file L1MetPfProducer.cc.

References dqmMemoryStats::float, mps_fire::i, maxPt_, SiStripPI::min, phi, PhiFromXY(), phiLSB_, Project(), DiDispStaMuonMonitor_cfi::pt, mathSSE::sqrt(), and parallelization::uint.

Referenced by produce().

89  {
90  pxy_t hw_px = 0;
91  pxy_t hw_py = 0;
92  pxy_t hw_sumx = 0;
93  pxy_t hw_sumy = 0;
94 
95  for (uint i = 0; i < pt.size(); i++) {
96  pt_t hw_pt = min(pt[i], maxPt_);
97  phi_t hw_phi = float(TVector2::Phi_mpi_pi(phi[i]) / phiLSB_);
98 
99  Project(hw_pt, hw_phi, hw_px, true);
100  Project(hw_pt, hw_phi, hw_py, false);
101 
102  hw_sumx = hw_sumx - hw_px;
103  hw_sumy = hw_sumy - hw_py;
104  }
105 
106  pt2_t hw_met = pt2_t(hw_sumx) * pt2_t(hw_sumx) + pt2_t(hw_sumy) * pt2_t(hw_sumy);
107  hw_met = sqrt(int(hw_met)); // stand-in for HLS::sqrt
108 
109  phi_t hw_met_phi = 0;
110  PhiFromXY(hw_sumx, hw_sumy, hw_met_phi);
111 
112  metVector.SetPt(hw_met.to_double());
113  metVector.SetPhi(hw_met_phi.to_double() * phiLSB_);
114  metVector.SetEta(0);
115 }
void Project(pt_t pt, phi_t phi, pxy_t &pxy, bool isX, bool debug=false) const
ap_fixed< 2 *pt_t::width, 2 *pt_t::iwidth, AP_RND, AP_SAT > pt2_t
const float maxPt_
void PhiFromXY(pxy_t px, pxy_t py, phi_t &phi, bool debug=false) const
T sqrt(T t)
Definition: SSEVec.h:19
ap_int< 12 > phi_t
const float phiLSB_
ap_ufixed< 16, 14 > pt_t
Definition: TauNNIdHW.h:27
ap_fixed< pt_t::width+1, pt_t::iwidth+1, AP_RND, AP_SAT > pxy_t

◆ PhiFromXY()

void L1MetPfProducer::PhiFromXY ( pxy_t  px,
pxy_t  py,
phi_t phi,
bool  debug = false 
) const
private

Definition at line 154 of file L1MetPfProducer.cc.

References a, b, debug, dropFactor_, dqmMemoryStats::float, hwPi_, hwPiOverTwo_, invTableSize_, M_PI, maxPt_, phi, phiLSB_, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, x, and y.

Referenced by CalcMetHLS().

154  {
155  if (px == 0 && py == 0) {
156  phi = 0;
157  return;
158  }
159  if (px == 0) {
160  phi = py > 0 ? hwPiOverTwo_ : phi_t(-hwPiOverTwo_);
161  return;
162  }
163  if (py == 0) {
164  phi = px > 0 ? phi_t(0) : phi_t(-hwPi_);
165  return;
166  }
167 
168  // get q1 coordinates
169  pt_t x = px > 0 ? pt_t(px) : pt_t(-px); //px>=0 ? px : -px;
170  pt_t y = py > 0 ? pt_t(py) : pt_t(-py); //px>=0 ? px : -px;
171  // transform so a<b
172  pt_t a = x < y ? x : y;
173  pt_t b = x < y ? y : x;
174 
175  if (b.to_double() > maxPt_ / dropFactor_)
176  b = maxPt_ / dropFactor_;
177  // map [0,max/4) to inv table size
178  int index = round((b.to_double() / (maxPt_ / dropFactor_)) * invTableSize_);
179  float bcheck = (float(index) / invTableSize_) * (maxPt_ / dropFactor_);
180  inv_t inv_b = 1. / ((float(index) / invTableSize_) * (maxPt_ / dropFactor_));
181 
182  inv_t a_over_b = a * inv_b;
183 
184  if (debug) {
185  printf(" a, b = %f, %f; index, inv = %d, %f; ratio = %f \n",
186  a.to_double(),
187  b.to_double(),
188  index,
189  inv_b.to_double(),
190  a_over_b.to_double());
191  printf(" bcheck, 1/bc = %f, %f -- %d %f %d \n", bcheck, 1. / bcheck, invTableSize_, maxPt_, dropFactor_);
192  }
193 
194  int atanTableBits_ = 7;
195  int atanTableSize_ = (1 << atanTableBits_);
196  index = round(a_over_b.to_double() * atanTableSize_);
197  phi = atan(float(index) / atanTableSize_) / phiLSB_;
198 
199  if (debug) {
200  printf(" atan index, phi = %d, %f (%f rad) real atan(a/b)= %f \n",
201  index,
202  phi.to_double(),
203  phi.to_double() * (M_PI / hwPi_.to_double()),
204  atan(a.to_double() / b.to_double()));
205  }
206 
207  // rotate from (0,pi/4) to full quad1
208  if (y > x)
209  phi = hwPiOverTwo_ - phi; //phi = pi/2 - phi
210  // other quadrants
211  if (px < 0 && py > 0)
212  phi = hwPi_ - phi; // Q2 phi = pi - phi
213  if (px > 0 && py < 0)
214  phi = -phi; // Q4 phi = -phi
215  if (px < 0 && py < 0)
216  phi = -(hwPi_ - phi); // Q3 composition of both
217 
218  if (debug) {
219  printf(" phi hw, float, real = %f, %f (%f rad from x,y = %f, %f) \n",
220  phi.to_double(),
221  phi.to_double() * (M_PI / hwPi_.to_double()),
222  atan2(py.to_double(), px.to_double()),
223  px.to_double(),
224  py.to_double());
225  }
226 }
const int dropFactor_
ap_ufixed< 14, 12, AP_RND, AP_WRAP > pt_t
const float maxPt_
const phi_t hwPi_
const phi_t hwPiOverTwo_
ap_int< 12 > phi_t
#define M_PI
ap_ufixed< pt_t::width, 0 > inv_t
#define debug
Definition: HDRShower.cc:19
double b
Definition: hdecay.h:118
double a
Definition: hdecay.h:119
const float phiLSB_
const int invTableSize_
ap_ufixed< 16, 14 > pt_t
Definition: TauNNIdHW.h:27

◆ produce()

void L1MetPfProducer::produce ( edm::StreamID  ,
edm::Event iEvent,
const edm::EventSetup iSetup 
) const
overrideprivatevirtual

Implements edm::global::EDProducerBase.

Definition at line 63 of file L1MetPfProducer.cc.

References _l1PFToken, CalcMetHLS(), mps_fire::i, iEvent, createfilelist::int, L1Analysis::kTotalHt, maxCands_, susyDQM_cfi::metCollection, eostools::move(), phi, and DiDispStaMuonMonitor_cfi::pt.

63  {
65  iEvent.getByToken(_l1PFToken, l1PFCandidates);
66 
67  std::vector<float> pt;
68  std::vector<float> phi;
69 
70  for (int i = 0; i < int(l1PFCandidates->size()) && (i < maxCands_ || maxCands_ < 0); i++) {
71  const auto& l1PFCand = l1PFCandidates->at(i);
72  pt.push_back(l1PFCand.pt());
73  phi.push_back(l1PFCand.phi());
74  }
75 
77 
78  CalcMetHLS(pt, phi, metVector);
79 
80  l1t::EtSum theMET(metVector, l1t::EtSum::EtSumType::kTotalHt, 0, 0, 0, 0);
81 
82  std::unique_ptr<std::vector<l1t::EtSum>> metCollection(new std::vector<l1t::EtSum>(0));
83  metCollection->push_back(theMET);
85 }
void CalcMetHLS(std::vector< float > pt, std::vector< float > phi, reco::Candidate::PolarLorentzVector &metVector) const
int iEvent
Definition: GenABIO.cc:224
edm::EDGetTokenT< vector< l1t::PFCandidate > > _l1PFToken
def move(src, dest)
Definition: eostools.py:511
math::PtEtaPhiMLorentzVector PolarLorentzVector
Lorentz vector.
Definition: Candidate.h:38

◆ Project()

void L1MetPfProducer::Project ( pt_t  pt,
phi_t  phi,
pxy_t pxy,
bool  isX,
bool  debug = false 
) const
private

Definition at line 117 of file L1MetPfProducer.cc.

References funct::cos(), l1tSlwPFPuppiJets_cfi::cosPhi, hwPi_, hwPiOverTwo_, M_PI, phi, DiDispStaMuonMonitor_cfi::pt, objects.METAnalyzer::pxy, funct::sin(), and l1tSlwPFPuppiJets_cfi::sinPhi.

Referenced by CalcMetHLS().

117  {
118  /*
119  Convert pt and phi to px (py)
120  1) Map phi to the first quadrant to reduce LUT size
121  2) Lookup sin(phiQ1), where the result is in [0,maxPt]
122  which is used to encode [0,1].
123  3) Multiply pt by sin(phiQ1) to get px. Result will be px*maxPt, but
124  wrapping multiplication is 'mod maxPt' so the correct value is returned.
125  4) Check px=-|px|.
126  */
127 
128  // set phi to first quadrant
129  phi_t phiQ1 = (phi > 0) ? phi : phi_t(-phi); // Q1/Q4
130  if (phiQ1 >= hwPiOverTwo_)
131  phiQ1 = hwPi_ - phiQ1;
132 
133  if (phiQ1 > hwPiOverTwo_) {
134  edm::LogWarning("L1MetPfProducer") << "unexpected phi (high)";
135  phiQ1 = hwPiOverTwo_;
136  } else if (phiQ1 < 0) {
137  edm::LogWarning("L1MetPfProducer") << "unexpected phi (low)";
138  phiQ1 = 0;
139  }
140  if (isX) {
141  typedef ap_ufixed<14, 12, AP_RND, AP_WRAP> pt_t; // LSB is 0.25 and max is 4 TeV
142  ap_ufixed<pt_t::width, 0> cosPhi = cos(phiQ1.to_double() / hwPiOverTwo_.to_double() * M_PI / 2);
143  pxy = pt * cosPhi;
144  if (phi > hwPiOverTwo_ || phi < -hwPiOverTwo_)
145  pxy = -pxy;
146  } else {
147  ap_ufixed<pt_t::width, 0> sinPhi = sin(phiQ1.to_double() / hwPiOverTwo_.to_double() * M_PI / 2);
148  pxy = pt * sinPhi;
149  if (phi < 0)
150  pxy = -pxy;
151  }
152 }
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
ap_ufixed< 14, 12, AP_RND, AP_WRAP > pt_t
const phi_t hwPi_
const phi_t hwPiOverTwo_
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
ap_int< 12 > phi_t
#define M_PI
Log< level::Warning, false > LogWarning

Member Data Documentation

◆ _l1PFToken

edm::EDGetTokenT<vector<l1t::PFCandidate> > L1MetPfProducer::_l1PFToken
private

Definition at line 25 of file L1MetPfProducer.cc.

Referenced by produce().

◆ dropBits_

const int L1MetPfProducer::dropBits_ = 2
private

Definition at line 46 of file L1MetPfProducer.cc.

◆ dropFactor_

const int L1MetPfProducer::dropFactor_ = (1 << dropBits_)
private

Definition at line 47 of file L1MetPfProducer.cc.

Referenced by PhiFromXY().

◆ hwPi_

const phi_t L1MetPfProducer::hwPi_ = round(M_PI / phiLSB_)
private

Definition at line 40 of file L1MetPfProducer.cc.

Referenced by PhiFromXY(), and Project().

◆ hwPiOverTwo_

const phi_t L1MetPfProducer::hwPiOverTwo_ = round(M_PI / (2 * phiLSB_))
private

Definition at line 41 of file L1MetPfProducer.cc.

Referenced by PhiFromXY(), and Project().

◆ invTableBits_

const int L1MetPfProducer::invTableBits_ = 10
private

Definition at line 48 of file L1MetPfProducer.cc.

◆ invTableSize_

const int L1MetPfProducer::invTableSize_ = (1 << invTableBits_)
private

Definition at line 49 of file L1MetPfProducer.cc.

Referenced by PhiFromXY().

◆ maxCands_

int L1MetPfProducer::maxCands_ = 128
private

Definition at line 27 of file L1MetPfProducer.cc.

Referenced by produce().

◆ maxPt_

const float L1MetPfProducer::maxPt_ = ((1 << pt_t::width) - 1) * ptLSB_
private

Definition at line 39 of file L1MetPfProducer.cc.

Referenced by CalcMetHLS(), and PhiFromXY().

◆ phiLSB_

const float L1MetPfProducer::phiLSB_ = M_PI / 720
private

Definition at line 33 of file L1MetPfProducer.cc.

Referenced by CalcMetHLS(), and PhiFromXY().

◆ ptLSB_

const float L1MetPfProducer::ptLSB_ = 0.25
private

Definition at line 32 of file L1MetPfProducer.cc.