Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2025-06-12 23:30:05

0001 #ifndef RecoPPS_Local_interface_RPixClusterToHit_h
0002 #define RecoPPS_Local_interface_RPixClusterToHit_h
0003 
0004 /**********************************************************************
0005  *
0006  * Author: F.Ferro - INFN Genova
0007  *
0008  **********************************************************************/
0009 
0010 #include "CondFormats/PPSObjects/interface/PPSPixelTopology.h"
0011 #include "DataFormats/CTPPSReco/interface/CTPPSPixelCluster.h"
0012 #include "DataFormats/CTPPSReco/interface/CTPPSPixelRecHit.h"
0013 #include "DataFormats/Common/interface/DetSetVector.h"
0014 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0015 
0016 class RPixClusterToHit {
0017 public:
0018   RPixClusterToHit(edm::ParameterSet const &conf);
0019 
0020   void buildHits(unsigned int detId,
0021                  const std::vector<CTPPSPixelCluster> &clusters,
0022                  std::vector<CTPPSPixelRecHit> &hits,
0023                  const PPSPixelTopology &ppt) const;
0024 
0025 private:
0026   void makeHit(CTPPSPixelCluster cluster, std::vector<CTPPSPixelRecHit> &hits, PPSPixelTopology const &ppt) const;
0027 
0028   const int verbosity_;
0029 };
0030 
0031 #endif  // RecoPPS_Local_interface_RPixClusterToHit_h