Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:59:10

0001 #ifndef CalibrationIsolatedParticlesMatrizHCALDetIds_h
0002 #define CalibrationIsolatedParticlesMatrizHCALDetIds_h
0003 
0004 #include <vector>
0005 
0006 #include "DataFormats/DetId/interface/DetId.h"
0007 #include "DataFormats/GeometryVector/interface/GlobalPoint.h"
0008 #include "DataFormats/GeometryVector/interface/GlobalVector.h"
0009 #include "Geometry/CaloGeometry/interface/CaloGeometry.h"
0010 #include "Geometry/CaloTopology/interface/HcalTopology.h"
0011 
0012 namespace spr {
0013 
0014   std::vector<DetId> matrixHCALIds(std::vector<DetId>& dets,
0015                                    const HcalTopology* topology,
0016                                    int ieta,
0017                                    int iphi,
0018                                    bool includeHO = false,
0019                                    bool debug = false);
0020 
0021   std::vector<DetId> matrixHCALIds(const DetId& det,
0022                                    const CaloGeometry* geo,
0023                                    const HcalTopology* topology,
0024                                    double dR,
0025                                    const GlobalVector& trackMom,
0026                                    bool includeHO = false,
0027                                    bool debug = false);
0028 
0029   std::vector<DetId> matrixHCALIds(std::vector<DetId>& dets,
0030                                    const HcalTopology* topology,
0031                                    int ietaE,
0032                                    int ietaW,
0033                                    int iphiN,
0034                                    int iphiS,
0035                                    bool includeHO = false,
0036                                    bool debug = false);
0037 
0038   std::vector<DetId> newHCALIdNS(std::vector<DetId>& dets,
0039                                  unsigned int last,
0040                                  const HcalTopology* topology,
0041                                  bool shiftNorth,
0042                                  int ieta,
0043                                  int iphi,
0044                                  bool debug = false);
0045 
0046   std::vector<DetId> newHCALIdNS(std::vector<DetId>& dets,
0047                                  unsigned int last,
0048                                  const HcalTopology* topology,
0049                                  bool shiftNorth,
0050                                  int ietaE,
0051                                  int ietaW,
0052                                  int iphiN,
0053                                  int iphiS,
0054                                  bool debug = false);
0055 
0056   std::vector<DetId> newHCALIdEW(std::vector<DetId>& dets,
0057                                  unsigned int last,
0058                                  const HcalTopology* topology,
0059                                  bool shiftEast,
0060                                  int ieta,
0061                                  bool debug = false);
0062 
0063   std::vector<DetId> newHCALIdEW(std::vector<DetId>& dets,
0064                                  unsigned int last,
0065                                  const HcalTopology* topology,
0066                                  bool shiftEast,
0067                                  int ietaE,
0068                                  int ietaW,
0069                                  bool debug = false);
0070 
0071   std::vector<DetId> matrixHCALIdsDepth(std::vector<DetId>& dets,
0072                                         const HcalTopology* topology,
0073                                         bool includeHO = false,
0074                                         bool debug = false);
0075 }  // namespace spr
0076 
0077 #endif