CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
psClasses.queueList Class Reference
Inheritance diagram for psClasses.queueList:

Public Member Functions

def __init__ (self, servers=[], cores=4, jay=2)
 
def smallestQueue (self)
 
def thinerQueue (self)
 

Public Attributes

 Cores
 
 EdmRefreshLock
 
 Jay
 
 QueueLock
 

Detailed Description

Definition at line 201 of file psClasses.py.

Constructor & Destructor Documentation

def psClasses.queueList.__init__ (   self,
  servers = [],
  cores = 4,
  jay = 2 
)

Definition at line 202 of file psClasses.py.

References Enumerate.Enumerate.keys(), MagFieldConfig.keys, DictTypes.SortedKeysDict.keys(), edm::RefVectorBase< KEY >.keys(), edm::RefVectorBase< unsigned long >.keys(), edm::RefVectorBase< std::pair< unsigned int, unsigned int > >.keys(), edm::RefVectorBase< int >.keys(), edm::RefVectorBase< unsigned int >.keys(), edm::RefVectorBase< std::vector< unsigned int >::size_type >.keys(), edm::RefVectorBase< key_type >.keys(), size_type.keys(), pair< unsigned int, unsigned int >.keys(), RefVectorBase< KEY >.keys(), cmsPerfPublish.Table.keys, generateEDF.LumiInfoCont.keys(), vector< reco::PFCandidate > unsigned int.keys(), vector< reco::PFCandidate >.keys(), vector< reco::Vertex > unsigned int.keys(), vector< reco::Vertex >.keys(), OneToMany< L2MuonTrajectorySeedCollection, L2MuonTrajectorySeedCollection >.keys(), vector< reco::GsfTrack > unsigned int.keys(), vector< reco::GsfTrack >.keys(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::TrackCollection, unsigned short > >.keys(), edm::AssociationMap< edm::OneToMany< reco::TrackJetCollection, reco::TrackCollection > >.keys(), vector< reco::VertexCompositePtrCandidate >.keys(), OneToMany< reco::SecondaryVertexTagInfoCollection, reco::VertexCollection >.keys(), edm::AssociationMap< edm::OneToMany< reco::GenJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToValue< BasicClusterCollection, float, unsigned short > >.keys(), edm::AssociationMap< edm::OneToManyWithQualityGeneric< edm::View< reco::Track >, TrackingParticleCollection, double > >.keys(), edm::AssociationMap< edm::OneToMany< reco::FFTBasicJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToManyWithQuality< edm::View< reco::Vertex >, TrackingVertexCollection, double > >.keys(), edm::AssociationMap< edm::OneToManyWithQuality< std::vector< reco::PFCandidate >, std::vector< reco::Vertex >, int, unsigned int > >.keys(), edm::AssociationMap< edm::OneToMany< reco::BasicJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::GsfTrackCollection, unsigned short > >.keys(), edm::AssociationMap< edm::OneToValue< std::vector< reco::Track >, int, unsigned int > >.keys(), edm::AssociationMap< edm::OneToMany< reco::FFTPFJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToMany< reco::FFTGenJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToValue< std::vector< reco::GsfTrack >, double, unsigned int > >.keys(), edm::AssociationMap< edm::OneToMany< std::vector< SimTrack >, std::vector< OmniClusterRef >, unsigned int > >.keys(), edm::AssociationMap< edm::OneToMany< std::vector< reco::CaloJet >, std::vector< reco::Track >, unsigned int > >.keys(), vector< reco::Track > unsigned int.keys(), edm::AssociationMap< edm::OneToMany< std::vector< reco::PFJet >, std::vector< reco::PFCandidate >, unsigned int > >.keys(), edm::AssociationMap< edm::OneToValue< std::vector< reco::Track >, double, unsigned int > >.keys(), edm::AssociationMap< edm::OneToOne< reco::CandidateCollection, reco::CandidateCollection > >.keys(), edm::AssociationMap< edm::OneToManyWithQuality< std::vector< reco::Vertex >, std::vector< reco::Track >, float, unsigned int > >.keys(), edm::AssociationMap< edm::OneToManyWithQuality< std::vector< reco::Vertex >, std::vector< reco::PFCandidate >, int, unsigned int > >.keys(), edm::AssociationMap< edm::OneToOne< reco::TrackCollection, std::vector< MomentumConstraint > > >.keys(), edm::AssociationMap< edm::OneToOne< std::vector< TrackCandidate >, std::vector< Trajectory >, unsigned int > >.keys(), edm::AssociationMap< edm::OneToManyWithQualityGeneric< TrackingParticleCollection, edm::View< reco::Track >, double > >.keys(), edm::AssociationMap< edm::OneToOne< TrackCollection, TrackInfoCollection > >.keys(), edm::AssociationMap< edm::OneToValue< std::vector< reco::Photon >, float > >.keys(), edm::AssociationMap< edm::OneToManyWithQuality< std::vector< reco::Vertex >, std::vector< reco::Track >, int, unsigned int > >.keys(), edm::AssociationMap< edm::OneToOne< reco::GsfTrackCollection, std::vector< VertexConstraint > > >.keys(), edm::AssociationMap< edm::OneToValue< std::vector< reco::RecoChargedCandidate >, float > >.keys(), edm::AssociationMap< edm::OneToMany< std::vector< reco::Track >, std::vector< TrajectorySeed >, unsigned int > >.keys(), edm::AssociationMap< edm::OneToMany< std::vector< Trajectory >, std::vector< TrajectorySeed >, unsigned int > >.keys(), vector< TrackCandidate >.keys(), edm::AssociationMap< edm::OneToMany< reco::CandSecondaryVertexTagInfoCollection, std::vector< reco::VertexCompositePtrCandidate > > >.keys(), edm::AssociationMap< edm::OneToManyWithQualityGeneric< CandidateView, CandidateView, bool > >.keys(), edm::AssociationMap< edm::OneToOne< SuperClusterCollection, HFEMClusterShapeCollection > >.keys(), edm::AssociationMap< edm::OneToMany< reco::FFTJPTJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToValue< reco::TrackCollection, reco::TauImpactParameterTrackData > >.keys(), edm::AssociationMap< edm::OneToValue< std::vector< reco::RecoEcalCandidate >, float > >.keys(), edm::AssociationMap< edm::OneToOne< GsfElectronCollection, ElectronIDCollection > >.keys(), edm::AssociationMap< edm::OneToMany< reco::CaloJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToOne< BasicClusterCollection, ClusterShapeCollection > >.keys(), vector< reco::CaloJet >.keys(), vector< reco::PFJet > unsigned int.keys(), edm::AssociationMap< edm::OneToMany< reco::SecondaryVertexTagInfoCollection, reco::VertexCollection > >.keys(), edm::AssociationMap< edm::OneToOne< reco::TrackCollection, std::vector< VertexConstraint > > >.keys(), edm::AssociationMap< edm::OneToMany< reco::JPTJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToMany< reco::PFClusterJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< Tag >.keys(), edm::AssociationMap< edm::OneToOne< reco::GsfTrackCollection, std::vector< MomentumConstraint > > >.keys(), edm::AssociationMap< edm::OneToValue< std::vector< reco::Track >, bool, unsigned int > >.keys(), edm::AssociationMap< edm::OneToOne< reco::TrackCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToOneGeneric< reco::CandidateView, reco::CandidateView > >.keys(), edm::AssociationMap< edm::OneToOne< reco::TrackCollection, std::vector< TrackParamConstraint > > >.keys(), edm::AssociationMap< edm::OneToManyWithQuality< std::vector< reco::Vertex >, std::vector< reco::PFCandidate >, float, unsigned int > >.keys(), edm::AssociationMap< edm::OneToOne< std::vector< reco::Track >, std::vector< Trajectory >, unsigned int > >.keys(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, std::vector< Trajectory >, unsigned int > >.keys(), edm::AssociationMap< edm::OneToMany< reco::FFTCaloJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToValue< reco::CaloJetCollection, reco::L2TauIsolationInfo > >.keys(), edm::AssociationMap< edm::OneToManyWithQuality< std::vector< reco::Track >, std::vector< reco::Vertex >, int, unsigned int > >.keys(), vector< Trajectory > unsigned int.keys(), OneToOne< reco::TrackCollection, EcalRecHitCollection >.keys(), vector< reco::CaloJet > unsigned int.keys(), edm::AssociationMap< edm::OneToManyWithQuality< reco::CandidateCollection, reco::CandidateCollection, double > >.keys(), edm::AssociationMap< edm::OneToManyWithQuality< TrackingVertexCollection, edm::View< reco::Vertex >, double > >.keys(), edm::AssociationMap< edm::OneToValue< std::vector< reco::Electron >, float > >.keys(), edm::AssociationMap< edm::OneToMany< reco::GenericJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToMany< reco::FFTTrackJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToMany< L2MuonTrajectorySeedCollection, L2MuonTrajectorySeedCollection > >.keys(), edm::AssociationMap< edm::OneToValue< std::vector< reco::Track >, float, unsigned int > >.keys(), vector< Trajectory >.keys(), vector< TrackCandidate > unsigned int.keys(), edm::AssociationMap< edm::OneToMany< JetC, reco::TrackCollection > >.keys(), vector< SimTrack >.keys(), vector< reco::PFJet >.keys(), vector< SimTrack > unsigned int.keys(), edm::AssociationMap< edm::OneToMany< reco::PFJetCollection, reco::TrackCollection > >.keys(), vector< reco::Track >.keys(), and svgfig.SVG.keys().

202  def __init__(self,servers = [],cores = 4,jay = 2):
203  dict.__init__(self,dict.fromkeys(servers))
204  for srv in self.keys():
205  self[srv]=queueNode(cores,jay)
206  self.Cores = cores
207  self.Jay = jay
208  self.QueueLock = RLock()
209  self.EdmRefreshLock = RLock()
210 
211 
def __init__(self, servers=[], cores=4, jay=2)
Definition: psClasses.py:202

Member Function Documentation

def psClasses.queueList.smallestQueue (   self)

Definition at line 212 of file psClasses.py.

References Enumerate.Enumerate.keys(), MagFieldConfig.keys, DictTypes.SortedKeysDict.keys(), edm::RefVectorBase< KEY >.keys(), edm::RefVectorBase< unsigned long >.keys(), edm::RefVectorBase< std::pair< unsigned int, unsigned int > >.keys(), edm::RefVectorBase< int >.keys(), edm::RefVectorBase< unsigned int >.keys(), edm::RefVectorBase< std::vector< unsigned int >::size_type >.keys(), edm::RefVectorBase< key_type >.keys(), size_type.keys(), pair< unsigned int, unsigned int >.keys(), RefVectorBase< KEY >.keys(), cmsPerfPublish.Table.keys, generateEDF.LumiInfoCont.keys(), vector< reco::PFCandidate > unsigned int.keys(), vector< reco::PFCandidate >.keys(), vector< reco::Vertex > unsigned int.keys(), vector< reco::Vertex >.keys(), OneToMany< L2MuonTrajectorySeedCollection, L2MuonTrajectorySeedCollection >.keys(), vector< reco::GsfTrack > unsigned int.keys(), vector< reco::GsfTrack >.keys(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::TrackCollection, unsigned short > >.keys(), edm::AssociationMap< edm::OneToMany< reco::TrackJetCollection, reco::TrackCollection > >.keys(), vector< reco::VertexCompositePtrCandidate >.keys(), OneToMany< reco::SecondaryVertexTagInfoCollection, reco::VertexCollection >.keys(), edm::AssociationMap< edm::OneToMany< reco::GenJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToValue< BasicClusterCollection, float, unsigned short > >.keys(), edm::AssociationMap< edm::OneToManyWithQualityGeneric< edm::View< reco::Track >, TrackingParticleCollection, double > >.keys(), edm::AssociationMap< edm::OneToMany< reco::FFTBasicJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToManyWithQuality< edm::View< reco::Vertex >, TrackingVertexCollection, double > >.keys(), edm::AssociationMap< edm::OneToManyWithQuality< std::vector< reco::PFCandidate >, std::vector< reco::Vertex >, int, unsigned int > >.keys(), edm::AssociationMap< edm::OneToMany< reco::BasicJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::GsfTrackCollection, unsigned short > >.keys(), edm::AssociationMap< edm::OneToValue< std::vector< reco::Track >, int, unsigned int > >.keys(), edm::AssociationMap< edm::OneToMany< reco::FFTPFJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToMany< reco::FFTGenJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToValue< std::vector< reco::GsfTrack >, double, unsigned int > >.keys(), edm::AssociationMap< edm::OneToMany< std::vector< SimTrack >, std::vector< OmniClusterRef >, unsigned int > >.keys(), edm::AssociationMap< edm::OneToMany< std::vector< reco::CaloJet >, std::vector< reco::Track >, unsigned int > >.keys(), vector< reco::Track > unsigned int.keys(), edm::AssociationMap< edm::OneToMany< std::vector< reco::PFJet >, std::vector< reco::PFCandidate >, unsigned int > >.keys(), edm::AssociationMap< edm::OneToValue< std::vector< reco::Track >, double, unsigned int > >.keys(), edm::AssociationMap< edm::OneToOne< reco::CandidateCollection, reco::CandidateCollection > >.keys(), edm::AssociationMap< edm::OneToManyWithQuality< std::vector< reco::Vertex >, std::vector< reco::Track >, float, unsigned int > >.keys(), edm::AssociationMap< edm::OneToManyWithQuality< std::vector< reco::Vertex >, std::vector< reco::PFCandidate >, int, unsigned int > >.keys(), edm::AssociationMap< edm::OneToOne< reco::TrackCollection, std::vector< MomentumConstraint > > >.keys(), edm::AssociationMap< edm::OneToOne< std::vector< TrackCandidate >, std::vector< Trajectory >, unsigned int > >.keys(), edm::AssociationMap< edm::OneToManyWithQualityGeneric< TrackingParticleCollection, edm::View< reco::Track >, double > >.keys(), edm::AssociationMap< edm::OneToOne< TrackCollection, TrackInfoCollection > >.keys(), edm::AssociationMap< edm::OneToValue< std::vector< reco::Photon >, float > >.keys(), edm::AssociationMap< edm::OneToManyWithQuality< std::vector< reco::Vertex >, std::vector< reco::Track >, int, unsigned int > >.keys(), edm::AssociationMap< edm::OneToOne< reco::GsfTrackCollection, std::vector< VertexConstraint > > >.keys(), edm::AssociationMap< edm::OneToValue< std::vector< reco::RecoChargedCandidate >, float > >.keys(), edm::AssociationMap< edm::OneToMany< std::vector< reco::Track >, std::vector< TrajectorySeed >, unsigned int > >.keys(), edm::AssociationMap< edm::OneToMany< std::vector< Trajectory >, std::vector< TrajectorySeed >, unsigned int > >.keys(), vector< TrackCandidate >.keys(), edm::AssociationMap< edm::OneToMany< reco::CandSecondaryVertexTagInfoCollection, std::vector< reco::VertexCompositePtrCandidate > > >.keys(), edm::AssociationMap< edm::OneToManyWithQualityGeneric< CandidateView, CandidateView, bool > >.keys(), edm::AssociationMap< edm::OneToOne< SuperClusterCollection, HFEMClusterShapeCollection > >.keys(), edm::AssociationMap< edm::OneToMany< reco::FFTJPTJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToValue< reco::TrackCollection, reco::TauImpactParameterTrackData > >.keys(), edm::AssociationMap< edm::OneToValue< std::vector< reco::RecoEcalCandidate >, float > >.keys(), edm::AssociationMap< edm::OneToOne< GsfElectronCollection, ElectronIDCollection > >.keys(), edm::AssociationMap< edm::OneToMany< reco::CaloJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToOne< BasicClusterCollection, ClusterShapeCollection > >.keys(), vector< reco::CaloJet >.keys(), vector< reco::PFJet > unsigned int.keys(), edm::AssociationMap< edm::OneToMany< reco::SecondaryVertexTagInfoCollection, reco::VertexCollection > >.keys(), edm::AssociationMap< edm::OneToOne< reco::TrackCollection, std::vector< VertexConstraint > > >.keys(), edm::AssociationMap< edm::OneToMany< reco::JPTJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToMany< reco::PFClusterJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< Tag >.keys(), edm::AssociationMap< edm::OneToOne< reco::GsfTrackCollection, std::vector< MomentumConstraint > > >.keys(), edm::AssociationMap< edm::OneToValue< std::vector< reco::Track >, bool, unsigned int > >.keys(), edm::AssociationMap< edm::OneToOne< reco::TrackCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToOneGeneric< reco::CandidateView, reco::CandidateView > >.keys(), edm::AssociationMap< edm::OneToOne< reco::TrackCollection, std::vector< TrackParamConstraint > > >.keys(), edm::AssociationMap< edm::OneToManyWithQuality< std::vector< reco::Vertex >, std::vector< reco::PFCandidate >, float, unsigned int > >.keys(), edm::AssociationMap< edm::OneToOne< std::vector< reco::Track >, std::vector< Trajectory >, unsigned int > >.keys(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, std::vector< Trajectory >, unsigned int > >.keys(), edm::AssociationMap< edm::OneToMany< reco::FFTCaloJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToValue< reco::CaloJetCollection, reco::L2TauIsolationInfo > >.keys(), edm::AssociationMap< edm::OneToManyWithQuality< std::vector< reco::Track >, std::vector< reco::Vertex >, int, unsigned int > >.keys(), vector< Trajectory > unsigned int.keys(), OneToOne< reco::TrackCollection, EcalRecHitCollection >.keys(), vector< reco::CaloJet > unsigned int.keys(), edm::AssociationMap< edm::OneToManyWithQuality< reco::CandidateCollection, reco::CandidateCollection, double > >.keys(), edm::AssociationMap< edm::OneToManyWithQuality< TrackingVertexCollection, edm::View< reco::Vertex >, double > >.keys(), edm::AssociationMap< edm::OneToValue< std::vector< reco::Electron >, float > >.keys(), edm::AssociationMap< edm::OneToMany< reco::GenericJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToMany< reco::FFTTrackJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToMany< L2MuonTrajectorySeedCollection, L2MuonTrajectorySeedCollection > >.keys(), edm::AssociationMap< edm::OneToValue< std::vector< reco::Track >, float, unsigned int > >.keys(), vector< Trajectory >.keys(), vector< TrackCandidate > unsigned int.keys(), edm::AssociationMap< edm::OneToMany< JetC, reco::TrackCollection > >.keys(), vector< SimTrack >.keys(), vector< reco::PFJet >.keys(), vector< SimTrack > unsigned int.keys(), edm::AssociationMap< edm::OneToMany< reco::PFJetCollection, reco::TrackCollection > >.keys(), vector< reco::Track >.keys(), and svgfig.SVG.keys().

212  def smallestQueue(self):
213  smallest=self.keys()[0]
214  sizeSmallest=self[smallest].pendingThreads()
215  for srv in self.keys()[1:]:
216  size=self[srv].pendingThreads()
217  if size < sizeSmallest:
218  smallest = srv
219  sizeSmallest = size
220  return smallest
221 
def smallestQueue(self)
Definition: psClasses.py:212
def psClasses.queueList.thinerQueue (   self)

Definition at line 222 of file psClasses.py.

References Enumerate.Enumerate.keys(), MagFieldConfig.keys, DictTypes.SortedKeysDict.keys(), edm::RefVectorBase< KEY >.keys(), edm::RefVectorBase< unsigned long >.keys(), edm::RefVectorBase< std::pair< unsigned int, unsigned int > >.keys(), edm::RefVectorBase< int >.keys(), edm::RefVectorBase< unsigned int >.keys(), edm::RefVectorBase< std::vector< unsigned int >::size_type >.keys(), edm::RefVectorBase< key_type >.keys(), size_type.keys(), pair< unsigned int, unsigned int >.keys(), RefVectorBase< KEY >.keys(), cmsPerfPublish.Table.keys, generateEDF.LumiInfoCont.keys(), vector< reco::PFCandidate > unsigned int.keys(), vector< reco::PFCandidate >.keys(), vector< reco::Vertex > unsigned int.keys(), vector< reco::Vertex >.keys(), OneToMany< L2MuonTrajectorySeedCollection, L2MuonTrajectorySeedCollection >.keys(), vector< reco::GsfTrack > unsigned int.keys(), vector< reco::GsfTrack >.keys(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::TrackCollection, unsigned short > >.keys(), edm::AssociationMap< edm::OneToMany< reco::TrackJetCollection, reco::TrackCollection > >.keys(), vector< reco::VertexCompositePtrCandidate >.keys(), OneToMany< reco::SecondaryVertexTagInfoCollection, reco::VertexCollection >.keys(), edm::AssociationMap< edm::OneToMany< reco::GenJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToValue< BasicClusterCollection, float, unsigned short > >.keys(), edm::AssociationMap< edm::OneToManyWithQualityGeneric< edm::View< reco::Track >, TrackingParticleCollection, double > >.keys(), edm::AssociationMap< edm::OneToMany< reco::FFTBasicJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToManyWithQuality< edm::View< reco::Vertex >, TrackingVertexCollection, double > >.keys(), edm::AssociationMap< edm::OneToManyWithQuality< std::vector< reco::PFCandidate >, std::vector< reco::Vertex >, int, unsigned int > >.keys(), edm::AssociationMap< edm::OneToMany< reco::BasicJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, reco::GsfTrackCollection, unsigned short > >.keys(), edm::AssociationMap< edm::OneToValue< std::vector< reco::Track >, int, unsigned int > >.keys(), edm::AssociationMap< edm::OneToMany< reco::FFTPFJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToMany< reco::FFTGenJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToValue< std::vector< reco::GsfTrack >, double, unsigned int > >.keys(), edm::AssociationMap< edm::OneToMany< std::vector< SimTrack >, std::vector< OmniClusterRef >, unsigned int > >.keys(), edm::AssociationMap< edm::OneToMany< std::vector< reco::CaloJet >, std::vector< reco::Track >, unsigned int > >.keys(), vector< reco::Track > unsigned int.keys(), edm::AssociationMap< edm::OneToMany< std::vector< reco::PFJet >, std::vector< reco::PFCandidate >, unsigned int > >.keys(), edm::AssociationMap< edm::OneToValue< std::vector< reco::Track >, double, unsigned int > >.keys(), edm::AssociationMap< edm::OneToOne< reco::CandidateCollection, reco::CandidateCollection > >.keys(), edm::AssociationMap< edm::OneToManyWithQuality< std::vector< reco::Vertex >, std::vector< reco::Track >, float, unsigned int > >.keys(), edm::AssociationMap< edm::OneToManyWithQuality< std::vector< reco::Vertex >, std::vector< reco::PFCandidate >, int, unsigned int > >.keys(), edm::AssociationMap< edm::OneToOne< reco::TrackCollection, std::vector< MomentumConstraint > > >.keys(), edm::AssociationMap< edm::OneToOne< std::vector< TrackCandidate >, std::vector< Trajectory >, unsigned int > >.keys(), edm::AssociationMap< edm::OneToManyWithQualityGeneric< TrackingParticleCollection, edm::View< reco::Track >, double > >.keys(), edm::AssociationMap< edm::OneToOne< TrackCollection, TrackInfoCollection > >.keys(), edm::AssociationMap< edm::OneToValue< std::vector< reco::Photon >, float > >.keys(), edm::AssociationMap< edm::OneToManyWithQuality< std::vector< reco::Vertex >, std::vector< reco::Track >, int, unsigned int > >.keys(), edm::AssociationMap< edm::OneToOne< reco::GsfTrackCollection, std::vector< VertexConstraint > > >.keys(), edm::AssociationMap< edm::OneToValue< std::vector< reco::RecoChargedCandidate >, float > >.keys(), edm::AssociationMap< edm::OneToMany< std::vector< reco::Track >, std::vector< TrajectorySeed >, unsigned int > >.keys(), edm::AssociationMap< edm::OneToMany< std::vector< Trajectory >, std::vector< TrajectorySeed >, unsigned int > >.keys(), vector< TrackCandidate >.keys(), edm::AssociationMap< edm::OneToMany< reco::CandSecondaryVertexTagInfoCollection, std::vector< reco::VertexCompositePtrCandidate > > >.keys(), edm::AssociationMap< edm::OneToManyWithQualityGeneric< CandidateView, CandidateView, bool > >.keys(), edm::AssociationMap< edm::OneToOne< SuperClusterCollection, HFEMClusterShapeCollection > >.keys(), edm::AssociationMap< edm::OneToMany< reco::FFTJPTJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToValue< reco::TrackCollection, reco::TauImpactParameterTrackData > >.keys(), edm::AssociationMap< edm::OneToValue< std::vector< reco::RecoEcalCandidate >, float > >.keys(), edm::AssociationMap< edm::OneToOne< GsfElectronCollection, ElectronIDCollection > >.keys(), edm::AssociationMap< edm::OneToMany< reco::CaloJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToOne< BasicClusterCollection, ClusterShapeCollection > >.keys(), vector< reco::CaloJet >.keys(), vector< reco::PFJet > unsigned int.keys(), edm::AssociationMap< edm::OneToMany< reco::SecondaryVertexTagInfoCollection, reco::VertexCollection > >.keys(), edm::AssociationMap< edm::OneToOne< reco::TrackCollection, std::vector< VertexConstraint > > >.keys(), edm::AssociationMap< edm::OneToMany< reco::JPTJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToMany< reco::PFClusterJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< Tag >.keys(), edm::AssociationMap< edm::OneToOne< reco::GsfTrackCollection, std::vector< MomentumConstraint > > >.keys(), edm::AssociationMap< edm::OneToValue< std::vector< reco::Track >, bool, unsigned int > >.keys(), edm::AssociationMap< edm::OneToOne< reco::TrackCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToOneGeneric< reco::CandidateView, reco::CandidateView > >.keys(), edm::AssociationMap< edm::OneToOne< reco::TrackCollection, std::vector< TrackParamConstraint > > >.keys(), edm::AssociationMap< edm::OneToManyWithQuality< std::vector< reco::Vertex >, std::vector< reco::PFCandidate >, float, unsigned int > >.keys(), edm::AssociationMap< edm::OneToOne< std::vector< reco::Track >, std::vector< Trajectory >, unsigned int > >.keys(), edm::AssociationMap< edm::OneToOne< std::vector< Trajectory >, std::vector< Trajectory >, unsigned int > >.keys(), edm::AssociationMap< edm::OneToMany< reco::FFTCaloJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToValue< reco::CaloJetCollection, reco::L2TauIsolationInfo > >.keys(), edm::AssociationMap< edm::OneToManyWithQuality< std::vector< reco::Track >, std::vector< reco::Vertex >, int, unsigned int > >.keys(), vector< Trajectory > unsigned int.keys(), OneToOne< reco::TrackCollection, EcalRecHitCollection >.keys(), vector< reco::CaloJet > unsigned int.keys(), edm::AssociationMap< edm::OneToManyWithQuality< reco::CandidateCollection, reco::CandidateCollection, double > >.keys(), edm::AssociationMap< edm::OneToManyWithQuality< TrackingVertexCollection, edm::View< reco::Vertex >, double > >.keys(), edm::AssociationMap< edm::OneToValue< std::vector< reco::Electron >, float > >.keys(), edm::AssociationMap< edm::OneToMany< reco::GenericJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToMany< reco::FFTTrackJetCollection, reco::TrackCollection > >.keys(), edm::AssociationMap< edm::OneToMany< L2MuonTrajectorySeedCollection, L2MuonTrajectorySeedCollection > >.keys(), edm::AssociationMap< edm::OneToValue< std::vector< reco::Track >, float, unsigned int > >.keys(), vector< Trajectory >.keys(), vector< TrackCandidate > unsigned int.keys(), edm::AssociationMap< edm::OneToMany< JetC, reco::TrackCollection > >.keys(), vector< SimTrack >.keys(), vector< reco::PFJet >.keys(), vector< SimTrack > unsigned int.keys(), edm::AssociationMap< edm::OneToMany< reco::PFJetCollection, reco::TrackCollection > >.keys(), vector< reco::Track >.keys(), and svgfig.SVG.keys().

222  def thinerQueue(self):
223  thinnest=self.keys()[0]
224  weightThinnest=self[thinnest].queueWeight()
225  for srv in self.keys()[1:]:
226  weight=self[srv].queueWeight()
227  if weight < weightThinnest:
228  thinnest = srv
229  weightThinnest = weight
230  return thinnest
231 
232 
233 
234 
235 
236 
237 
def thinerQueue(self)
Definition: psClasses.py:222

Member Data Documentation

psClasses.queueList.Cores

Definition at line 206 of file psClasses.py.

psClasses.queueList.EdmRefreshLock

Definition at line 209 of file psClasses.py.

psClasses.queueList.Jay

Definition at line 207 of file psClasses.py.

psClasses.queueList.QueueLock

Definition at line 208 of file psClasses.py.