CMS 3D CMS Logo

List of all members | Public Member Functions
l1t::stage1::ForwardJetUnpackerRight Class Reference

#include <PhysCandUnpacker.h>

Inheritance diagram for l1t::stage1::ForwardJetUnpackerRight:
l1t::Unpacker

Public Member Functions

bool unpack (const Block &block, UnpackerCollections *coll) override
 
- Public Member Functions inherited from l1t::Unpacker
unsigned int getAlgoVersion ()
 
void setAlgoVersion (const unsigned int version)
 
 Unpacker ()
 
virtual ~Unpacker ()=default
 

Detailed Description

Definition at line 53 of file PhysCandUnpacker.h.

Member Function Documentation

bool l1t::stage1::ForwardJetUnpackerRight::unpack ( const Block block,
UnpackerCollections coll 
)
overridevirtual

Implements l1t::Unpacker.

Definition at line 142 of file PhysCandUnpacker.cc.

References coll, l1t::L1Candidate::hwQual(), process(), and l1t::L1Candidate::setHwQual().

143  {
144  auto res = static_cast<CaloCollections*>(coll)->getJets();
145  return process(block, res, [](l1t::Jet j) { j.setHwQual(j.hwQual() | 2); return j; },false,false,false);
146  }
void setHwQual(int qual)
Definition: L1Candidate.h:44
Definition: Electron.h:6
Definition: Jet.h:21
int hwQual() const
Definition: L1Candidate.h:51
JetCorrectorParametersCollection coll
Definition: classes.h:10
bool process(const l1t::Block &block, BXVector< T > *coll, F modify, bool isleft, bool isfirst, bool istau)