CMS 3D CMS Logo

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, unsigned int iSector);
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_);
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
trklet::PurgeDuplicate::mergedstubidslists_
std::vector< std::vector< std::pair< int, int > > > mergedstubidslists_
Definition: PurgeDuplicate.h:37
trklet::PurgeDuplicate::outputtracklets_
std::vector< CleanTrackMemory * > outputtracklets_
Definition: PurgeDuplicate.h:40
trklet::PurgeDuplicate::inputtracks_
std::vector< Track * > inputtracks_
Definition: PurgeDuplicate.h:34
input
static const std::string input
Definition: EdmProvDump.cc:48
convertSQLitetoXML_cfg.output
output
Definition: convertSQLitetoXML_cfg.py:32
trklet::Settings
Definition: Settings.h:26
trklet::PurgeDuplicate::PurgeDuplicate
PurgeDuplicate(std::string name, Settings const &settings, Globals *global, unsigned int iSector)
Definition: PurgeDuplicate.cc:25
TrackFitMemory.h
trklet::PurgeDuplicate::inputstubidslists_
std::vector< std::vector< std::pair< int, int > > > inputstubidslists_
Definition: PurgeDuplicate.h:36
CleanTrackMemory.h
trklet::Globals
Definition: Globals.h:32
trklet::Tracklet
Definition: Tracklet.h:28
trklet::PurgeDuplicate::getPhiRes
double getPhiRes(Tracklet *curTracklet, const Stub *curStub)
Definition: PurgeDuplicate.cc:479
trklet::Stub
Definition: Stub.h:16
trklet::PurgeDuplicate::inputstublists_
std::vector< std::vector< const Stub * > > inputstublists_
Definition: PurgeDuplicate.h:35
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
trklet::PurgeDuplicate
Definition: PurgeDuplicate.h:20
trklet::MemoryBase
Definition: MemoryBase.h:13
trklet::PurgeDuplicate::inputtracklets_
std::vector< Tracklet * > inputtracklets_
Definition: PurgeDuplicate.h:39
trklet::PurgeDuplicate::addInput
void addInput(MemoryBase *memory, std::string input) override
Definition: PurgeDuplicate.cc:54
trklet
Definition: AllProjectionsMemory.h:9
trklet::PurgeDuplicate::execute
void execute(std::vector< Track * > &outputtracks_)
Definition: PurgeDuplicate.cc:81
ProcessBase.h
trklet::PurgeDuplicate::~PurgeDuplicate
~PurgeDuplicate() override=default
trklet::ProcessBase
Definition: ProcessBase.h:12
trklet::PurgeDuplicate::inputtrackfits_
std::vector< TrackFitMemory * > inputtrackfits_
Definition: PurgeDuplicate.h:38
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
memory
Definition: vlib.h:178
trklet::PurgeDuplicate::addOutput
void addOutput(MemoryBase *memory, std::string output) override
Definition: PurgeDuplicate.cc:28