CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
PurgeDuplicate.h
Go to the documentation of this file.
1 #ifndef L1Trigger_TrackFindingTracklet_interface_PurgeDuplicate_h
2 #define L1Trigger_TrackFindingTracklet_interface_PurgeDuplicate_h
3 
7 
8 #include <vector>
9 
10 namespace trklet {
11 
12  class Settings;
13  class Globals;
14  class MemoryBase;
15  class Stub;
16  class L1TStub;
17  class Track;
18  class Tracklet;
19 
20  class PurgeDuplicate : public ProcessBase {
21  public:
22  PurgeDuplicate(std::string name, Settings const& settings, Globals* global);
23 
24  ~PurgeDuplicate() override = default;
25 
26  void addOutput(MemoryBase* memory, std::string output) override;
27  void addInput(MemoryBase* memory, std::string input) override;
28 
29  void execute(std::vector<Track>& outputtracks_, unsigned int iSector);
30 
31  private:
32  double getPhiRes(Tracklet* curTracklet, const Stub* curStub);
33 
34  std::vector<Track*> inputtracks_;
35  std::vector<std::vector<const Stub*>> inputstublists_;
36  std::vector<std::vector<std::pair<int, int>>> inputstubidslists_;
37  std::vector<std::vector<std::pair<int, int>>> mergedstubidslists_;
38  std::vector<TrackFitMemory*> inputtrackfits_;
39  std::vector<Tracklet*> inputtracklets_;
40  std::vector<CleanTrackMemory*> outputtracklets_;
41  };
42 
43 }; // namespace trklet
44 #endif
double getPhiRes(Tracklet *curTracklet, const Stub *curStub)
std::vector< std::vector< std::pair< int, int > > > inputstubidslists_
void execute(std::vector< Track > &outputtracks_, unsigned int iSector)
std::vector< CleanTrackMemory * > outputtracklets_
~PurgeDuplicate() override=default
std::vector< Track * > inputtracks_
static std::string const input
Definition: EdmProvDump.cc:47
std::vector< TrackFitMemory * > inputtrackfits_
void addInput(MemoryBase *memory, std::string input) override
std::vector< Tracklet * > inputtracklets_
std::vector< std::vector< std::pair< int, int > > > mergedstubidslists_
void addOutput(MemoryBase *memory, std::string output) override
std::vector< std::vector< const Stub * > > inputstublists_
PurgeDuplicate(std::string name, Settings const &settings, Globals *global)