Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
RecoTracker
CkfPattern
interface
SeedCleanerBySharedInput.h
Go to the documentation of this file.
1
#ifndef SeedCleanerBySharedInput_H
2
#define SeedCleanerBySharedInput_H
3
#include "
RecoTracker/CkfPattern/interface/RedundantSeedCleaner.h
"
4
8
class
SeedCleanerBySharedInput
:
public
RedundantSeedCleaner
{
9
public
:
11
virtual
void
add
(
const
Trajectory
*traj) { }
12
14
virtual
void
init
(
const
std::vector<Trajectory> *vect) {
trajectories
= vect; }
15
16
virtual
void
done
() {
trajectories
= 0; };
17
19
virtual
bool
good
(
const
TrajectorySeed
*seed) ;
20
21
22
SeedCleanerBySharedInput
() :
RedundantSeedCleaner
(),
trajectories
(0) {}
23
private
:
24
const
std::vector<Trajectory> *
trajectories
;
25
26
};
27
28
#endif
SeedCleanerBySharedInput::SeedCleanerBySharedInput
SeedCleanerBySharedInput()
Definition:
SeedCleanerBySharedInput.h:22
SeedCleanerBySharedInput::good
virtual bool good(const TrajectorySeed *seed)
Returns true if the seed is not overlapping with another trajectory.
Definition:
SeedCleanerBySharedInput.cc:3
SeedCleanerBySharedInput::init
virtual void init(const std::vector< Trajectory > *vect)
Provides the cleaner a pointer to the vector where trajectories are stored, in case it does not want ...
Definition:
SeedCleanerBySharedInput.h:14
Trajectory
Definition:
Trajectory.h:38
RedundantSeedCleaner
Definition:
RedundantSeedCleaner.h:22
SeedCleanerBySharedInput
Definition:
SeedCleanerBySharedInput.h:8
SeedCleanerBySharedInput::add
virtual void add(const Trajectory *traj)
Definition:
SeedCleanerBySharedInput.h:11
SeedCleanerBySharedInput::done
virtual void done()
Tells the cleaner that the seeds are finished, and so it can clear any cache it has.
Definition:
SeedCleanerBySharedInput.h:16
SeedCleanerBySharedInput::trajectories
const std::vector< Trajectory > * trajectories
Definition:
SeedCleanerBySharedInput.h:24
TrajectorySeed
Definition:
TrajectorySeed.h:18
RedundantSeedCleaner.h
Generated for CMSSW Reference Manual by
1.8.5