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