1 #ifndef RecoAlgos_TrackMultiSelector_h
2 #define RecoAlgos_TrackMultiSelector_h
38 std::pair<double,double>
pt;
61 const std::vector<Point> &points,
const Block &
cut);
88 std::auto_ptr< TrackingRecHitCollection> *
selHits_;
89 std::auto_ptr< std::vector<Trajectory> > *
selTrajs_;
90 std::auto_ptr< TrajTrackAssociationCollection > *
selTTAss_;
93 std::vector<TrackingRecHitRefProd>
rHits_;
103 typedef typename std::vector<T> Ts;
105 if (ret.size() != 2)
throw cms::Exception(
"Invalid configuration") <<
"Parameter '" << name <<
"' must be given as {min,max}";
106 return std::pair<T,T>(ret[0],ret[1]);
T getParameter(std::string const &) const
TrackMultiSelector(const edm::ParameterSet &cfg)
constructor
virtual ~TrackMultiSelector()
destructor
void selectVertices(const reco::VertexCollection &vtxs, std::vector< Point > &points)
std::vector< Block > blocks_
filter psets
Block(const edm::ParameterSet &cfg)
std::vector< Vertex > VertexCollection
collection of Vertex objects
std::vector< reco::TrackExtraRefProd > rTrackExtras_
std::vector< reco::TrackRefProd > rTracks_
std::pair< double, double > chi2n
std::pair< double, double > pt
void produce(edm::Event &evt, const edm::EventSetup &es) override
process one event
std::pair< T, T > p2p(const edm::ParameterSet &cfg, const std::string name)
int32_t vtxNumber_
vertex cuts
std::vector< edm::RefProd< std::vector< Trajectory > > > rTrajectories_
std::auto_ptr< TrackingRecHitCollection > * selHits_
bool copyTrajectories_
copy also trajectories and trajectory->track associations
std::vector< std::string > labels_
output labels
std::pair< uint32_t, uint32_t > lhits
std::auto_ptr< reco::TrackExtraCollection > * selTrackExtras_
edm::EDGetTokenT< std::vector< Trajectory > > tokenTraj
std::pair< uint32_t, uint32_t > vlayers
edm::EDGetTokenT< reco::TrackCollection > tokenTracks
XYZPointD XYZPoint
point in space with cartesian internal representation
edm::EDGetTokenT< reco::VertexCollection > vertices_
edm::EDGetTokenT< TrajTrackAssociationCollection > tokenTrajTrack
std::vector< TrackingRecHitRefProd > rHits_
std::auto_ptr< reco::TrackCollection > * selTracks_
some storage
bool splitOutputs_
split selections in more sets
std::auto_ptr< TrajTrackAssociationCollection > * selTTAss_
bool testVtx(const reco::Track &tk, const reco::BeamSpot &beamSpot, const std::vector< Point > &points, const Block &cut)
bool copyExtras_
copy only the tracks, not extras and rechits (for AOD)
std::auto_ptr< std::vector< Trajectory > > * selTrajs_
std::vector< std::pair< short, reco::TrackRef > > whereItWent_
edm::InputTag src_
source collection label
edm::EDGetTokenT< reco::BeamSpot > beamspot_
short select(const reco::Track &tk, const reco::BeamSpot &beamSpot, const std::vector< Point > &points)
return class, or -1 if rejected