Public Types | |
typedef reco::MuonCollection | collection |
typedef container::const_iterator | const_iterator |
typedef std::vector< const reco::Muon * > | container |
Public Member Functions | |
const_iterator | begin () const |
const_iterator | end () const |
MuonConfigSelector (const edm::ParameterSet &cfg) | |
void | select (const edm::Handle< reco::MuonCollection > &c, const edm::Event &evt, const edm::EventSetup &) |
size_t | size () const |
Private Attributes | |
container | all_ |
container | selected_ |
AlignmentMuonSelector | theSelector |
Definition at line 25 of file AlignmentMuonSelectorModule.cc.
Definition at line 29 of file AlignmentMuonSelectorModule.cc.
typedef container::const_iterator MuonConfigSelector::const_iterator |
Definition at line 28 of file AlignmentMuonSelectorModule.cc.
typedef std::vector<const reco::Muon*> MuonConfigSelector::container |
Definition at line 27 of file AlignmentMuonSelectorModule.cc.
MuonConfigSelector::MuonConfigSelector | ( | const edm::ParameterSet & | cfg | ) | [inline] |
const_iterator MuonConfigSelector::begin | ( | ) | const [inline] |
Definition at line 34 of file AlignmentMuonSelectorModule.cc.
References selected_.
00034 { return selected_.begin(); }
const_iterator MuonConfigSelector::end | ( | ) | const [inline] |
Definition at line 35 of file AlignmentMuonSelectorModule.cc.
References selected_.
00035 { return selected_.end(); }
void MuonConfigSelector::select | ( | const edm::Handle< reco::MuonCollection > & | c, | |
const edm::Event & | evt, | |||
const edm::EventSetup & | ||||
) | [inline] |
Definition at line 38 of file AlignmentMuonSelectorModule.cc.
References all_, i, edm::Handle< T >::product(), AlignmentMuonSelector::select(), selected_, and theSelector.
00039 { 00040 all_.clear(); 00041 selected_.clear(); 00042 for (collection::const_iterator i = c.product()->begin(), iE = c.product()->end(); 00043 i != iE; ++i){ 00044 all_.push_back(& * i ); 00045 } 00046 selected_ = theSelector.select(all_, evt); // might add dummy 00047 }
size_t MuonConfigSelector::size | ( | void | ) | const [inline] |
Definition at line 36 of file AlignmentMuonSelectorModule.cc.
References selected_.
00036 { return selected_.size(); }
container MuonConfigSelector::all_ [private] |
container MuonConfigSelector::selected_ [private] |