Fireworks
Core
src
FWModelIdFromEveSelector.cc
Go to the documentation of this file.
1
// -*- C++ -*-
2
//
3
// Package: Core
4
// Class : FWModelIdFromEveSelector
5
//
6
// Implementation:
7
// [Notes on implementation]
8
//
9
// Original Author: Chris Jones
10
// Created: Wed Oct 28 11:44:16 CET 2009
11
//
12
13
// system include files
14
15
// user include files
16
#include "
Fireworks/Core/interface/FWModelIdFromEveSelector.h
"
17
#include "
Fireworks/Core/interface/FWEventItem.h
"
18
19
//
20
// constants, enums and typedefs
21
//
22
23
//
24
// static data member definitions
25
//
26
27
//
28
// constructors and destructor
29
//
30
//FWModelIdFromEveSelector::FWModelIdFromEveSelector()
31
//{
32
//}
33
34
// FWModelIdFromEveSelector::FWModelIdFromEveSelector(const FWModelIdFromEveSelector& rhs)
35
// {
36
// // do actual copying here;
37
// }
38
39
//FWModelIdFromEveSelector::~FWModelIdFromEveSelector()
40
//{
41
//}
42
43
//
44
// assignment operators
45
//
46
// const FWModelIdFromEveSelector& FWModelIdFromEveSelector::operator=(const FWModelIdFromEveSelector& rhs)
47
// {
48
// //An exception safe implementation is
49
// FWModelIdFromEveSelector temp(rhs);
50
// swap(rhs);
51
//
52
// return *this;
53
// }
54
55
//
56
// member functions
57
//
58
void
FWModelIdFromEveSelector::doSelect
() {
59
if
(not
m_id
.
item
()->
modelInfo
(
m_id
.
index
()).
isSelected
()) {
60
m_id
.
select
();
61
}
62
}
63
64
void
FWModelIdFromEveSelector::doUnselect
() {
65
if
(
m_id
.
item
()->
modelInfo
(
m_id
.
index
()).
isSelected
()) {
66
m_id
.
unselect
();
67
}
68
}
69
70
//
71
// const member functions
72
//
73
74
//
75
// static member functions
76
//
FWModelIdFromEveSelector::m_id
FWModelId m_id
Definition:
FWModelIdFromEveSelector.h:50
FWEventItem::modelInfo
ModelInfo modelInfo(int iIndex) const
Definition:
FWEventItem.cc:446
isSelected
bool isSelected(const std::vector< L1HPSPFTauQualityCut > &qualityCuts, const l1t::PFCandidate &pfCand, float_t primaryVertexZ)
Definition:
L1HPSPFTauQualityCut.cc:90
FWModelId::item
const FWEventItem * item() const
Definition:
FWModelId.h:39
FWModelIdFromEveSelector::doUnselect
void doUnselect() override
Definition:
FWModelIdFromEveSelector.cc:64
FWModelId::unselect
void unselect() const
Definition:
FWModelId.cc:65
FWModelIdFromEveSelector::doSelect
void doSelect() override
Definition:
FWModelIdFromEveSelector.cc:58
FWModelId::index
int index() const
Definition:
FWModelId.h:41
FWEventItem.h
FWModelId::select
void select() const
Definition:
FWModelId.cc:70
FWModelIdFromEveSelector.h
Generated for CMSSW Reference Manual by
1.8.16