CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

SeedConfigSelector Struct Reference

List of all members.

Public Types

typedef TrajectorySeedCollection collection
typedef container::const_iterator const_iterator
typedef std::vector< const
TrajectorySeed * > 
container

Public Member Functions

const_iterator begin () const
const_iterator end () const
 SeedConfigSelector (const edm::ParameterSet &cfg)
void select (const edm::Handle< TrajectorySeedCollection > c, const edm::Event &evt, const edm::EventSetup &)
size_t size () const

Private Attributes

container all_
container selected_
AlignmentSeedSelector theSelector

Detailed Description

Definition at line 7 of file AlignmentSeedSelectorModule.cc.


Member Typedef Documentation

Definition at line 11 of file AlignmentSeedSelectorModule.cc.

typedef container::const_iterator SeedConfigSelector::const_iterator

Definition at line 10 of file AlignmentSeedSelectorModule.cc.

typedef std::vector<const TrajectorySeed*> SeedConfigSelector::container

Definition at line 9 of file AlignmentSeedSelectorModule.cc.


Constructor & Destructor Documentation

SeedConfigSelector::SeedConfigSelector ( const edm::ParameterSet cfg) [inline]

Definition at line 13 of file AlignmentSeedSelectorModule.cc.

                                                    :
    theSelector(cfg) {}

Member Function Documentation

const_iterator SeedConfigSelector::begin ( ) const [inline]

Definition at line 16 of file AlignmentSeedSelectorModule.cc.

References selected_.

{ return selected_.begin(); }
const_iterator SeedConfigSelector::end ( ) const [inline]

Definition at line 17 of file AlignmentSeedSelectorModule.cc.

References selected_.

{ return selected_.end(); }
void SeedConfigSelector::select ( const edm::Handle< TrajectorySeedCollection c,
const edm::Event evt,
const edm::EventSetup  
) [inline]

Definition at line 20 of file AlignmentSeedSelectorModule.cc.

References all_, i, edm::Handle< T >::product(), AlignmentSeedSelector::select(), selected_, and theSelector.

  {
    all_.clear();
    selected_.clear();
    for (collection::const_iterator i = c.product()->begin(), iE = c.product()->end();
         i != iE; ++i) {
      all_.push_back( & * i );
    }
    selected_ = theSelector.select(all_, evt); // might add dummy...
  }
size_t SeedConfigSelector::size ( void  ) const [inline]

Definition at line 18 of file AlignmentSeedSelectorModule.cc.

References selected_.

{ return selected_.size(); }

Member Data Documentation

Definition at line 33 of file AlignmentSeedSelectorModule.cc.

Referenced by select().

Definition at line 33 of file AlignmentSeedSelectorModule.cc.

Referenced by begin(), end(), select(), and size().

Definition at line 34 of file AlignmentSeedSelectorModule.cc.

Referenced by select().