Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
CommonTools
Utils
src
NotCombiner.h
Go to the documentation of this file.
1
#ifndef CommonTools_Utils_NotCombiner_h
2
#define CommonTools_Utils_NotCombiner_h
3
/* \class reco::parser::NotCombiner
4
*
5
* logical NOT combiner
6
*
7
* \author original version: Chris Jones, Cornell,
8
* adapted to Reflex by Luca Lista, INFN
9
*
10
* \version $Revision: 1.1 $
11
*
12
*/
13
#include "
CommonTools/Utils/src/SelectorBase.h
"
14
#include "
CommonTools/Utils/src/SelectorPtr.h
"
15
16
namespace
reco
{
17
namespace
parser
{
18
struct
NotCombiner
:
public
SelectorBase
{
19
NotCombiner
(
SelectorPtr
arg
) :
20
arg_
( arg ) {}
21
virtual
bool
operator()
(
const
Reflex::Object&
o
)
const
{
22
return
! (*arg_)(
o
);
23
}
24
private
:
25
SelectorPtr
arg_
;
26
};
27
}
28
}
29
30
#endif
geometryXMLtoCSV.parser
tuple parser
Definition:
geometryXMLtoCSV.py:78
reco::parser::NotCombiner::NotCombiner
NotCombiner(SelectorPtr arg)
Definition:
NotCombiner.h:19
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:105
funct::arg
A arg
Definition:
Factorize.h:36
SelectorPtr.h
SelectorBase.h
python.connectstrParser.o
string o
Definition:
connectstrParser.py:70
reco::parser::NotCombiner::operator()
virtual bool operator()(const Reflex::Object &o) const
return true if the Refle object is selected
Definition:
NotCombiner.h:21
reco::parser::SelectorPtr
boost::shared_ptr< SelectorBase > SelectorPtr
Definition:
SelectorPtr.h:17
reco::parser::NotCombiner::arg_
SelectorPtr arg_
Definition:
NotCombiner.h:25
reco::parser::SelectorBase
Definition:
SelectorBase.h:17
reco::parser::NotCombiner
Definition:
NotCombiner.h:18
Generated for CMSSW Reference Manual by
1.8.5