1 #ifndef L1Trigger_Phase2L1ParticleFlow_DISCRETEPF2FIRMWARE_H 2 #define L1Trigger_Phase2L1ParticleFlow_DISCRETEPF2FIRMWARE_H 6 #include "../firmware/data.h" 14 out.hwPtErr =
in.hwCaloPtErr;
18 out.hwTightQuality = (
in.hwStubs >= 6 &&
in.hwChi2 < 500);
29 out.hwEmPt =
in.hwEmPt;
36 out.hwPtErr =
in.hwPtErr;
47 template <
unsigned int NMAX,
typename In,
typename Out>
49 for (
unsigned int i = 0,
n = std::min<unsigned int>(NMAX,
in.size());
i <
n; ++
i) {
52 for (
unsigned int i =
in.size();
i < NMAX; ++
i) {
57 template <
typename In,
typename Out>
59 for (
unsigned int i = 0,
n = std::min<unsigned int>(NMAX,
in.size());
i <
n; ++
i) {
62 for (
unsigned int i =
in.size();
i < NMAX; ++
i) {
void convert(const l1tpf_impl::PropagatedTrack &in, TkObj &out)
void clear(HadCaloObj &c)
TkObj transformConvert(const l1tpf_impl::PropagatedTrack &in)
NOTE: this include is not standalone, since the path to DiscretePFInputs is different in CMSSW & Viva...