Main Page
Namespaces
Classes
Package Documentation
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
void
add
(
const
Trajectory
*traj)
override
{ }
12
14
void
init
(
const
std::vector<Trajectory> *vect)
override
{
trajectories
= vect; }
15
16
void
done
()
override
{
trajectories
=
nullptr
; };
17
19
bool
good
(
const
TrajectorySeed
*
seed
)
override
;
20
21
22
SeedCleanerBySharedInput
() :
RedundantSeedCleaner
(),
trajectories
(
nullptr
) {}
23
private
:
24
const
std::vector<Trajectory> *
trajectories
;
25
26
};
27
28
#endif
SeedCleanerBySharedInput::SeedCleanerBySharedInput
SeedCleanerBySharedInput()
Definition:
SeedCleanerBySharedInput.h:22
SeedCleanerBySharedInput::add
void add(const Trajectory *traj) override
Definition:
SeedCleanerBySharedInput.h:11
SurveyInfoScenario_cff.seed
seed
Definition:
SurveyInfoScenario_cff.py:295
nullptr
#define nullptr
Trajectory
Definition:
Trajectory.h:40
RedundantSeedCleaner
Definition:
RedundantSeedCleaner.h:22
SeedCleanerBySharedInput
Definition:
SeedCleanerBySharedInput.h:8
SeedCleanerBySharedInput::good
bool good(const TrajectorySeed *seed) override
Returns true if the seed is not overlapping with another trajectory.
Definition:
SeedCleanerBySharedInput.cc:3
SeedCleanerBySharedInput::done
void done() override
Tells the cleaner that the seeds are finished, and so it can clear any cache it has.
Definition:
SeedCleanerBySharedInput.h:16
SeedCleanerBySharedInput::init
void init(const std::vector< Trajectory > *vect) override
Provides the cleaner a pointer to the vector where trajectories are stored, in case it does not want ...
Definition:
SeedCleanerBySharedInput.h:14
SeedCleanerBySharedInput::trajectories
const std::vector< Trajectory > * trajectories
Definition:
SeedCleanerBySharedInput.h:24
TrajectorySeed
Definition:
TrajectorySeed.h:17
RedundantSeedCleaner.h
Generated for CMSSW Reference Manual by
1.8.11