CMS 3D CMS Logo

Classes | Macros | Typedefs | Enumerations | Functions
data.h File Reference
#include <ap_int.h>

Go to the source code of this file.

Classes

struct  CaloObj
 
struct  EmCaloObj
 
struct  HadCaloObj
 
struct  MuObj
 
struct  PFChargedObj
 
struct  PFNeutralObj
 
struct  TkObj
 

Macros

#define NALLNEUTRALS   (NPHOTON + NSELCALO)
 
#define NCALO   15
 
#define NCALO_TMUX   (NCALO * TMUX_OUT * NETA_TMUX * NPHI_TMUX)
 
#define NEMCALO   13
 
#define NEMCALO_TMUX   (NEMCALO * TMUX_OUT * NETA_TMUX * NPHI_TMUX)
 
#define NETA_TMUX   2
 
#define NMU   2
 
#define NMU_TMUX   (NMU * TMUX_OUT * NETA_TMUX * NPHI_TMUX)
 
#define NNEUTRALS   25
 
#define NPHI_TMUX   1
 
#define NPHOTON   NEMCALO
 
#define NSELCALO   10
 
#define NTRACK   22
 
#define NTRACK_TMUX   (NTRACK * TMUX_OUT * NETA_TMUX * NPHI_TMUX)
 
#define TMUX_IN   18
 
#define TMUX_OUT   6
 

Typedefs

typedef ap_uint< 10 > em2calo_dr_t
 
typedef ap_int< 10 > etaphi_t
 
typedef ap_uint< 3 > particleid_t
 
typedef ap_int< 16 > pt_t
 
typedef ap_uint< 13 > tk2calo_dq_t
 
typedef ap_uint< 14 > tk2calo_dr_t
 
typedef ap_uint< 14 > tk2em_dr_t
 
typedef ap_int< 5 > vtx_t
 
typedef ap_int< 10 > z0_t
 

Enumerations

enum  PID {
  PID_Charged = 0, PID_Neutral = 1, PID_Photon = 2, PID_Electron = 3,
  PID_Muon = 4
}
 

Functions

void clear (HadCaloObj &c)
 
void clear (EmCaloObj &c)
 
void clear (TkObj &c)
 
void clear (MuObj &c)
 
void clear (PFChargedObj &c)
 
void clear (PFNeutralObj &c)
 

Macro Definition Documentation

◆ NALLNEUTRALS

#define NALLNEUTRALS   (NPHOTON + NSELCALO)

Definition at line 96 of file data.h.

◆ NCALO

#define NCALO   15

Definition at line 91 of file data.h.

◆ NCALO_TMUX

#define NCALO_TMUX   (NCALO * TMUX_OUT * NETA_TMUX * NPHI_TMUX)

Definition at line 205 of file data.h.

◆ NEMCALO

#define NEMCALO   13

Definition at line 92 of file data.h.

◆ NEMCALO_TMUX

#define NEMCALO_TMUX   (NEMCALO * TMUX_OUT * NETA_TMUX * NPHI_TMUX)

Definition at line 206 of file data.h.

◆ NETA_TMUX

#define NETA_TMUX   2

Definition at line 198 of file data.h.

◆ NMU

#define NMU   2

Definition at line 93 of file data.h.

◆ NMU_TMUX

#define NMU_TMUX   (NMU * TMUX_OUT * NETA_TMUX * NPHI_TMUX)

Definition at line 207 of file data.h.

◆ NNEUTRALS

#define NNEUTRALS   25

Definition at line 97 of file data.h.

◆ NPHI_TMUX

#define NPHI_TMUX   1

Definition at line 199 of file data.h.

◆ NPHOTON

#define NPHOTON   NEMCALO

Definition at line 94 of file data.h.

◆ NSELCALO

#define NSELCALO   10

Definition at line 95 of file data.h.

◆ NTRACK

#define NTRACK   22

Definition at line 90 of file data.h.

◆ NTRACK_TMUX

#define NTRACK_TMUX   (NTRACK * TMUX_OUT * NETA_TMUX * NPHI_TMUX)

Definition at line 204 of file data.h.

◆ TMUX_IN

#define TMUX_IN   18

Definition at line 202 of file data.h.

◆ TMUX_OUT

#define TMUX_OUT   6

Definition at line 203 of file data.h.

Typedef Documentation

◆ em2calo_dr_t

typedef ap_uint<10> em2calo_dr_t

Definition at line 13 of file data.h.

◆ etaphi_t

typedef ap_int<10> etaphi_t

Definition at line 7 of file data.h.

◆ particleid_t

typedef ap_uint<3> particleid_t

Definition at line 9 of file data.h.

◆ pt_t

typedef ap_int<16> pt_t

Definition at line 6 of file data.h.

◆ tk2calo_dq_t

typedef ap_uint<13> tk2calo_dq_t

Definition at line 14 of file data.h.

◆ tk2calo_dr_t

typedef ap_uint<14> tk2calo_dr_t

Definition at line 12 of file data.h.

◆ tk2em_dr_t

typedef ap_uint<14> tk2em_dr_t

Definition at line 11 of file data.h.

◆ vtx_t

typedef ap_int<5> vtx_t

Definition at line 8 of file data.h.

◆ z0_t

typedef ap_int<10> z0_t

Definition at line 10 of file data.h.

Enumeration Type Documentation

◆ PID

enum PID
Enumerator
PID_Charged 
PID_Neutral 
PID_Photon 
PID_Electron 
PID_Muon 

Definition at line 16 of file data.h.

16 { PID_Charged = 0, PID_Neutral = 1, PID_Photon = 2, PID_Electron = 3, PID_Muon = 4 };
Definition: data.h:16

Function Documentation

◆ clear() [1/6]

void clear ( HadCaloObj c)
inline

Definition at line 124 of file data.h.

References c.

Referenced by core.autovars.NTupleObjectType::addSubObjects(), DTTFFEDReader::analyse(), IsoTrig::analyze(), IsoTrig::clearChgIsolnTreeVectors(), dpf2fw::convert(), npstat::BoxND< unsigned >::copyFrom(), CSCALCTPreTriggerDigi::CSCALCTPreTriggerDigi(), DTTracoTrig::DTTracoTrig(), l1t::MuonShowerCondition::evaluateCondition(), L1GtBptxCondition::evaluateCondition(), L1GtCastorCondition::evaluateCondition(), L1GtExternalCondition::evaluateCondition(), L1GtHfBitCountsCondition::evaluateCondition(), L1GtHfRingEtSumsCondition::evaluateCondition(), L1GtEnergySumCondition::evaluateCondition(), L1GtJetCountsCondition::evaluateCondition(), L1GtMuonCondition::evaluateCondition(), l1t::EnergySumCondition::evaluateCondition(), l1t::ExternalCondition::evaluateCondition(), l1t::CorrCondition::evaluateCondition(), L1GtCorrelationCondition::evaluateCondition(), l1t::CorrThreeBodyCondition::evaluateCondition(), l1t::CorrWithOverlapRemovalCondition::evaluateCondition(), FEConfigBadStripInfo::FEConfigBadStripInfo(), FEConfigBadTTInfo::FEConfigBadTTInfo(), FEConfigBadXTInfo::FEConfigBadXTInfo(), FEConfigCokeDat::FEConfigCokeDat(), FEConfigCokeInfo::FEConfigCokeInfo(), FEConfigFgrInfo::FEConfigFgrInfo(), FEConfigLinInfo::FEConfigLinInfo(), FEConfigLUTInfo::FEConfigLUTInfo(), FEConfigMainInfo::FEConfigMainInfo(), FEConfigOddWeightInfo::FEConfigOddWeightInfo(), FEConfigPedInfo::FEConfigPedInfo(), FEConfigSlidingInfo::FEConfigSlidingInfo(), FEConfigSpikeInfo::FEConfigSpikeInfo(), FEConfigTimingInfo::FEConfigTimingInfo(), FEConfigWeightInfo::FEConfigWeightInfo(), Pythia8Hadronizer::initializeForExternalPartons(), Pythia8Hadronizer::initializeForInternalPartons(), HcalGeomParameters::loadGeometry(), CSCStubMatcher::match(), CSCDigiMatcher::match(), GEMDigiMatcher::match(), ODBadTTInfo::ODBadTTInfo(), ODBadXTInfo::ODBadXTInfo(), ODCCSConfig::ODCCSConfig(), ODCond2ConfInfo::ODCond2ConfInfo(), ODDCCConfig::ODDCCConfig(), ODDCUConfig::ODDCUConfig(), ODEcalCycle::ODEcalCycle(), ODFEDAQConfig::ODFEDAQConfig(), ODFEDelaysInfo::ODFEDelaysInfo(), ODFEPedestalOffsetInfo::ODFEPedestalOffsetInfo(), ODFEWeightsInfo::ODFEWeightsInfo(), ODGolBiasCurrentInfo::ODGolBiasCurrentInfo(), ODJBH4Config::ODJBH4Config(), ODLaserConfig::ODLaserConfig(), ODLTCConfig::ODLTCConfig(), ODLTSConfig::ODLTSConfig(), ODScanConfig::ODScanConfig(), ODSRPConfig::ODSRPConfig(), ODTCCConfig::ODTCCConfig(), ODTCCEEConfig::ODTCCEEConfig(), ODTowersToByPassInfo::ODTowersToByPassInfo(), ODTTCciConfig::ODTTCciConfig(), ODTTCFConfig::ODTTCFConfig(), ODVfeToRejectInfo::ODVfeToRejectInfo(), FFTJetProducer::produce(), EcalFEtoDigi::readInput(), l1tVertexFinder::RecoVertex< T >::RecoVertex(), SequenceTypes._ModuleSequenceType::remove(), SequenceTypes._TaskBase::remove(), SequenceTypes._ModuleSequenceType::replace(), SequenceTypes._TaskBase::replace(), DTTracoLUTs::reset(), HoughGrouping::resetAttributes(), DQMImplNet< DQMNet::Object >::sendObjectListToPeer(), CaloRecHit::setFlagField(), RPCCosmicSeedrecHitFinder::unsetInput(), SimG4HcalValidation::update(), MultiVertexFitter::vertices(), edm::CosMuoGenProducer::~CosMuoGenProducer(), CSCLayerInfo< TYPE >::~CSCLayerInfo(), DTTracoLUTs::~DTTracoLUTs(), and LinTrackCache::~LinTrackCache().

124  {
125  c.hwPt = 0;
126  c.hwEta = 0;
127  c.hwPhi = 0;
128  c.hwEmPt = 0;
129  c.hwIsEM = false;
130 }

◆ clear() [2/6]

void clear ( EmCaloObj c)
inline

Definition at line 136 of file data.h.

References c.

136  {
137  c.hwPt = 0;
138  c.hwPtErr = 0;
139  c.hwEta = 0;
140  c.hwPhi = 0;
141 }

◆ clear() [3/6]

void clear ( TkObj c)
inline

Definition at line 149 of file data.h.

References c.

149  {
150  c.hwPt = 0;
151  c.hwPtErr = 0;
152  c.hwEta = 0;
153  c.hwPhi = 0;
154  c.hwZ0 = 0;
155  c.hwTightQuality = false;
156 }

◆ clear() [4/6]

void clear ( MuObj c)
inline

Definition at line 162 of file data.h.

References c.

162  {
163  c.hwPt = 0;
164  c.hwPtErr = 0;
165  c.hwEta = 0;
166  c.hwPhi = 0;
167 }

◆ clear() [5/6]

void clear ( PFChargedObj c)
inline

Definition at line 175 of file data.h.

References c.

175  {
176  c.hwPt = 0;
177  c.hwEta = 0;
178  c.hwPhi = 0;
179  c.hwId = 0;
180  c.hwZ0 = 0;
181 }

◆ clear() [6/6]

void clear ( PFNeutralObj c)
inline

Definition at line 189 of file data.h.

References c.

189  {
190  c.hwPt = 0;
191  c.hwEta = 0;
192  c.hwPhi = 0;
193  c.hwId = 0;
194  c.hwPtPuppi = 0;
195 }