DataFormats
ParticleFlowReco
interface
PFBlockElementCluster.h
Go to the documentation of this file.
1
#ifndef __PFBlockElementCluster__
2
#define __PFBlockElementCluster__
3
4
#include <iostream>
5
6
#include "
DataFormats/ParticleFlowReco/interface/PFBlockElement.h
"
7
#include "
DataFormats/ParticleFlowReco/interface/PFClusterFwd.h
"
8
#include "
DataFormats/EgammaReco/interface/SuperClusterFwd.h
"
9
#include "
DataFormats/EgammaReco/interface/SuperCluster.h
"
10
11
namespace
reco
{
12
16
class
PFBlockElementCluster
:
public
PFBlockElement
{
17
public
:
18
PFBlockElementCluster
() {}
19
23
PFBlockElementCluster
(
const
PFClusterRef
& ref,
PFBlockElement::Type
type
)
24
:
PFBlockElement
(
type
),
clusterRef_
(ref) {}
25
26
PFBlockElement
*
clone
()
const override
{
return
new
PFBlockElementCluster
(*
this
); }
27
29
const
PFClusterRef
&
clusterRef
()
const override
{
return
clusterRef_
; }
30
const
SuperClusterRef
&
superClusterRef
()
const
{
return
superClusterRef_
; }
31
32
void
setSuperClusterRef
(
const
SuperClusterRef
& ref) {
superClusterRef_
= ref; }
33
34
void
Dump
(std::ostream&
out
=
std::cout
,
const
char
* tab =
" "
)
const override
;
35
36
private
:
38
PFClusterRef
clusterRef_
;
39
SuperClusterRef
superClusterRef_
;
40
};
41
}
// namespace reco
42
43
#endif
reco::PFBlockElementCluster::PFBlockElementCluster
PFBlockElementCluster()
Definition:
PFBlockElementCluster.h:18
reco::PFBlockElementCluster::setSuperClusterRef
void setSuperClusterRef(const SuperClusterRef &ref)
Definition:
PFBlockElementCluster.h:32
gather_cfg.cout
cout
Definition:
gather_cfg.py:144
reco::PFBlockElementCluster::PFBlockElementCluster
PFBlockElementCluster(const PFClusterRef &ref, PFBlockElement::Type type)
constructor. type must be equal to PS1, PS2, ECAL, HCAL.
Definition:
PFBlockElementCluster.h:23
reco
fixed size matrix
Definition:
AlignmentAlgorithmBase.h:45
reco::PFBlockElementCluster::clone
PFBlockElement * clone() const override
necessary to have the edm::OwnVector<PFBlockElement> working
Definition:
PFBlockElementCluster.h:26
edm::Ref< PFClusterCollection >
reco::PFBlockElement::Type
Type
Definition:
PFBlockElement.h:30
PFBlockElement.h
reco::PFBlockElementCluster::superClusterRef
const SuperClusterRef & superClusterRef() const
Definition:
PFBlockElementCluster.h:30
reco::PFBlockElementCluster::clusterRef_
PFClusterRef clusterRef_
reference to the corresponding cluster
Definition:
PFBlockElementCluster.h:38
type
type
Definition:
SiPixelVCal_PayloadInspector.cc:37
PFClusterFwd.h
reco::PFBlockElement
Abstract base class for a PFBlock element (track, cluster...)
Definition:
PFBlockElement.h:26
reco::PFBlockElementCluster::superClusterRef_
SuperClusterRef superClusterRef_
Definition:
PFBlockElementCluster.h:39
SuperClusterFwd.h
reco::PFBlockElementCluster
Cluster Element.
Definition:
PFBlockElementCluster.h:16
SuperCluster.h
reco::PFBlockElementCluster::clusterRef
const PFClusterRef & clusterRef() const override
Definition:
PFBlockElementCluster.h:29
MillePedeFileConverter_cfg.out
out
Definition:
MillePedeFileConverter_cfg.py:31
reco::PFBlockElementCluster::Dump
void Dump(std::ostream &out=std::cout, const char *tab=" ") const override
print the object inside the element
Definition:
PFBlockElementCluster.cc:11
Generated for CMSSW Reference Manual by
1.8.16