Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:57:29

0001 #ifndef Alignment_TwoBodyDecay_TwoBodyDecayLinearizationPointFinder_h
0002 #define Alignment_TwoBodyDecay_TwoBodyDecayLinearizationPointFinder_h
0003 
0004 #include "Alignment/TwoBodyDecay/interface/TwoBodyDecayParameters.h"
0005 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0006 #include "RecoVertex/VertexTools/interface/PerigeeLinearizedTrackState.h"
0007 
0008 /** Class  TwoBodyDecayLinearizationPointFinder computes a rough estimate of the
0009  * parameters of a decay. This serves as linearization point for
0010  * TwoBodyDecayEstimator.
0011  *
0012  *  /author Edmund Widl
0013  */
0014 
0015 class TwoBodyDecayLinearizationPointFinder {
0016 public:
0017   typedef PerigeeLinearizedTrackState::RefCountedLinearizedTrackState RefCountedLinearizedTrackState;
0018 
0019   TwoBodyDecayLinearizationPointFinder(const edm::ParameterSet &config) {}
0020 
0021   virtual ~TwoBodyDecayLinearizationPointFinder(void) {}
0022 
0023   virtual const TwoBodyDecayParameters getLinearizationPoint(const std::vector<RefCountedLinearizedTrackState> &tracks,
0024                                                              const double primaryMass,
0025                                                              const double secondaryMass) const;
0026 
0027   virtual TwoBodyDecayLinearizationPointFinder *clone(void) const {
0028     return new TwoBodyDecayLinearizationPointFinder(*this);
0029   }
0030 };
0031 
0032 #endif