Main Page
Namespaces
Classes
Package Documentation
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
21
23
MuonTrajectoryCleaner
() :
reportGhosts_
(
false
) {}
24
26
MuonTrajectoryCleaner
(
bool
reportGhosts) :
reportGhosts_
(reportGhosts) {}
27
29
virtual
~MuonTrajectoryCleaner
() {};
30
31
// Operations
32
34
void
clean
(TrajectoryContainer &muonTrajectories,
edm::Event
& evt,
const
edm::Handle
<
edm::View<TrajectorySeed>
>& seeds);
//used by reference...
35
37
void
clean
(CandidateContainer &muonTrajectories);
//used by reference...
38
39
protected
:
40
41
private
:
42
bool
reportGhosts_
;
43
44
};
45
#endif
46
Trajectory.h
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:26
MuonCandidate::TrajectoryContainer
std::vector< Trajectory * > TrajectoryContainer
Definition:
MuonCandidate.h:19
funct::false
false
Definition:
Factorize.h:34
Event.h
edm::Handle
Definition:
AssociativeIterator.h:47
MuonTrajectoryCleaner::~MuonTrajectoryCleaner
virtual ~MuonTrajectoryCleaner()
Destructor.
Definition:
MuonTrajectoryCleaner.h:29
MuonCandidate.h
edm::View
Definition:
CaloClusterFwd.h:14
MuonTrajectoryCleaner::CandidateContainer
MuonCandidate::CandidateContainer CandidateContainer
Definition:
MuonTrajectoryCleaner.h:19
MuonCandidate::CandidateContainer
std::vector< MuonCandidate * > CandidateContainer
Definition:
MuonCandidate.h:20
MuonTrajectoryCleaner
Definition:
MuonTrajectoryCleaner.h:16
MuonTrajectoryCleaner::reportGhosts_
bool reportGhosts_
Definition:
MuonTrajectoryCleaner.h:42
MuonTrajectoryCleaner::TrajectoryContainer
MuonCandidate::TrajectoryContainer TrajectoryContainer
Definition:
MuonTrajectoryCleaner.h:18
MuonTrajectoryCleaner::MuonTrajectoryCleaner
MuonTrajectoryCleaner()
Constructor.
Definition:
MuonTrajectoryCleaner.h:23
edm::Event
Definition:
Event.h:66
Generated for CMSSW Reference Manual by
1.8.11