CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Attributes | Static Private Attributes
l1extra::L1ParticleMap Class Reference

#include <L1ParticleMap.h>

Public Types

typedef std::vector< unsigned int > L1IndexCombo
 
typedef std::vector< L1IndexComboL1IndexComboVector
 
enum  L1ObjectType {
  kEM, kJet, kMuon, kEtMiss,
  kEtTotal, kEtHad, kNumOfL1ObjectTypes
}
 
typedef std::vector< L1ObjectTypeL1ObjectTypeVector
 
enum  L1TriggerType {
  kSingleMu3, kSingleMu5, kSingleMu7, kSingleMu10,
  kSingleMu14, kSingleMu20, kSingleMu25, kSingleIsoEG5,
  kSingleIsoEG8, kSingleIsoEG10, kSingleIsoEG12, kSingleIsoEG15,
  kSingleIsoEG20, kSingleIsoEG25, kSingleEG5, kSingleEG8,
  kSingleEG10, kSingleEG12, kSingleEG15, kSingleEG20,
  kSingleEG25, kSingleJet15, kSingleJet20, kSingleJet30,
  kSingleJet50, kSingleJet70, kSingleJet100, kSingleJet150,
  kSingleJet200, kSingleTauJet10, kSingleTauJet20, kSingleTauJet30,
  kSingleTauJet35, kSingleTauJet40, kSingleTauJet60, kSingleTauJet80,
  kSingleTauJet100, kHTT100, kHTT200, kHTT250,
  kHTT300, kHTT400, kHTT500, kETM10,
  kETM15, kETM20, kETM30, kETM40,
  kETM50, kETM60, kETT60, kDoubleMu3,
  kDoubleIsoEG8, kDoubleIsoEG10, kDoubleEG5, kDoubleEG10,
  kDoubleEG15, kDoubleJet70, kDoubleJet100, kDoubleTauJet20,
  kDoubleTauJet30, kDoubleTauJet35, kDoubleTauJet40, kMu3_IsoEG5,
  kMu5_IsoEG10, kMu3_EG12, kMu3_Jet15, kMu5_Jet15,
  kMu3_Jet70, kMu5_Jet20, kMu5_TauJet20, kMu5_TauJet30,
  kIsoEG10_EG10, kIsoEG10_Jet15, kIsoEG10_Jet20, kIsoEG10_Jet30,
  kIsoEG10_Jet70, kIsoEG10_TauJet20, kIsoEG10_TauJet30, kEG10_Jet15,
  kEG12_Jet20, kEG12_Jet70, kEG12_TauJet40, kJet70_TauJet40,
  kMu3_HTT200, kIsoEG10_HTT200, kEG12_HTT200, kJet70_HTT200,
  kTauJet40_HTT200, kMu3_ETM30, kIsoEG10_ETM30, kEG12_ETM30,
  kJet70_ETM40, kTauJet20_ETM20, kTauJet30_ETM30, kTauJet30_ETM40,
  kHTT100_ETM30, kTripleMu3, kTripleIsoEG5, kTripleEG10,
  kTripleJet50, kTripleTauJet40, kDoubleMu3_IsoEG5, kDoubleMu3_EG10,
  kDoubleIsoEG5_Mu3, kDoubleEG10_Mu3, kDoubleMu3_HTT200, kDoubleIsoEG5_HTT200,
  kDoubleEG10_HTT200, kDoubleJet50_HTT200, kDoubleTauJet40_HTT200, kDoubleMu3_ETM20,
  kDoubleIsoEG5_ETM20, kDoubleEG10_ETM20, kDoubleJet50_ETM20, kDoubleTauJet40_ETM20,
  kQuadJet30, kExclusiveDoubleIsoEG4, kExclusiveDoubleJet60, kExclusiveJet25_Gap_Jet25,
  kIsoEG10_Jet20_ForJet10, kMinBias_HTT10, kZeroBias, kNumOfL1TriggerTypes
}
 

Public Member Functions

std::vector< const
reco::LeafCandidate * > 
candidateCombo (const L1IndexCombo &aCombo) const
 
const reco::LeafCandidatecandidateInCombo (int aIndexInCombo, const L1IndexCombo &aCombo) const
 
const L1EmParticleemParticleInCombo (int aIndexInCombo, const L1IndexCombo &aCombo) const
 
const L1EmParticleVectorRefemParticles () const
 
const L1EtMissParticleRefProdetMissParticle () const
 
const L1EtMissParticleetMissParticleInCombo (int aIndexInCombo, const L1IndexCombo &aCombo) const
 
const L1IndexComboVectorindexCombos () const
 
const L1JetParticlejetParticleInCombo (int aIndexInCombo, const L1IndexCombo &aCombo) const
 
const L1JetParticleVectorRefjetParticles () const
 
 L1ParticleMap ()
 
 L1ParticleMap (L1TriggerType triggerType, bool triggerDecision, const L1ObjectTypeVector &objectTypes, const L1EmParticleVectorRef &emParticles=L1EmParticleVectorRef(), const L1JetParticleVectorRef &jetParticles=L1JetParticleVectorRef(), const L1MuonParticleVectorRef &muonParticles=L1MuonParticleVectorRef(), const L1EtMissParticleRefProd &etMissParticle=L1EtMissParticleRefProd(), const L1IndexComboVector &indexCombos=)
 
const L1MuonParticlemuonParticleInCombo (int aIndexInCombo, const L1IndexCombo &aCombo) const
 
const L1MuonParticleVectorRefmuonParticles () const
 
int numOfObjects () const
 
const L1ObjectTypeVectorobjectTypes () const
 
bool triggerDecision () const
 
const std::string & triggerName () const
 
L1TriggerType triggerType () const
 
virtual ~L1ParticleMap ()
 

Static Public Member Functions

static bool objectTypeIsGlobal (L1ObjectType type)
 
static const std::string & triggerName (L1TriggerType type)
 
static L1TriggerType triggerType (const std::string &name)
 

Private Attributes

L1EmParticleVectorRef emParticles_
 
L1EtMissParticleRefProd etMissParticle_
 
L1IndexComboVector indexCombos_
 
L1JetParticleVectorRef jetParticles_
 
L1MuonParticleVectorRef muonParticles_
 
L1ObjectTypeVector objectTypes_
 
bool triggerDecision_
 
L1TriggerType triggerType_
 

Static Private Attributes

static std::string triggerNames_ [kNumOfL1TriggerTypes]
 

Detailed Description

Definition at line 120 of file L1ParticleMap.h.

Member Typedef Documentation

typedef std::vector< unsigned int > l1extra::L1ParticleMap::L1IndexCombo

Definition at line 269 of file L1ParticleMap.h.

Definition at line 270 of file L1ParticleMap.h.

Definition at line 271 of file L1ParticleMap.h.

Member Enumeration Documentation

Enumerator
kEM 
kJet 
kMuon 
kEtMiss 
kEtTotal 
kEtHad 
kNumOfL1ObjectTypes 

Definition at line 124 of file L1ParticleMap.h.

Enumerator
kSingleMu3 
kSingleMu5 
kSingleMu7 
kSingleMu10 
kSingleMu14 
kSingleMu20 
kSingleMu25 
kSingleIsoEG5 
kSingleIsoEG8 
kSingleIsoEG10 
kSingleIsoEG12 
kSingleIsoEG15 
kSingleIsoEG20 
kSingleIsoEG25 
kSingleEG5 
kSingleEG8 
kSingleEG10 
kSingleEG12 
kSingleEG15 
kSingleEG20 
kSingleEG25 
kSingleJet15 
kSingleJet20 
kSingleJet30 
kSingleJet50 
kSingleJet70 
kSingleJet100 
kSingleJet150 
kSingleJet200 
kSingleTauJet10 
kSingleTauJet20 
kSingleTauJet30 
kSingleTauJet35 
kSingleTauJet40 
kSingleTauJet60 
kSingleTauJet80 
kSingleTauJet100 
kHTT100 
kHTT200 
kHTT250 
kHTT300 
kHTT400 
kHTT500 
kETM10 
kETM15 
kETM20 
kETM30 
kETM40 
kETM50 
kETM60 
kETT60 
kDoubleMu3 
kDoubleIsoEG8 
kDoubleIsoEG10 
kDoubleEG5 
kDoubleEG10 
kDoubleEG15 
kDoubleJet70 
kDoubleJet100 
kDoubleTauJet20 
kDoubleTauJet30 
kDoubleTauJet35 
kDoubleTauJet40 
kMu3_IsoEG5 
kMu5_IsoEG10 
kMu3_EG12 
kMu3_Jet15 
kMu5_Jet15 
kMu3_Jet70 
kMu5_Jet20 
kMu5_TauJet20 
kMu5_TauJet30 
kIsoEG10_EG10 
kIsoEG10_Jet15 
kIsoEG10_Jet20 
kIsoEG10_Jet30 
kIsoEG10_Jet70 
kIsoEG10_TauJet20 
kIsoEG10_TauJet30 
kEG10_Jet15 
kEG12_Jet20 
kEG12_Jet70 
kEG12_TauJet40 
kJet70_TauJet40 
kMu3_HTT200 
kIsoEG10_HTT200 
kEG12_HTT200 
kJet70_HTT200 
kTauJet40_HTT200 
kMu3_ETM30 
kIsoEG10_ETM30 
kEG12_ETM30 
kJet70_ETM40 
kTauJet20_ETM20 
kTauJet30_ETM30 
kTauJet30_ETM40 
kHTT100_ETM30 
kTripleMu3 
kTripleIsoEG5 
kTripleEG10 
kTripleJet50 
kTripleTauJet40 
kDoubleMu3_IsoEG5 
kDoubleMu3_EG10 
kDoubleIsoEG5_Mu3 
kDoubleEG10_Mu3 
kDoubleMu3_HTT200 
kDoubleIsoEG5_HTT200 
kDoubleEG10_HTT200 
kDoubleJet50_HTT200 
kDoubleTauJet40_HTT200 
kDoubleMu3_ETM20 
kDoubleIsoEG5_ETM20 
kDoubleEG10_ETM20 
kDoubleJet50_ETM20 
kDoubleTauJet40_ETM20 
kQuadJet30 
kExclusiveDoubleIsoEG4 
kExclusiveDoubleJet60 
kExclusiveJet25_Gap_Jet25 
kIsoEG10_Jet20_ForJet10 
kMinBias_HTT10 
kZeroBias 
kNumOfL1TriggerTypes 

Definition at line 141 of file L1ParticleMap.h.

142  {
143  kSingleMu3,
144  kSingleMu5,
145  kSingleMu7,
146  kSingleMu10,
147  kSingleMu14,
148  kSingleMu20,
149  kSingleMu25,
157  kSingleEG5,
158  kSingleEG8,
159  kSingleEG10,
160  kSingleEG12,
161  kSingleEG15,
162  kSingleEG20,
163  kSingleEG25,
164  kSingleJet15,
165  kSingleJet20,
166  kSingleJet30,
167  kSingleJet50,
168  kSingleJet70,
180  kHTT100,
181  kHTT200,
182  kHTT250,
183  kHTT300,
184  kHTT400,
185  kHTT500,
186  kETM10,
187  kETM15,
188  kETM20,
189  kETM30,
190  kETM40,
191  kETM50,
192  kETM60,
193  kETT60,
194  kDoubleMu3,
197  kDoubleEG5,
198  kDoubleEG10,
199  kDoubleEG15,
200  kDoubleJet70,
206  kMu3_IsoEG5,
207  kMu5_IsoEG10,
208  kMu3_EG12,
209  kMu3_Jet15,
210  kMu5_Jet15,
211  kMu3_Jet70,
212  kMu5_Jet20,
222  kEG10_Jet15,
223  kEG12_Jet20,
224  kEG12_Jet70,
227  kMu3_HTT200,
229  kEG12_HTT200,
232  kMu3_ETM30,
234  kEG12_ETM30,
235  kJet70_ETM40,
240  kTripleMu3,
242  kTripleEG10,
243  kTripleJet50,
259  kQuadJet30,
265  kZeroBias,
267  } ;

Constructor & Destructor Documentation

L1ParticleMap::L1ParticleMap ( )

Definition at line 164 of file L1ParticleMap.cc.

165 {
166 }
L1ParticleMap::L1ParticleMap ( L1TriggerType  triggerType,
bool  triggerDecision,
const L1ObjectTypeVector objectTypes,
const L1EmParticleVectorRef emParticles = L1EmParticleVectorRef(),
const L1JetParticleVectorRef jetParticles = L1JetParticleVectorRef(),
const L1MuonParticleVectorRef muonParticles = L1MuonParticleVectorRef(),
const L1EtMissParticleRefProd etMissParticle = L1EtMissParticleRefProd(),
const L1IndexComboVector indexCombos 
)

Definition at line 168 of file L1ParticleMap.cc.

183  etMissParticle_( etMissParticle ),
185 {
186 }
L1IndexComboVector indexCombos_
const L1MuonParticleVectorRef & muonParticles() const
bool triggerDecision() const
const L1EmParticleVectorRef & emParticles() const
L1EtMissParticleRefProd etMissParticle_
const L1JetParticleVectorRef & jetParticles() const
L1EmParticleVectorRef emParticles_
L1MuonParticleVectorRef muonParticles_
L1TriggerType triggerType() const
const L1IndexComboVector & indexCombos() const
L1JetParticleVectorRef jetParticles_
L1ObjectTypeVector objectTypes_
L1TriggerType triggerType_
const L1ObjectTypeVector & objectTypes() const
L1ParticleMap::~L1ParticleMap ( )
virtual

Definition at line 193 of file L1ParticleMap.cc.

194 {
195 }

Member Function Documentation

std::vector< const reco::LeafCandidate * > L1ParticleMap::candidateCombo ( const L1IndexCombo aCombo) const

Definition at line 390 of file L1ParticleMap.cc.

References candidateInCombo(), i, numOfObjects(), and tmp.

391 {
392  std::vector< const reco::LeafCandidate* > tmp ;
393 
394  for( int i = 0 ; i < numOfObjects() ; ++i )
395  {
396  tmp.push_back( candidateInCombo( i, aCombo ) ) ;
397  }
398 
399  return tmp ;
400 }
int i
Definition: DBlmapReader.cc:9
int numOfObjects() const
std::vector< std::vector< double > > tmp
Definition: MVATrainer.cc:100
const reco::LeafCandidate * candidateInCombo(int aIndexInCombo, const L1IndexCombo &aCombo) const
const reco::LeafCandidate * L1ParticleMap::candidateInCombo ( int  aIndexInCombo,
const L1IndexCombo aCombo 
) const

Definition at line 290 of file L1ParticleMap.cc.

References emParticles_, etMissParticle_, edm::RefProd< T >::get(), jetParticles_, kEM, kEtHad, kEtMiss, kEtTotal, kJet, kMuon, muonParticles_, and objectTypes_.

Referenced by candidateCombo().

292 {
293  L1ObjectType type = objectTypes_[ aIndexInCombo ] ;
294  int particleInList = aCombo[ aIndexInCombo ] ;
295 
296  if( type == kEM )
297  {
298  return dynamic_cast< const reco::LeafCandidate* >(
299  emParticles_[ particleInList ].get() ) ;
300  }
301  else if( type == kJet )
302  {
303  return dynamic_cast< const reco::LeafCandidate* >(
304  jetParticles_[ particleInList ].get() ) ;
305  }
306  else if( type == kMuon )
307  {
308  return dynamic_cast< const reco::LeafCandidate* >(
309  muonParticles_[ particleInList ].get() ) ;
310  }
311  else if( type == kEtMiss || type == kEtTotal || type == kEtHad )
312  {
313  return dynamic_cast< const reco::LeafCandidate* >(
314  etMissParticle_.get() ) ;
315  }
316  else
317  {
318  return 0 ;
319  }
320 }
type
Definition: HCALResponse.h:21
L1EtMissParticleRefProd etMissParticle_
L1EmParticleVectorRef emParticles_
L1MuonParticleVectorRef muonParticles_
product_type const * get() const
Definition: RefProd.h:116
L1JetParticleVectorRef jetParticles_
L1ObjectTypeVector objectTypes_
const L1EmParticle * L1ParticleMap::emParticleInCombo ( int  aIndexInCombo,
const L1IndexCombo aCombo 
) const

Definition at line 323 of file L1ParticleMap.cc.

References emParticles_, kEM, and objectTypes_.

325 {
326  L1ObjectType type = objectTypes_[ aIndexInCombo ] ;
327  int particleInList = aCombo[ aIndexInCombo ] ;
328 
329  if( type == kEM )
330  {
331  return emParticles_[ particleInList ].get() ;
332  }
333  else
334  {
335  return 0 ;
336  }
337 }
type
Definition: HCALResponse.h:21
L1EmParticleVectorRef emParticles_
L1ObjectTypeVector objectTypes_
const L1EmParticleVectorRef& l1extra::L1ParticleMap::emParticles ( ) const
inline

Definition at line 312 of file L1ParticleMap.h.

References emParticles_.

313  { return emParticles_ ; }
L1EmParticleVectorRef emParticles_
const L1EtMissParticleRefProd& l1extra::L1ParticleMap::etMissParticle ( ) const
inline

Definition at line 321 of file L1ParticleMap.h.

References etMissParticle_.

322  { return etMissParticle_ ; }
L1EtMissParticleRefProd etMissParticle_
const L1EtMissParticle * L1ParticleMap::etMissParticleInCombo ( int  aIndexInCombo,
const L1IndexCombo aCombo 
) const

Definition at line 374 of file L1ParticleMap.cc.

References etMissParticle_, edm::RefProd< T >::get(), kEtHad, kEtMiss, kEtTotal, and objectTypes_.

376 {
377  L1ObjectType type = objectTypes_[ aIndexInCombo ] ;
378 
379  if( type == kEtMiss || type == kEtTotal || type == kEtHad )
380  {
381  return etMissParticle_.get() ;
382  }
383  else
384  {
385  return 0 ;
386  }
387 }
type
Definition: HCALResponse.h:21
L1EtMissParticleRefProd etMissParticle_
product_type const * get() const
Definition: RefProd.h:116
L1ObjectTypeVector objectTypes_
const L1ParticleMap::L1IndexComboVector & L1ParticleMap::indexCombos ( ) const

Definition at line 218 of file L1ParticleMap.cc.

References emParticles_, i, indexCombos_, j, jetParticles_, kEM, kJet, kMuon, kNumOfL1ObjectTypes, muonParticles_, nParticles, numOfObjects(), objectTypeIsGlobal(), and objectTypes_.

219 {
220  if( indexCombos_.size() == 0 )
221  {
222  // Determine the number of non-global objects. There should be 0 or 1.
223  int numNonGlobal = 0 ;
224  L1ObjectType nonGlobalType = kNumOfL1ObjectTypes ;
225  int nonGlobalIndex = -1 ;
226  for( int i = 0 ; i < numOfObjects() ; ++i )
227  {
228  if( !objectTypeIsGlobal( objectTypes_[ i ] ) )
229  {
230  ++numNonGlobal ;
231  nonGlobalType = objectTypes_[ i ] ;
232  nonGlobalIndex = i ;
233  }
234  }
235 
236  if( numNonGlobal == 0 )
237  {
238  // Dummy entry for each object type.
239  L1IndexCombo tmpCombo ;
240 
241  for( int i = 0 ; i < numOfObjects() ; ++i )
242  {
243  tmpCombo.push_back( 0 ) ;
244  }
245 
246  indexCombos_.push_back( tmpCombo ) ;
247  }
248  else if( numNonGlobal == 1 )
249  {
250  int nParticles = 0 ;
251 
252  if( nonGlobalType == kEM )
253  {
254  nParticles = emParticles_.size() ;
255  }
256  else if( nonGlobalType == kJet )
257  {
258  nParticles = jetParticles_.size() ;
259  }
260  else if( nonGlobalType == kMuon )
261  {
262  nParticles = muonParticles_.size() ;
263  }
264 
265  for( int i = 0 ; i < nParticles ; ++i )
266  {
267  L1IndexCombo tmpCombo ;
268 
269  for( int j = 0 ; j < numOfObjects() ; ++j )
270  {
271  if( j == nonGlobalIndex )
272  {
273  tmpCombo.push_back( i ) ;
274  }
275  else
276  {
277  tmpCombo.push_back( 0 ) ;
278  }
279  }
280 
281  indexCombos_.push_back( tmpCombo ) ;
282  }
283  }
284  }
285 
286  return indexCombos_ ;
287 }
int i
Definition: DBlmapReader.cc:9
L1IndexComboVector indexCombos_
int numOfObjects() const
std::vector< unsigned int > L1IndexCombo
#define nParticles
Definition: Histograms.cc:24
int j
Definition: DBlmapReader.cc:9
L1EmParticleVectorRef emParticles_
L1MuonParticleVectorRef muonParticles_
static bool objectTypeIsGlobal(L1ObjectType type)
L1JetParticleVectorRef jetParticles_
L1ObjectTypeVector objectTypes_
const L1JetParticle * L1ParticleMap::jetParticleInCombo ( int  aIndexInCombo,
const L1IndexCombo aCombo 
) const

Definition at line 340 of file L1ParticleMap.cc.

References jetParticles_, kJet, and objectTypes_.

342 {
343  L1ObjectType type = objectTypes_[ aIndexInCombo ] ;
344  int particleInList = aCombo[ aIndexInCombo ] ;
345 
346  if( type == kJet )
347  {
348  return jetParticles_[ particleInList ].get() ;
349  }
350  else
351  {
352  return 0 ;
353  }
354 }
type
Definition: HCALResponse.h:21
L1JetParticleVectorRef jetParticles_
L1ObjectTypeVector objectTypes_
const L1JetParticleVectorRef& l1extra::L1ParticleMap::jetParticles ( ) const
inline

Definition at line 315 of file L1ParticleMap.h.

References jetParticles_.

316  { return jetParticles_ ; }
L1JetParticleVectorRef jetParticles_
const L1MuonParticle * L1ParticleMap::muonParticleInCombo ( int  aIndexInCombo,
const L1IndexCombo aCombo 
) const

Definition at line 357 of file L1ParticleMap.cc.

References kMuon, muonParticles_, and objectTypes_.

359 {
360  L1ObjectType type = objectTypes_[ aIndexInCombo ] ;
361  int particleInList = aCombo[ aIndexInCombo ] ;
362 
363  if( type == kMuon )
364  {
365  return muonParticles_[ particleInList ].get() ;
366  }
367  else
368  {
369  return 0 ;
370  }
371 }
type
Definition: HCALResponse.h:21
L1MuonParticleVectorRef muonParticles_
L1ObjectTypeVector objectTypes_
const L1MuonParticleVectorRef& l1extra::L1ParticleMap::muonParticles ( ) const
inline

Definition at line 318 of file L1ParticleMap.h.

References muonParticles_.

319  { return muonParticles_ ; }
L1MuonParticleVectorRef muonParticles_
int l1extra::L1ParticleMap::numOfObjects ( ) const
inline

Definition at line 309 of file L1ParticleMap.h.

References objectTypes_.

Referenced by candidateCombo(), and indexCombos().

310  { return objectTypes_.size() ; }
L1ObjectTypeVector objectTypes_
bool L1ParticleMap::objectTypeIsGlobal ( L1ObjectType  type)
static

Definition at line 426 of file L1ParticleMap.cc.

References kEtHad, kEtMiss, and kEtTotal.

Referenced by indexCombos().

const L1ObjectTypeVector& l1extra::L1ParticleMap::objectTypes ( ) const
inline

Definition at line 305 of file L1ParticleMap.h.

References objectTypes_.

306  { return objectTypes_ ; }
L1ObjectTypeVector objectTypes_
bool l1extra::L1ParticleMap::triggerDecision ( ) const
inline

Definition at line 299 of file L1ParticleMap.h.

References triggerDecision_.

300  { return triggerDecision_ ; }
const std::string& l1extra::L1ParticleMap::triggerName ( ) const
inline

Definition at line 296 of file L1ParticleMap.h.

References triggerType_.

297  { return triggerName( triggerType_ ) ; }
const std::string & triggerName() const
L1TriggerType triggerType_
const std::string & L1ParticleMap::triggerName ( L1TriggerType  type)
static

Definition at line 406 of file L1ParticleMap.cc.

References triggerNames_.

407 {
408  return triggerNames_[ type ] ;
409 }
type
Definition: HCALResponse.h:21
static std::string triggerNames_[kNumOfL1TriggerTypes]
L1TriggerType l1extra::L1ParticleMap::triggerType ( ) const
inline

Definition at line 293 of file L1ParticleMap.h.

References triggerType_.

294  { return triggerType_ ; }
L1TriggerType triggerType_
L1ParticleMap::L1TriggerType L1ParticleMap::triggerType ( const std::string &  name)
static

Definition at line 412 of file L1ParticleMap.cc.

References i, kNumOfL1TriggerTypes, and triggerNames_.

413 {
414  for( int i = 0 ; i < kNumOfL1TriggerTypes ; ++i )
415  {
416  if( triggerNames_[ i ] == name )
417  {
418  return ( L1TriggerType ) i ;
419  }
420  }
421 
422  return kNumOfL1TriggerTypes ;
423 }
int i
Definition: DBlmapReader.cc:9
static std::string triggerNames_[kNumOfL1TriggerTypes]

Member Data Documentation

L1EmParticleVectorRef l1extra::L1ParticleMap::emParticles_
private

Definition at line 380 of file L1ParticleMap.h.

Referenced by candidateInCombo(), emParticleInCombo(), emParticles(), and indexCombos().

L1EtMissParticleRefProd l1extra::L1ParticleMap::etMissParticle_
private

Definition at line 386 of file L1ParticleMap.h.

Referenced by candidateInCombo(), etMissParticle(), and etMissParticleInCombo().

L1IndexComboVector l1extra::L1ParticleMap::indexCombos_
mutableprivate

Definition at line 397 of file L1ParticleMap.h.

Referenced by indexCombos().

L1JetParticleVectorRef l1extra::L1ParticleMap::jetParticles_
private

Definition at line 381 of file L1ParticleMap.h.

Referenced by candidateInCombo(), indexCombos(), jetParticleInCombo(), and jetParticles().

L1MuonParticleVectorRef l1extra::L1ParticleMap::muonParticles_
private

Definition at line 382 of file L1ParticleMap.h.

Referenced by candidateInCombo(), indexCombos(), muonParticleInCombo(), and muonParticles().

L1ObjectTypeVector l1extra::L1ParticleMap::objectTypes_
private
bool l1extra::L1ParticleMap::triggerDecision_
private

Definition at line 372 of file L1ParticleMap.h.

Referenced by triggerDecision().

std::string L1ParticleMap::triggerNames_
staticprivate

Definition at line 400 of file L1ParticleMap.h.

Referenced by triggerName(), and triggerType().

L1TriggerType l1extra::L1ParticleMap::triggerType_
private

Definition at line 370 of file L1ParticleMap.h.

Referenced by triggerName(), and triggerType().