CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
ParticleAllocator Class Reference

#include <Particle.h>

Public Member Functions

void AddParticle (const Particle &particle, List_t &list)
 
void FreeList (List_t &list)
 
void FreeListNode (List_t &list, LPIT_t it)
 

Private Attributes

List_t fFreeNodes
 

Detailed Description

Definition at line 177 of file Particle.h.

Member Function Documentation

◆ AddParticle()

void ParticleAllocator::AddParticle ( const Particle particle,
List_t list 
)

Definition at line 107 of file Particle.cc.

107  {
108  if (fFreeNodes.empty())
109  list.push_back(p);
110  else {
111  list.splice(list.end(), fFreeNodes, fFreeNodes.begin());
112  list.back() = p;
113  }
114 }

References fFreeNodes, list(), and AlCaHLTBitMon_ParallelJobs::p.

Referenced by Decay(), and gen::Hydjet2Hadronizer::generatePartonsAndHadronize().

◆ FreeList()

void ParticleAllocator::FreeList ( List_t list)

Definition at line 118 of file Particle.cc.

118 { fFreeNodes.splice(fFreeNodes.end(), list); }

References fFreeNodes, and list().

Referenced by gen::Hydjet2Hadronizer::generatePartonsAndHadronize().

◆ FreeListNode()

void ParticleAllocator::FreeListNode ( List_t list,
LPIT_t  it 
)

Definition at line 116 of file Particle.cc.

116 { fFreeNodes.splice(fFreeNodes.end(), list, it); }

References fFreeNodes, and list().

Member Data Documentation

◆ fFreeNodes

List_t ParticleAllocator::fFreeNodes
private

Definition at line 184 of file Particle.h.

Referenced by AddParticle(), FreeList(), and FreeListNode().

AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
list
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger list("!*", "!HLTx*" if it matches 2 triggers or more) will accept the event if all the matching triggers are FAIL. It will reject the event if any of the triggers are PASS or EXCEPTION(this matches the behavior of "!*" before the partial wildcard feature was incorporated). Triggers which are in the READY state are completely ignored.(READY should never be returned since the trigger paths have been run
ParticleAllocator::fFreeNodes
List_t fFreeNodes
Definition: Particle.h:184