CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 };
EtaPhiBin * clusters
float zbincenter