Macros

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77
#ifndef CalibrationIsolatedParticlesMatrizHCALDetIds_h
#define CalibrationIsolatedParticlesMatrizHCALDetIds_h

#include <vector>

#include "DataFormats/DetId/interface/DetId.h"
#include "DataFormats/GeometryVector/interface/GlobalPoint.h"
#include "DataFormats/GeometryVector/interface/GlobalVector.h"
#include "Geometry/CaloGeometry/interface/CaloGeometry.h"
#include "Geometry/CaloTopology/interface/HcalTopology.h"

namespace spr {

  std::vector<DetId> matrixHCALIds(std::vector<DetId>& dets,
                                   const HcalTopology* topology,
                                   int ieta,
                                   int iphi,
                                   bool includeHO = false,
                                   bool debug = false);

  std::vector<DetId> matrixHCALIds(const DetId& det,
                                   const CaloGeometry* geo,
                                   const HcalTopology* topology,
                                   double dR,
                                   const GlobalVector& trackMom,
                                   bool includeHO = false,
                                   bool debug = false);

  std::vector<DetId> matrixHCALIds(std::vector<DetId>& dets,
                                   const HcalTopology* topology,
                                   int ietaE,
                                   int ietaW,
                                   int iphiN,
                                   int iphiS,
                                   bool includeHO = false,
                                   bool debug = false);

  std::vector<DetId> newHCALIdNS(std::vector<DetId>& dets,
                                 unsigned int last,
                                 const HcalTopology* topology,
                                 bool shiftNorth,
                                 int ieta,
                                 int iphi,
                                 bool debug = false);

  std::vector<DetId> newHCALIdNS(std::vector<DetId>& dets,
                                 unsigned int last,
                                 const HcalTopology* topology,
                                 bool shiftNorth,
                                 int ietaE,
                                 int ietaW,
                                 int iphiN,
                                 int iphiS,
                                 bool debug = false);

  std::vector<DetId> newHCALIdEW(std::vector<DetId>& dets,
                                 unsigned int last,
                                 const HcalTopology* topology,
                                 bool shiftEast,
                                 int ieta,
                                 bool debug = false);

  std::vector<DetId> newHCALIdEW(std::vector<DetId>& dets,
                                 unsigned int last,
                                 const HcalTopology* topology,
                                 bool shiftEast,
                                 int ietaE,
                                 int ietaW,
                                 bool debug = false);

  std::vector<DetId> matrixHCALIdsDepth(std::vector<DetId>& dets,
                                        const HcalTopology* topology,
                                        bool includeHO = false,
                                        bool debug = false);
}  // namespace spr

#endif