CMS 3D CMS Logo

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

#include <deregionizer_input.h>

Public Types

enum  regionIndex {
  centralBarl = 0, negBarl = 1, posBarl = 2, negHGCal = 3,
  posHGCal = 4, forwardHGCal = 5
}
 

Public Member Functions

 DeregionizerInput (std::vector< float > &regionEtaCenter, std::vector< float > &regionPhiCenter, const std::vector< l1ct::OutputRegion > &inputRegions)
 
const std::vector< std::vector< std::vector< l1ct::PuppiObjEmu > > > & orderedInRegionsPuppis () const
 
void orderRegions (int order[nEtaRegions])
 
void setDebug (bool debug=true)
 

Static Public Attributes

static const unsigned int nEtaRegions
 
static const unsigned int nPhiRegions
 

Private Member Functions

void initRegions (const std::vector< l1ct::OutputRegion > &inputRegions)
 
unsigned int orderRegionsInPhi (const float eta, const float phi, const float etaComp) const
 

Private Attributes

bool debug_ = false
 
std::vector< std::vector< std::vector< l1ct::PuppiObjEmu > > > orderedInRegionsPuppis_
 
std::vector< float > regionEtaCenter_
 
std::vector< float > regionPhiCenter_
 

Detailed Description

Definition at line 9 of file deregionizer_input.h.

Member Enumeration Documentation

◆ regionIndex

Enumerator
centralBarl 
negBarl 
posBarl 
negHGCal 
posHGCal 
forwardHGCal 

Definition at line 22 of file deregionizer_input.h.

Constructor & Destructor Documentation

◆ DeregionizerInput()

l1ct::DeregionizerInput::DeregionizerInput ( std::vector< float > &  regionEtaCenter,
std::vector< float > &  regionPhiCenter,
const std::vector< l1ct::OutputRegion > &  inputRegions 
)

Member Function Documentation

◆ initRegions()

void l1ct::DeregionizerInput::initRegions ( const std::vector< l1ct::OutputRegion > &  inputRegions)
private

◆ orderedInRegionsPuppis()

const std::vector<std::vector<std::vector<l1ct::PuppiObjEmu> > >& l1ct::DeregionizerInput::orderedInRegionsPuppis ( ) const
inline

Definition at line 32 of file deregionizer_input.h.

References orderedInRegionsPuppis_.

32  {
34  };
std::vector< std::vector< std::vector< l1ct::PuppiObjEmu > > > orderedInRegionsPuppis_

◆ orderRegions()

void l1ct::DeregionizerInput::orderRegions ( int  order[nEtaRegions])

◆ orderRegionsInPhi()

unsigned int l1ct::DeregionizerInput::orderRegionsInPhi ( const float  eta,
const float  phi,
const float  etaComp 
) const
private

◆ setDebug()

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

Definition at line 20 of file deregionizer_input.h.

References debug, and debug_.

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

Member Data Documentation

◆ debug_

bool l1ct::DeregionizerInput::debug_ = false
private

Definition at line 41 of file deregionizer_input.h.

Referenced by setDebug().

◆ nEtaRegions

const unsigned int l1ct::DeregionizerInput::nEtaRegions
static
Initial value:
=
6

Definition at line 11 of file deregionizer_input.h.

◆ nPhiRegions

const unsigned int l1ct::DeregionizerInput::nPhiRegions
static
Initial value:
=
18

Definition at line 13 of file deregionizer_input.h.

◆ orderedInRegionsPuppis_

std::vector<std::vector<std::vector<l1ct::PuppiObjEmu> > > l1ct::DeregionizerInput::orderedInRegionsPuppis_
private

Definition at line 39 of file deregionizer_input.h.

Referenced by orderedInRegionsPuppis().

◆ regionEtaCenter_

std::vector<float> l1ct::DeregionizerInput::regionEtaCenter_
private

Definition at line 34 of file deregionizer_input.h.

◆ regionPhiCenter_

std::vector<float> l1ct::DeregionizerInput::regionPhiCenter_
private

Definition at line 38 of file deregionizer_input.h.