src
RecoMuon
TrackingTools
interface
MuonTrajectoryCleaner.h
Go to the documentation of this file.
1
#ifndef RecoMuon_TrackingTools_MuonTrajectoryCleaner_H
2
#define RecoMuon_TrackingTools_MuonTrajectoryCleaner_H
3
10
#include "
TrackingTools/PatternTools/interface/Trajectory.h
"
11
#include "
RecoMuon/TrackingTools/interface/MuonCandidate.h
"
12
#include "
FWCore/Framework/interface/Event.h
"
13
#include <vector>
14
15
//class Event;
16
class
MuonTrajectoryCleaner
{
17
public
:
18
typedef
MuonCandidate::TrajectoryContainer
TrajectoryContainer
;
19
typedef
MuonCandidate::CandidateContainer
CandidateContainer
;
20
22
MuonTrajectoryCleaner
() :
reportGhosts_
(
false
) {}
23
25
MuonTrajectoryCleaner
(
bool
reportGhosts) :
reportGhosts_
(reportGhosts) {}
26
28
virtual
~MuonTrajectoryCleaner
() {}
29
30
// Operations
31
33
void
clean
(
TrajectoryContainer
& muonTrajectories,
34
edm::Event
& evt,
35
const
edm::Handle
<
edm::View<TrajectorySeed>
>&
seeds
);
//used by reference...
36
38
void
clean
(
CandidateContainer
& muonTrajectories);
//used by reference...
39
40
protected
:
41
private
:
42
bool
reportGhosts_
;
43
};
44
#endif
MuonTrajectoryCleaner::clean
void clean(TrajectoryContainer &muonTrajectories, edm::Event &evt, const edm::Handle< edm::View< TrajectorySeed > > &seeds)
Clean the trajectories container, erasing the (worst) clone trajectory.
Definition:
MuonTrajectoryCleaner.cc:20
MuonTrajectoryCleaner::MuonTrajectoryCleaner
MuonTrajectoryCleaner(bool reportGhosts)
Constructor for L2 muons (enable reportGhosts)
Definition:
MuonTrajectoryCleaner.h:25
funct::false
false
Definition:
Factorize.h:29
Event.h
edm::Handle
Definition:
AssociativeIterator.h:50
MuonTrajectoryCleaner::~MuonTrajectoryCleaner
virtual ~MuonTrajectoryCleaner()
Destructor.
Definition:
MuonTrajectoryCleaner.h:28
MuonCandidate.h
edm::View
Definition:
CaloClusterFwd.h:14
MuonTrajectoryCleaner::CandidateContainer
MuonCandidate::CandidateContainer CandidateContainer
Definition:
MuonTrajectoryCleaner.h:19
HLT_2024v14_cff.seeds
seeds
Definition:
HLT_2024v14_cff.py:64716
MuonTrajectoryCleaner
Definition:
MuonTrajectoryCleaner.h:16
MuonTrajectoryCleaner::reportGhosts_
bool reportGhosts_
Definition:
MuonTrajectoryCleaner.h:42
MuonTrajectoryCleaner::TrajectoryContainer
MuonCandidate::TrajectoryContainer TrajectoryContainer
Definition:
MuonTrajectoryCleaner.h:18
MuonCandidate::CandidateContainer
std::vector< std::unique_ptr< MuonCandidate > > CandidateContainer
Definition:
MuonCandidate.h:18
Trajectory.h
MuonTrajectoryCleaner::MuonTrajectoryCleaner
MuonTrajectoryCleaner()
Constructor.
Definition:
MuonTrajectoryCleaner.h:22
edm::Event
Definition:
Event.h:73
MuonCandidate::TrajectoryContainer
std::vector< std::unique_ptr< Trajectory > > TrajectoryContainer
Definition:
MuonCandidate.h:17
Generated for CMSSW Reference Manual by
1.8.14