Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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
//
21
// constants, enums and typedefs
22
//
23
24
//
25
// static data member definitions
26
//
27
28
//
29
// constructors and destructor
30
//
31
//FWModelIdFromEveSelector::FWModelIdFromEveSelector()
32
//{
33
//}
34
35
// FWModelIdFromEveSelector::FWModelIdFromEveSelector(const FWModelIdFromEveSelector& rhs)
36
// {
37
// // do actual copying here;
38
// }
39
40
//FWModelIdFromEveSelector::~FWModelIdFromEveSelector()
41
//{
42
//}
43
44
//
45
// assignment operators
46
//
47
// const FWModelIdFromEveSelector& FWModelIdFromEveSelector::operator=(const FWModelIdFromEveSelector& rhs)
48
// {
49
// //An exception safe implementation is
50
// FWModelIdFromEveSelector temp(rhs);
51
// swap(rhs);
52
//
53
// return *this;
54
// }
55
56
//
57
// member functions
58
//
59
void
60
FWModelIdFromEveSelector::doSelect
()
61
{
62
if
( not
m_id
.
item
()->
modelInfo
(
m_id
.
index
()).isSelected() ) {
63
m_id
.
select
();
64
}
65
}
66
67
void
68
FWModelIdFromEveSelector::doUnselect
()
69
{
70
if
(
m_id
.
item
()->
modelInfo
(
m_id
.
index
()).isSelected() ) {
71
m_id
.
unselect
();
72
}
73
}
74
75
//
76
// const member functions
77
//
78
79
//
80
// static member functions
81
//
FWModelIdFromEveSelector.h
FWModelIdFromEveSelector::doSelect
void doSelect()
Definition:
FWModelIdFromEveSelector.cc:60
FWModelIdFromEveSelector::doUnselect
void doUnselect()
Definition:
FWModelIdFromEveSelector.cc:68
FWModelId::unselect
void unselect() const
Definition:
FWModelId.cc:67
FWModelId::index
int index() const
Definition:
FWModelId.h:49
FWModelId::select
void select() const
Definition:
FWModelId.cc:71
FWEventItem.h
FWModelIdFromEveSelector::m_id
FWModelId m_id
Definition:
FWModelIdFromEveSelector.h:53
FWEventItem::modelInfo
ModelInfo modelInfo(int iIndex) const
Definition:
FWEventItem.cc:535
FWModelId::item
const FWEventItem * item() const
Definition:
FWModelId.h:44
Generated for CMSSW Reference Manual by
1.8.5