CMS 3D CMS Logo

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