Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-06 08:13:22

0001 /// ---------------------------------------------------------------------------
0002 /*! \file   TwrInterfaces.h
0003  *  \author Derek Anderson
0004  *  \date   08.04.2024
0005  *
0006  *  Calorimeter tower-related interfaces.
0007  */
0008 /// ---------------------------------------------------------------------------
0009 
0010 #ifndef SCORRELATORUTILITIES_TWRINTERFACES_H
0011 #define SCORRELATORUTILITIES_TWRINTERFACES_H
0012 
0013 // c++ utilities
0014 #include <limits>
0015 #include <string>
0016 #include <vector>
0017 #include <cassert>
0018 #include <optional>
0019 // phool libraries
0020 #include <phool/phool.h>
0021 #include <phool/getClass.h>
0022 #include <phool/PHIODataNode.h>
0023 #include <phool/PHNodeIterator.h>
0024 #include <phool/PHCompositeNode.h>
0025 // CaloBase libraries
0026 #include <calobase/RawTower.h>
0027 #include <calobase/TowerInfo.h>
0028 #include <calobase/RawTowerGeom.h>
0029 #include <calobase/RawTowerContainer.h>
0030 #include <calobase/TowerInfoContainer.h>
0031 #include <calobase/RawTowerGeomContainer.h>
0032 // analysis utilities
0033 #include "Constants.h"
0034 
0035 // make common namespaces implicit
0036 using namespace std;
0037 
0038 
0039 
0040 namespace SColdQcdCorrelatorAnalysis {
0041   namespace Interfaces {
0042 
0043     // tower interfaces -----------------------------------------------------
0044 
0045     RawTowerContainer*            GetRawTowerStore(PHCompositeNode* topNode, const string node);
0046     TowerInfoContainer*           GetTowerInfoStore(PHCompositeNode* topNode, const string node);
0047     RawTowerContainer::ConstRange GetRawTowers(PHCompositeNode* topNode, const string store);
0048     RawTowerGeomContainer*        GetTowerGeometries(PHCompositeNode* topNode, const string node);
0049     RawTowerGeom*                 GetTowerGeometry(PHCompositeNode* topNode, const int subsys, const int rawKey); 
0050 
0051   }  // end Interfaces namespace
0052 }  // end SColdQcdCorrealtorAnalysis namespace
0053 
0054 #endif
0055 
0056 // end ------------------------------------------------------------------------