Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
DataFormats
ParticleFlowReco
interface
ParticleFiltrationDecision.h
Go to the documentation of this file.
1
#ifndef PARTICLEFILTRATIONDECISION_H_
2
#define PARTICLEFILTRATIONDECISION_H_
3
#include <string>
4
#include <vector>
5
#include "
DataFormats/Common/interface/Ref.h
"
6
#include "
DataFormats/Common/interface/RefProd.h
"
7
#include "
DataFormats/Common/interface/RefVector.h
"
8
#include "
DataFormats/Common/interface/RefToBase.h
"
9
10
namespace
pftools {
11
24
class
ParticleFiltrationDecision
{
25
public
:
26
ParticleFiltrationDecision
() {};
27
virtual
~ParticleFiltrationDecision
() {};
28
29
/* Bit field to contain user-defined vetos */
30
char
vetosPassed_
;
31
32
/*User-defined string representing who made this */
33
std::string
filtrationProvenance_
;
34
35
enum
TestbeamParticle
{
36
PION
,
PROTON_KAON
,
PROTON
,
KAON
,
ELECTRON
,
MUON
,
NOISE
,
OTHER
37
};
38
39
/* This event contains a clean... */
40
TestbeamParticle
type_
;
41
42
};
43
44
//Usual framework & EDM incantations
45
typedef
std::vector<pftools::ParticleFiltrationDecision>
46
ParticleFiltrationDecisionCollection
;
47
48
typedef
edm::Ref<ParticleFiltrationDecisionCollection>
49
ParticleFiltrationDecisionRef
;
50
typedef
edm::RefProd<ParticleFiltrationDecisionCollection>
51
ParticleFiltrationDecisionRefProd
;
52
typedef
edm::RefVector<ParticleFiltrationDecisionCollection>
53
ParticleFiltrationDecisionRefVector
;
54
typedef
ParticleFiltrationDecisionRefVector::iterator
55
particleFiltrationDecision_iterator
;
56
typedef
edm::RefToBase<pftools::ParticleFiltrationDecision>
57
ParticleFiltrationDecisionBaseRef
;
58
59
}
60
61
#endif
/* PARTICLEFILTRATIONDECISION_H_ */
pftools::ParticleFiltrationDecision::PROTON_KAON
Definition:
ParticleFiltrationDecision.h:36
pftools::ParticleFiltrationDecision::filtrationProvenance_
std::string filtrationProvenance_
Definition:
ParticleFiltrationDecision.h:33
pftools::ParticleFiltrationDecision::ParticleFiltrationDecision
ParticleFiltrationDecision()
Definition:
ParticleFiltrationDecision.h:26
pftools::ParticleFiltrationDecision::PION
Definition:
ParticleFiltrationDecision.h:36
pftools::ParticleFiltrationDecision::TestbeamParticle
TestbeamParticle
Definition:
ParticleFiltrationDecision.h:35
RefToBase.h
pftools::ParticleFiltrationDecision::ELECTRON
Definition:
ParticleFiltrationDecision.h:36
edm::RefToBase
Definition:
AssociativeIterator.h:50
RefProd.h
pftools::ParticleFiltrationDecisionRefProd
edm::RefProd< ParticleFiltrationDecisionCollection > ParticleFiltrationDecisionRefProd
Definition:
ParticleFiltrationDecision.h:51
RefVector.h
edm::RefProd
Definition:
EDProductfwd.h:24
pftools::ParticleFiltrationDecision
Articulates the decision of the ParticleFilter in RecoParticleFlow/PFAnalyses.
Definition:
ParticleFiltrationDecision.h:24
pftools::ParticleFiltrationDecisionRef
edm::Ref< ParticleFiltrationDecisionCollection > ParticleFiltrationDecisionRef
Definition:
ParticleFiltrationDecision.h:49
pftools::ParticleFiltrationDecision::KAON
Definition:
ParticleFiltrationDecision.h:36
pftools::ParticleFiltrationDecision::NOISE
Definition:
ParticleFiltrationDecision.h:36
pftools::ParticleFiltrationDecision::OTHER
Definition:
ParticleFiltrationDecision.h:36
pftools::ParticleFiltrationDecisionCollection
std::vector< pftools::ParticleFiltrationDecision > ParticleFiltrationDecisionCollection
Definition:
ParticleFiltrationDecision.h:46
pftools::ParticleFiltrationDecision::MUON
Definition:
ParticleFiltrationDecision.h:36
pftools::ParticleFiltrationDecision::PROTON
Definition:
ParticleFiltrationDecision.h:36
pftools::ParticleFiltrationDecision::type_
TestbeamParticle type_
Definition:
ParticleFiltrationDecision.h:40
pftools::ParticleFiltrationDecision::~ParticleFiltrationDecision
virtual ~ParticleFiltrationDecision()
Definition:
ParticleFiltrationDecision.h:27
Ref.h
edm::RefVector
Definition:
EDProductfwd.h:25
pftools::ParticleFiltrationDecision::vetosPassed_
char vetosPassed_
Definition:
ParticleFiltrationDecision.h:27
edm::RefVectorIterator
Definition:
EDProductfwd.h:28
pftools::ParticleFiltrationDecisionBaseRef
edm::RefToBase< pftools::ParticleFiltrationDecision > ParticleFiltrationDecisionBaseRef
Definition:
ParticleFiltrationDecision.h:57
pftools::particleFiltrationDecision_iterator
ParticleFiltrationDecisionRefVector::iterator particleFiltrationDecision_iterator
Definition:
ParticleFiltrationDecision.h:55
edm::Ref
Definition:
AssociativeIterator.h:52
pftools::ParticleFiltrationDecisionRefVector
edm::RefVector< ParticleFiltrationDecisionCollection > ParticleFiltrationDecisionRefVector
Definition:
ParticleFiltrationDecision.h:53
Generated for CMSSW Reference Manual by
1.8.5