#include <PhysicsTools/Utilities/interface/PdgIdExcluder.h>
Public Member Functions | |
template<typename T> | |
bool | operator() (const T &t) const |
PdgIdExcluder & | operator== (const PdgIdExcluder &o) |
PdgIdExcluder (const PdgIdExcluder &o) | |
PdgIdExcluder (const std::vector< int > &pdgId) | |
Private Attributes | |
std::vector< int >::const_iterator | begin_ |
std::vector< int >::const_iterator | end_ |
std::vector< int > | pdgId_ |
Definition at line 12 of file PdgIdExcluder.h.
PdgIdExcluder::PdgIdExcluder | ( | const std::vector< int > & | pdgId | ) | [inline] |
Definition at line 13 of file PdgIdExcluder.h.
References funct::abs(), begin_, end_, i, and pdgId_.
00013 { 00014 for( std::vector<int>::const_iterator i = pdgId.begin(); i != pdgId.end(); ++ i ) 00015 pdgId_.push_back( abs( * i ) ); 00016 begin_ = pdgId_.begin(); 00017 end_ = pdgId_.end(); 00018 }
PdgIdExcluder::PdgIdExcluder | ( | const PdgIdExcluder & | o | ) | [inline] |
Definition at line 19 of file PdgIdExcluder.h.
00019 : 00020 pdgId_( o.pdgId_ ), begin_( pdgId_.begin() ), end_( pdgId_.end() ) { } PdgIdExcluder & operator==( const PdgIdExcluder & o ) {
bool PdgIdExcluder::operator() | ( | const T & | t | ) | const [inline] |
PdgIdExcluder& PdgIdExcluder::operator== | ( | const PdgIdExcluder & | o | ) | [inline] |
std::vector<int>::const_iterator PdgIdExcluder::begin_ [private] |
std::vector<int>::const_iterator PdgIdExcluder::end_ [private] |
std::vector<int> PdgIdExcluder::pdgId_ [private] |