CMS 3D CMS Logo

List of all members | Public Member Functions | Static Private Member Functions | Private Attributes
l1ct::DeregionizerEmulator Class Reference

#include <deregionizer_ref.h>

Public Member Functions

 DeregionizerEmulator (const unsigned int nPuppiFinalBuffer=128, const unsigned int nPuppiPerClk=6, const unsigned int nPuppiFirstBuffers=12, const unsigned int nPuppiSecondBuffers=32, const unsigned int nPuppiThirdBuffers=64)
 
 DeregionizerEmulator (const edm::ParameterSet &iConfig)
 
void run (const DeregionizerInput in, std::vector< l1ct::PuppiObjEmu > &out, std::vector< l1ct::PuppiObjEmu > &truncated)
 
void setDebug (bool debug=true)
 
std::vector< std::vector< l1ct::PuppiObjEmu > > splitPFregions (const std::vector< std::vector< std::vector< l1ct::PuppiObjEmu > > > &regionPuppis, const int i, const int j)
 
 ~DeregionizerEmulator ()
 

Static Private Member Functions

static void accumulateToY (const unsigned int Y, const std::vector< l1ct::PuppiObjEmu > &in, std::vector< l1ct::PuppiObjEmu > &out, std::vector< l1ct::PuppiObjEmu > &truncated)
 
static std::vector< l1ct::PuppiObjEmumergeXtoY (const unsigned int X, const unsigned int Y, const std::vector< l1ct::PuppiObjEmu > &inLeft, const std::vector< l1ct::PuppiObjEmu > &inRight)
 

Private Attributes

bool debug_
 
unsigned int nPuppiFinalBuffer_
 
unsigned int nPuppiFirstBuffers_
 
unsigned int nPuppiPerClk_
 
unsigned int nPuppiSecondBuffers_
 
unsigned int nPuppiThirdBuffers_
 

Detailed Description

Definition at line 13 of file deregionizer_ref.h.

Constructor & Destructor Documentation

◆ DeregionizerEmulator() [1/2]

l1ct::DeregionizerEmulator::DeregionizerEmulator ( const unsigned int  nPuppiFinalBuffer = 128,
const unsigned int  nPuppiPerClk = 6,
const unsigned int  nPuppiFirstBuffers = 12,
const unsigned int  nPuppiSecondBuffers = 32,
const unsigned int  nPuppiThirdBuffers = 64 
)

◆ DeregionizerEmulator() [2/2]

l1ct::DeregionizerEmulator::DeregionizerEmulator ( const edm::ParameterSet iConfig)

◆ ~DeregionizerEmulator()

l1ct::DeregionizerEmulator::~DeregionizerEmulator ( )
inline

Definition at line 24 of file deregionizer_ref.h.

24 {};

Member Function Documentation

◆ accumulateToY()

static void l1ct::DeregionizerEmulator::accumulateToY ( const unsigned int  Y,
const std::vector< l1ct::PuppiObjEmu > &  in,
std::vector< l1ct::PuppiObjEmu > &  out,
std::vector< l1ct::PuppiObjEmu > &  truncated 
)
staticprivate

◆ mergeXtoY()

static std::vector<l1ct::PuppiObjEmu> l1ct::DeregionizerEmulator::mergeXtoY ( const unsigned int  X,
const unsigned int  Y,
const std::vector< l1ct::PuppiObjEmu > &  inLeft,
const std::vector< l1ct::PuppiObjEmu > &  inRight 
)
staticprivate

◆ run()

void l1ct::DeregionizerEmulator::run ( const DeregionizerInput  in,
std::vector< l1ct::PuppiObjEmu > &  out,
std::vector< l1ct::PuppiObjEmu > &  truncated 
)

◆ setDebug()

void l1ct::DeregionizerEmulator::setDebug ( bool  debug = true)
inline

Definition at line 26 of file deregionizer_ref.h.

References debug, and debug_.

26 { debug_ = debug; }
#define debug
Definition: HDRShower.cc:19

◆ splitPFregions()

std::vector<std::vector<l1ct::PuppiObjEmu> > l1ct::DeregionizerEmulator::splitPFregions ( const std::vector< std::vector< std::vector< l1ct::PuppiObjEmu > > > &  regionPuppis,
const int  i,
const int  j 
)

Member Data Documentation

◆ debug_

bool l1ct::DeregionizerEmulator::debug_
private

Definition at line 37 of file deregionizer_ref.h.

Referenced by setDebug().

◆ nPuppiFinalBuffer_

unsigned int l1ct::DeregionizerEmulator::nPuppiFinalBuffer_
private

Definition at line 36 of file deregionizer_ref.h.

◆ nPuppiFirstBuffers_

unsigned int l1ct::DeregionizerEmulator::nPuppiFirstBuffers_
private

Definition at line 36 of file deregionizer_ref.h.

◆ nPuppiPerClk_

unsigned int l1ct::DeregionizerEmulator::nPuppiPerClk_
private

Definition at line 36 of file deregionizer_ref.h.

◆ nPuppiSecondBuffers_

unsigned int l1ct::DeregionizerEmulator::nPuppiSecondBuffers_
private

Definition at line 36 of file deregionizer_ref.h.

◆ nPuppiThirdBuffers_

unsigned int l1ct::DeregionizerEmulator::nPuppiThirdBuffers_
private

Definition at line 36 of file deregionizer_ref.h.