CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
MultiTrajectoryStateAssembler.h
Go to the documentation of this file.
1 #ifndef _TrackerReco_MultiTrajectoryStateAssembler_h_
2 #define _TrackerReco_MultiTrajectoryStateAssembler_h_
3 
4 // #include "Utilities/Notification/interface/TimingReport.h"
6 #include <vector>
7 // #include <map>
8 
14 private:
16  typedef std::vector<TrajectoryStateOnSurface> MultiTSOS;
17 
18 public:
19  //
20  // constructors
21  //
23 
28 
30  void addInvalidState(const double);
31 
40 
41 private:
45  void addStateVector(const MultiTSOS&);
47  inline bool invalidCombinedState() const {
48  //
49  // Protect against empty combination (no valid input state)
50  //
51  return theStates.empty();
52  }
54  bool prepareCombinedState();
62  void removeSmallWeights();
64  void removeWrongPz();
65 
66 private:
67  bool sortStates;
70 
72  bool thePzError;
73 
77 
78  // static TimingReport::Item * theTimerAdd;
79  // static TimingReport::Item * theTimerComb;
80 };
81 
82 #endif
void addState(const TrajectoryStateOnSurface)
void removeWrongPz()
Removes states with local p_z != average p_z.
void addInvalidState(const double)
Adds (the weight of an) invalid state to the list.
TrajectoryStateOnSurface reweightedCombinedState(const double) const
int weight
Definition: histoStyle.py:51
std::vector< TrajectoryStateOnSurface > MultiTSOS
bool prepareCombinedState()
Preparation of combined state (cleaning &amp; sorting)
bool invalidCombinedState() const
Checks status of combined state.