1 #ifndef RecoAlgos_TrackMultiSelector_h
2 #define RecoAlgos_TrackMultiSelector_h
33 namespace reco {
namespace modules {
38 std::pair<double,double>
pt;
61 const std::vector<Point> &points,
const Block &
cut);
84 std::auto_ptr< TrackingRecHitCollection> *
selHits_;
85 std::auto_ptr< std::vector<Trajectory> > *
selTrajs_;
86 std::auto_ptr< TrajTrackAssociationCollection > *
selTTAss_;
89 std::vector<TrackingRecHitRefProd>
rHits_;
99 typedef typename std::vector<T> Ts;
101 if (ret.size() != 2)
throw cms::Exception(
"Invalid configuration") <<
"Parameter '" << name <<
"' must be given as {min,max}";
102 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_
std::pair< uint32_t, uint32_t > vlayers
XYZPointD XYZPoint
point in space with cartesian internal representation
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
short select(const reco::Track &tk, const reco::BeamSpot &beamSpot, const std::vector< Point > &points)
return class, or -1 if rejected