3
3
/* * \class TrackMultiSelector
4
4
*
5
5
* selects a subset of a track collection, copying extra information on demand
6
- *
7
- * \author Giovanni Petrucciani
6
+ *
7
+ * \author Giovanni Petrucciani
8
8
*
9
9
*
10
10
*
@@ -45,7 +45,7 @@ namespace reco { namespace modules {
45
45
template <typename T> std::pair<T,T> p2p (const edm::ParameterSet & cfg, const std::string name);
46
46
};
47
47
public:
48
- // / constructor
48
+ // / constructor
49
49
explicit TrackMultiSelector ( const edm::ParameterSet & cfg ) ;
50
50
// / destructor
51
51
virtual ~TrackMultiSelector () ;
@@ -61,8 +61,12 @@ namespace reco { namespace modules {
61
61
const std::vector<Point > &points, const Block &cut);
62
62
// / source collection label
63
63
edm::InputTag src_;
64
- edm::InputTag vertices_;
65
- edm::InputTag beamspot_;
64
+ edm::EDGetTokenT<reco::VertexCollection> vertices_;
65
+ edm::EDGetTokenT<reco::BeamSpot> beamspot_;
66
+ edm::EDGetTokenT<reco::TrackCollection> tokenTracks;
67
+ edm::EDGetTokenT<std::vector<Trajectory> > tokenTraj;
68
+ edm::EDGetTokenT<TrajTrackAssociationCollection> tokenTrajTrack;
69
+
66
70
double beamspotDZsigmas_, beamspotD0_;
67
71
// / copy only the tracks, not extras and rechits (for AOD)
68
72
bool copyExtras_;
@@ -71,7 +75,7 @@ namespace reco { namespace modules {
71
75
// / split selections in more sets
72
76
bool splitOutputs_;
73
77
// / filter psets
74
- std::vector<Block> blocks_;
78
+ std::vector<Block> blocks_;
75
79
// / vertex cuts
76
80
int32_t vtxNumber_;
77
81
size_t vtxTracks_;
0 commit comments