Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
12
#include "
TrackingTools/PatternTools/interface/Trajectory.h
"
13
#include "
RecoMuon/TrackingTools/interface/MuonCandidate.h
"
14
#include "
FWCore/Framework/interface/Event.h
"
15
#include <vector>
16
17
//class Event;
18
class
MuonTrajectoryCleaner
{
19
public
:
20
typedef
MuonCandidate::TrajectoryContainer
TrajectoryContainer
;
21
typedef
MuonCandidate::CandidateContainer
CandidateContainer
;
22
23
25
MuonTrajectoryCleaner
() :
reportGhosts_
(
false
) {}
26
28
MuonTrajectoryCleaner
(
bool
reportGhosts) :
reportGhosts_
(reportGhosts) {}
29
31
virtual
~MuonTrajectoryCleaner
() {};
32
33
// Operations
34
36
void
clean
(
TrajectoryContainer
&muonTrajectories,
edm::Event
& evt);
//used by reference...
37
39
void
clean
(
CandidateContainer
&muonTrajectories);
//used by reference...
40
41
protected
:
42
43
private
:
44
bool
reportGhosts_
;
45
46
};
47
#endif
48
Trajectory.h
MuonTrajectoryCleaner::MuonTrajectoryCleaner
MuonTrajectoryCleaner(bool reportGhosts)
Constructor for L2 muons (enable reportGhosts)
Definition:
MuonTrajectoryCleaner.h:28
MuonCandidate::TrajectoryContainer
std::vector< Trajectory * > TrajectoryContainer
Definition:
MuonCandidate.h:21
funct::false
false
Definition:
Factorize.h:34
Event.h
MuonTrajectoryCleaner::~MuonTrajectoryCleaner
virtual ~MuonTrajectoryCleaner()
Destructor.
Definition:
MuonTrajectoryCleaner.h:31
MuonCandidate.h
MuonTrajectoryCleaner::clean
void clean(TrajectoryContainer &muonTrajectories, edm::Event &evt)
Clean the trajectories container, erasing the (worst) clone trajectory.
Definition:
MuonTrajectoryCleaner.cc:22
MuonTrajectoryCleaner::CandidateContainer
MuonCandidate::CandidateContainer CandidateContainer
Definition:
MuonTrajectoryCleaner.h:21
MuonCandidate::CandidateContainer
std::vector< MuonCandidate * > CandidateContainer
Definition:
MuonCandidate.h:22
MuonTrajectoryCleaner
Definition:
MuonTrajectoryCleaner.h:18
MuonTrajectoryCleaner::reportGhosts_
bool reportGhosts_
Definition:
MuonTrajectoryCleaner.h:44
MuonTrajectoryCleaner::TrajectoryContainer
MuonCandidate::TrajectoryContainer TrajectoryContainer
Definition:
MuonTrajectoryCleaner.h:20
MuonTrajectoryCleaner::MuonTrajectoryCleaner
MuonTrajectoryCleaner()
Constructor.
Definition:
MuonTrajectoryCleaner.h:25
edm::Event
Definition:
Event.h:49
Generated for CMSSW Reference Manual by
1.8.5