CMS 3D CMS Logo

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;
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
std::vector< unsigned int > trackidx
EtaPhiBin * clusters
float zbincenter