CMS 3D CMS Logo

BPHMultiSelect.cc
Go to the documentation of this file.
1 /*
2  * See header file for a description of this class.
3  *
4  * \author Paolo Ronchese INFN Padova
5  *
6  */
7 
8 //-----------------------
9 // This Class' Header --
10 //-----------------------
12 
13 //-------------------------------
14 // Collaborating Class Headers --
15 //-------------------------------
20 
21 //---------------
22 // C++ Headers --
23 //---------------
24 
25 
26 //-------------------
27 // Initializations --
28 //-------------------
29 
30 
31 //----------------
32 // Constructors --
33 //----------------
34 // see interface/BPHMultiSelect.hpp
35 
36 //--------------
37 // Destructor --
38 //--------------
39 // see interface/BPHMultiSelect.hpp
40 
41 //--------------
42 // Operations --
43 //--------------
45  const reco::Candidate & cand,
46  const BPHRecoBuilder* build ) const {
47  return select( cand, build );
48 }
49 
51  const reco::Candidate & cand ) const {
52  return select( cand );
53 }
54 
55 template<>
57  const BPHDecayMomentum& cand ) const {
58  return select( cand );
59 }
60 
61 
62 template<>
64  const BPHDecayVertex & cand ) const {
65  return select( cand );
66 }
67 
68 
69 template<>
71  const BPHKinematicFit & cand ) const {
72  return select( cand );
73 }
74 
bool accept(const typename T::AcceptArg &cand) const override
accept function