CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
RecHitIsInvalid.h
Go to the documentation of this file.
1 #ifndef RecHitIsInvalid_H
2 #define RecHitIsInvalid_H
3 
5 #include <functional>
6 
10 class RecHitIsInvalid : public std::unary_function< const TrajectoryMeasurement&, bool> {
11 public:
12  bool operator()( const TrajectoryMeasurement& meas) {
13  return !meas.recHit()->isValid();
14  }
15 };
16 
17 #endif
bool operator()(const TrajectoryMeasurement &meas)
ConstRecHitPointer recHit() const