#include <L1MuCSCPtLut.h>
|
template<class Archive > |
void | serialize (Archive &ar, const unsigned int version) |
|
|
unsigned short | pt_lut [1<< 21] |
|
Definition at line 11 of file L1MuCSCPtLut.h.
◆ L1MuCSCPtLut() [1/2]
L1MuCSCPtLut::L1MuCSCPtLut |
( |
void |
| ) |
|
|
inline |
◆ L1MuCSCPtLut() [2/2]
Definition at line 34 of file L1MuCSCPtLut.h.
References lut(), and pt_lut.
unsigned short pt_lut[1<< 21]
const unsigned short * lut(void) const
◆ ~L1MuCSCPtLut()
L1MuCSCPtLut::~L1MuCSCPtLut |
( |
void |
| ) |
|
|
inline |
◆ lut()
const unsigned short* L1MuCSCPtLut::lut |
( |
void |
| ) |
const |
throw | ( | |
| ) | | |
|
inline |
◆ operator=()
Definition at line 28 of file L1MuCSCPtLut.h.
References lut(), and pt_lut.
unsigned short pt_lut[1<< 21]
const unsigned short * lut(void) const
◆ pt()
unsigned short L1MuCSCPtLut::pt |
( |
unsigned long |
addr | ) |
const |
throw | ( | |
| ) | | |
|
inline |
Definition at line 19 of file L1MuCSCPtLut.h.
References generateTowerEtThresholdLUT::addr, createfilelist::int, and pt_lut.
Referenced by Particle.Particle::__str__(), ZMuMuRochCorAnalyzer.DiMuon::__str__(), DiObject.DiMuon::__str__(), Photon.Photon::calScaledIsoValueExp(), Photon.Photon::calScaledIsoValueLin(), Photon.Photon::calScaledIsoValueQuadr(), Electron.Electron::mvaIDLoose(), Electron.Electron::mvaIDRun2(), Electron.Electron::mvaIDTight(), datamodel.Object::p4(), Electron.Electron::ptErr(), ntupleDataFormat.Track::ptPull(), Lepton.Lepton::relIso(), Lepton.Lepton::relIsoFromEA(), Lepton.Lepton::relIsoR(), and Jet.Jet::setCorrP4().
unsigned short pt_lut[1<< 21]
◆ readFromDBS()
void L1MuCSCPtLut::readFromDBS |
( |
std::string & |
ptLUT | ) |
|
Definition at line 7 of file L1MuCSCPtLut.cc.
References make_classfiles::buff, Exception, geometryDiff::file, pt_lut, and Phase2L1GMT::ptLUT.
18 unsigned long length = 1 << 21;
22 throw cms::Exception(
"Cannot open the ptLUT") <<
"L1MuCSCPtLut cannot open " 23 <<
"ptLUT from DBS (errno=" << errno <<
")" << std::endl;
26 unsigned int address = 0;
27 for (address = 0; !
file.eof() && address < length; address++) {
30 int ptOutput = atoi(
buff);
37 pt_lut[address] = ptOutput;
40 if (address != length)
42 <<
"L1MuCSCPtLut read " << address <<
" words from DBS instead of expected " << length << std::endl;
const ap_uint< BITSPT > ptLUT[2251]
unsigned short pt_lut[1<< 21]
buff
***.cc ################
◆ serialize()
template<class Archive >
void L1MuCSCPtLut::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
private |
◆ boost::serialization::access
friend class boost::serialization::access |
|
friend |
◆ cond::serialization::access
template<typename CondSerializationT , typename Enabled >
◆ CSCTFConfigProducer
◆ pt_lut
unsigned short L1MuCSCPtLut::pt_lut[1<< 21] |
|
private |