CMS 3D CMS Logo

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

#include <PhysCandUnpacker.h>

Inheritance diagram for l1t::stage1::IsoEGammaUnpackerRight:
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 38 of file PhysCandUnpacker.h.

Member Function Documentation

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

Implements l1t::Unpacker.

Definition at line 121 of file PhysCandUnpacker.cc.

References coll, process(), and l1t::L1Candidate::setHwIso().

122  {
123  auto res = static_cast<CaloCollections*>(coll)->getEGammas();
124  return process(block, res, [](l1t::EGamma eg) { eg.setHwIso(1); return eg; },false,true,false);
125  }
Definition: Electron.h:6
void setHwIso(int iso)
Definition: L1Candidate.h:45
JetCorrectorParametersCollection coll
Definition: classes.h:10
bool process(const l1t::Block &block, BXVector< T > *coll, F modify, bool isleft, bool isfirst, bool istau)