src
L1Trigger
L1TTrackMatch
interface
L1TrackJetProducer.h
Go to the documentation of this file.
1
#ifndef L1Trigger_L1TTrackMatch_L1TrackJetProducer_HH
2
#define L1Trigger_L1TTrackMatch_L1TrackJetProducer_HH
3
#include <cmath>
4
#include <cstdlib>
5
#include <fstream>
6
#include <iostream>
7
#include <string>
8
#include <vector>
9
10
//Each individual box in the eta and phi dimension.
11
// Also used to store final cluster data for each zbin.
12
struct
EtaPhiBin
{
13
float
pTtot
;
14
int
numtracks
;
15
int
numttrks
;
16
int
numtdtrks
;
17
int
numttdtrks
;
18
bool
used
;
19
float
phi
;
//average phi value (halfway b/t min and max)
20
float
eta
;
//average eta value
21
std::vector<unsigned int>
trackidx
;
22
};
23
24
//store important information for plots
25
struct
MaxZBin
{
26
int
znum
;
//Numbered from 0 to nzbins (16, 32, or 64) in order
27
int
nclust
;
//number of clusters in this bin
28
float
zbincenter
;
29
EtaPhiBin
*
clusters
;
//list of all the clusters in this bin
30
float
ht
;
//sum of all cluster pTs--only the zbin with the maximum ht is stored
31
};
32
#endif
EtaPhiBin::numttdtrks
int numttdtrks
Definition:
L1TrackJetProducer.h:17
EtaPhiBin::phi
float phi
Definition:
L1TrackJetProducer.h:19
EtaPhiBin::trackidx
std::vector< unsigned int > trackidx
Definition:
L1TrackJetProducer.h:21
MaxZBin::clusters
EtaPhiBin * clusters
Definition:
L1TrackJetProducer.h:29
MaxZBin::ht
float ht
Definition:
L1TrackJetProducer.h:30
MaxZBin::nclust
int nclust
Definition:
L1TrackJetProducer.h:27
MaxZBin::zbincenter
float zbincenter
Definition:
L1TrackJetProducer.h:28
EtaPhiBin::numttrks
int numttrks
Definition:
L1TrackJetProducer.h:15
EtaPhiBin::pTtot
float pTtot
Definition:
L1TrackJetProducer.h:13
EtaPhiBin::numtdtrks
int numtdtrks
Definition:
L1TrackJetProducer.h:16
EtaPhiBin
Definition:
L1TrackJetProducer.h:12
EtaPhiBin::eta
float eta
Definition:
L1TrackJetProducer.h:20
EtaPhiBin::numtracks
int numtracks
Definition:
L1TrackJetProducer.h:14
EtaPhiBin::used
bool used
Definition:
L1TrackJetProducer.h:18
MaxZBin
Definition:
L1TrackJetProducer.h:25
MaxZBin::znum
int znum
Definition:
L1TrackJetProducer.h:26
Generated for CMSSW Reference Manual by
1.8.14