Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:14:23

0001 // ----------------------------------------------------------------------------
0002 // 'TrksInJetQATypes.h'
0003 // Derek Anderson
0004 // 04.30.2024
0005 //
0006 // Conveninent type definitions for the TrksInJetQA module.
0007 // ----------------------------------------------------------------------------
0008 
0009 #ifndef TRKSINJETSQATYPES_H
0010 #define TRKSINJETSQATYPES_H
0011 
0012 // c++ utilities
0013 #include <string>
0014 #include <vector>
0015 #include <utility>
0016 // root libraries
0017 #include <TH1.h>
0018 #include <TH2.h>
0019 // particle flow libraries
0020 #include <particleflowreco/ParticleFlowElement.h>
0021 #include <particleflowreco/ParticleFlowElementContainer.h>
0022 
0023 
0024 
0025 // type definitions -----------------------------------------------------------
0026 
0027 typedef std::pair<float, float>                 BinRange;
0028 typedef std::pair<uint32_t, BinRange>           BinDef;
0029 typedef std::tuple<std::string, BinDef>         HistDef1D;
0030 typedef std::tuple<std::string, BinDef, BinDef> HistDef2D;
0031 typedef std::vector<HistDef1D>                  VecHistDef1D;
0032 typedef std::vector<HistDef2D>                  VecHistDef2D;
0033 typedef std::vector<std::vector<TH1D*>>         VecHist1D;
0034 typedef std::vector<std::vector<TH2D*>>         VecHist2D;
0035 typedef std::vector<std::string>                VecHistTypes;
0036 typedef ParticleFlowElement                     PFObject;
0037 typedef ParticleFlowElementContainer            PFObjectStore;
0038 
0039 #endif
0040 
0041 // end ------------------------------------------------------------------------