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 (std::vector< std::vector< std::vector< l1ct::PuppiObjEmu >>> in, std::vector< l1ct::PuppiObjEmu > &out, std::vector< l1ct::PuppiObjEmu > &truncated)
 
void setDebug (bool debug=true)
 
 ~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)
 
static std::vector< l1ct::PuppiObjEmumergeXtoY (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() [1/2]

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

◆ mergeXtoY() [2/2]

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

◆ run()

void l1ct::DeregionizerEmulator::run ( std::vector< std::vector< std::vector< l1ct::PuppiObjEmu >>>  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

Member Data Documentation

◆ debug_

bool l1ct::DeregionizerEmulator::debug_
private

Definition at line 34 of file deregionizer_ref.h.

Referenced by setDebug().

◆ nPuppiFinalBuffer_

unsigned int l1ct::DeregionizerEmulator::nPuppiFinalBuffer_
private

Definition at line 33 of file deregionizer_ref.h.

◆ nPuppiFirstBuffers_

unsigned int l1ct::DeregionizerEmulator::nPuppiFirstBuffers_
private

Definition at line 33 of file deregionizer_ref.h.

◆ nPuppiPerClk_

unsigned int l1ct::DeregionizerEmulator::nPuppiPerClk_
private

Definition at line 33 of file deregionizer_ref.h.

◆ nPuppiSecondBuffers_

unsigned int l1ct::DeregionizerEmulator::nPuppiSecondBuffers_
private

Definition at line 33 of file deregionizer_ref.h.

◆ nPuppiThirdBuffers_

unsigned int l1ct::DeregionizerEmulator::nPuppiThirdBuffers_
private

Definition at line 33 of file deregionizer_ref.h.