Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:31:51

0001 #ifndef BasicSingleTrajectoryState_H
0002 #define BasicSingleTrajectoryState_H
0003 
0004 #include "TrackingTools/TrajectoryState/interface/BasicTrajectoryState.h"
0005 #include <cassert>
0006 
0007 /** Concrete implementation for the state of one trajectory on a surface.
0008  */
0009 
0010 class BasicSingleTrajectoryState final : public BasicTrajectoryState {
0011 public:
0012   BasicSingleTrajectoryState() : BasicTrajectoryState() {}
0013   template <typename... Args>
0014   BasicSingleTrajectoryState(Args&&... args)
0015       : BasicTrajectoryState(std::forward<Args>(args)...) { /* assert(weight()>0);*/
0016   }
0017 
0018   pointer clone() const override { return build<BasicSingleTrajectoryState>(*this); }
0019 
0020   using Components = BasicTrajectoryState::Components;
0021 
0022   Components const& components() const override;
0023   bool singleState() const override { return true; }
0024 };
0025 
0026 #endif