Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:18:44

0001 /// ===========================================================================
0002 /*! \file   TrksInJetQADefs.h
0003  *  \author Derek Anderson
0004  *  \date   04.30.2024
0005  *
0006  *  Conveninent type definitions for the TrksInJetQA module.
0007  */
0008 /// ===========================================================================
0009 
0010 #ifndef TRKSINJETSQADEFS_H
0011 #define TRKSINJETSQADEFS_H
0012 
0013 // particle flow libraries
0014 #include <particleflowreco/ParticleFlowElement.h>
0015 #include <particleflowreco/ParticleFlowElementContainer.h>
0016 
0017 // root libraries
0018 #include <TH1.h>
0019 #include <TH2.h>
0020 
0021 // c++ utilities
0022 #include <map>
0023 #include <string>
0024 #include <utility>
0025 #include <vector>
0026 
0027 // ============================================================================
0028 //! Definitions for the TrksInJetQA module
0029 // ============================================================================
0030 namespace TrksInJetQADefs
0031 {
0032   typedef std::pair<float, float> BinRange;
0033   typedef std::pair<uint32_t, BinRange> BinDef;
0034   typedef std::tuple<std::string, BinDef> HistDef1D;
0035   typedef std::tuple<std::string, BinDef, BinDef> HistDef2D;
0036   typedef std::vector<HistDef1D> VecHistDef1D;
0037   typedef std::vector<HistDef2D> VecHistDef2D;
0038   typedef std::vector<std::vector<TH1D*>> VecHist1D;
0039   typedef std::vector<std::vector<TH2D*>> VecHist2D;
0040   typedef std::vector<std::string> VecHistTypes;
0041   typedef std::map<int, HistDef1D> MapHistDef1D;
0042   typedef std::map<int, HistDef2D> MapHistDef2D;
0043   typedef std::map<int, TH1D*> MapHist1D;
0044   typedef std::map<int, TH2D*> MapHist2D;
0045   typedef std::map<int, std::string> MapHistTypes;
0046   typedef ParticleFlowElement PFObject;
0047   typedef ParticleFlowElementContainer PFObjectStore;
0048 }
0049 
0050 #endif
0051 
0052 // end ========================================================================