DataFormats
HGCalReco
interface
TICLSeedingRegion.h
Go to the documentation of this file.
1
// Authors: Felice Pantaleo, Marco Rovere
2
// Emails: felice.pantaleo@cern.ch, marco.rovere@cern.ch
3
// Date: 06/2019
4
5
#ifndef DataFormats_HGCalReco_TICLSeedingRegion_h
6
#define DataFormats_HGCalReco_TICLSeedingRegion_h
7
8
#include "
DataFormats/HGCalReco/interface/Common.h
"
9
#include "
DataFormats/Math/interface/normalizedPhi.h
"
10
#include "
DataFormats/GeometryVector/interface/GlobalPoint.h
"
11
#include "
DataFormats/GeometryVector/interface/GlobalVector.h
"
12
#include "
DataFormats/Provenance/interface/ProductID.h
"
13
14
struct
TICLSeedingRegion
{
15
GlobalPoint
origin
;
16
GlobalVector
directionAtOrigin
;
17
18
// zSide can be either 0(neg) or 1(pos)
19
int
zSide
;
20
// the index in the seeding collection
21
// with index = -1 indicating a global seeding region.
22
// For track-based seeding, the index of the track inside the track
23
// collection identified by the next ProductID.
24
int
index
;
25
// collectionID = 0 used for global seeding collection
26
// For track-based seeding, the ProductID of the track-collection used to
27
// create the seeding region.
28
edm::ProductID
collectionID
;
29
30
TICLSeedingRegion
() {}
31
32
TICLSeedingRegion
(
GlobalPoint
o
,
GlobalVector
d
,
int
zS,
int
idx
,
edm::ProductID
id
) {
33
origin
=
o
;
34
directionAtOrigin
=
d
;
35
zSide
= zS;
36
index
=
idx
;
37
collectionID
=
id
;
38
}
39
};
40
41
#endif
Vector3DBase
Definition:
Vector3DBase.h:8
Common.h
TICLSeedingRegion::TICLSeedingRegion
TICLSeedingRegion(GlobalPoint o, GlobalVector d, int zS, int idx, edm::ProductID id)
Definition:
TICLSeedingRegion.h:32
training_settings.idx
idx
Definition:
training_settings.py:16
EcalTangentSkim_cfg.o
o
Definition:
EcalTangentSkim_cfg.py:36
TICLSeedingRegion::index
int index
Definition:
TICLSeedingRegion.h:24
TICLSeedingRegion::origin
GlobalPoint origin
Definition:
TICLSeedingRegion.h:15
ProductID.h
Point3DBase< float, GlobalTag >
TICLSeedingRegion::TICLSeedingRegion
TICLSeedingRegion()
Definition:
TICLSeedingRegion.h:30
normalizedPhi.h
TICLSeedingRegion::directionAtOrigin
GlobalVector directionAtOrigin
Definition:
TICLSeedingRegion.h:16
TICLSeedingRegion
Definition:
TICLSeedingRegion.h:14
triggerObjects_cff.id
id
Definition:
triggerObjects_cff.py:31
GlobalVector.h
ztail.d
d
Definition:
ztail.py:151
GlobalPoint.h
TICLSeedingRegion::collectionID
edm::ProductID collectionID
Definition:
TICLSeedingRegion.h:28
edm::ProductID
Definition:
ProductID.h:27
TICLSeedingRegion::zSide
int zSide
Definition:
TICLSeedingRegion.h:19
Generated for CMSSW Reference Manual by
1.8.16