5 for(std::vector<TrajectorySeed>::iterator seed = seeds.begin();
6 seed != seeds.end(); ++seed){
14 for(std::vector<TrajectorySeed>::iterator seed2 = seed;
15 seed2 != seeds.end(); ++seed2)
16 if( seed->startingState().parameters().vector() ==
17 seed2->startingState().parameters().vector() )
35 bool isBarrel = (detId.
subdetId() == 1);
38 double pt = (isBarrel) ? -p.
z() : p.
perp();
bool checkPt(const TrajectorySeed &seed) const
virtual void clean(TrajectorySeedCollection &seeds)
std::vector< TrajectorySeed > TrajectorySeedCollection
unsigned int detId() const
LocalVector momentum() const
Momentum vector in the local frame.
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
PTrajectoryStateOnDet const & startingState() const
unsigned int nHits() const
const LocalTrajectoryParameters & parameters() const