Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:26:00

0001 #ifndef CSCSegment_CSCSegAlgoPreClustering_h
0002 #define CSCSegment_CSCSegAlgoPreClustering_h
0003 /**
0004  * \file CSCSegAlgoPreClustering.h
0005  *
0006  *  \authors: S. Stoynev  - NU
0007  *            I. Bloch    - FNAL
0008  *            E. James    - FNAL
0009  *
0010  * See header file for description.
0011  */
0012 
0013 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0014 #include <DataFormats/CSCRecHit/interface/CSCRecHit2D.h>
0015 #include <DataFormats/CSCRecHit/interface/CSCSegment.h>
0016 #include <vector>
0017 
0018 class CSCChamber;
0019 
0020 class CSCSegAlgoPreClustering {
0021 public:
0022   typedef std::vector<const CSCRecHit2D*> ChamberHitContainer;
0023 
0024   /// constructor
0025   explicit CSCSegAlgoPreClustering(const edm::ParameterSet& ps);
0026 
0027   /// destructor
0028   ~CSCSegAlgoPreClustering();
0029 
0030   /// clusterize
0031   std::vector<std::vector<const CSCRecHit2D*> > clusterHits(const CSCChamber* aChamber,
0032                                                             const ChamberHitContainer& rechits);
0033 
0034 private:
0035   bool debug;
0036   double dXclusBoxMax;
0037   double dYclusBoxMax;
0038 
0039   float mean_x, mean_y, err_x, err_y;
0040   const CSCChamber* theChamber;
0041 };
0042 #endif