CMS 3D CMS Logo

CSCSegAlgoShowering.h
Go to the documentation of this file.
1 #ifndef CSCSegment_CSCSegAlgoShowering_h
2 #define CSCSegment_CSCSegAlgoShowering_h
3 
22 #include <vector>
23 
24 class CSCSegFit;
25 
27 public:
28  typedef std::vector<const CSCRecHit2D*> ChamberHitContainer;
29 
31  explicit CSCSegAlgoShowering(const edm::ParameterSet& ps);
32 
34  virtual ~CSCSegAlgoShowering();
35 
37 
38 private:
40  bool isHitNearSegment(const CSCRecHit2D* h) const;
41  bool addHit(const CSCRecHit2D* hit, int layer);
42  bool hasHitOnLayer(int layer) const;
43  void compareProtoSegment(const CSCRecHit2D* h, int layer);
44  void pruneFromResidual(void);
45  void updateParameters(void);
46 
47  // Member variables
50 
52 
53  // input from .cfi file
54  bool debug;
56  double dRPhiFineMax;
57  double dPhiFineMax;
58  float tanPhiMax;
59  float tanThetaMax;
60  float chi2Max;
62  // float maxDR;
63  float maxDTheta;
64  float maxDPhi;
65 
66  CSCSegFit* sfit_; // current fit
67 };
68 #endif
CSCSegAlgoShowering::ChamberHitContainer
std::vector< const CSCRecHit2D * > ChamberHitContainer
Definition: CSCSegAlgoShowering.h:28
CSCSegAlgoShowering::tanThetaMax
float tanThetaMax
Definition: CSCSegAlgoShowering.h:59
CSCSegAlgoShowering::myName
const std::string myName
Definition: CSCSegAlgoShowering.h:48
CSCSegFit
Definition: CSCSegFit.h:30
CSCSegAlgoShowering::isHitNearSegment
bool isHitNearSegment(const CSCRecHit2D *h) const
Utility functions.
Definition: CSCSegAlgoShowering.cc:239
CSCSegAlgoShowering
Definition: CSCSegAlgoShowering.h:26
CSCSegAlgoShowering::~CSCSegAlgoShowering
virtual ~CSCSegAlgoShowering()
Destructor.
Definition: CSCSegAlgoShowering.cc:41
CSCSegAlgoShowering::protoSegment
ChamberHitContainer protoSegment
Definition: CSCSegAlgoShowering.h:51
CSCSegAlgoShowering::theChamber
const CSCChamber * theChamber
Definition: CSCSegAlgoShowering.h:49
CSCSegAlgoShowering::showerSeg
CSCSegment showerSeg(const CSCChamber *aChamber, const ChamberHitContainer &rechits)
Definition: CSCSegAlgoShowering.cc:46
CSCSegAlgoShowering::maxRatioResidual
float maxRatioResidual
Definition: CSCSegAlgoShowering.h:61
CSCSegAlgoShowering::maxDPhi
float maxDPhi
Definition: CSCSegAlgoShowering.h:64
CSCChamber
Definition: CSCChamber.h:22
CSCSegAlgoShowering::debug
bool debug
Definition: CSCSegAlgoShowering.h:54
CSCSegAlgoShowering::pruneFromResidual
void pruneFromResidual(void)
Definition: CSCSegAlgoShowering.cc:329
h
CSCSegment
Definition: CSCSegment.h:21
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CSCSegAlgoShowering::tanPhiMax
float tanPhiMax
Definition: CSCSegAlgoShowering.h:58
edm::ParameterSet
Definition: ParameterSet.h:36
CSCRecHit2D
Definition: CSCRecHit2D.h:18
CSCSegAlgoShowering::CSCSegAlgoShowering
CSCSegAlgoShowering(const edm::ParameterSet &ps)
Constructor.
Definition: CSCSegAlgoShowering.cc:26
CSCSegAlgoShowering::dRPhiFineMax
double dRPhiFineMax
Definition: CSCSegAlgoShowering.h:56
CSCSegAlgoShowering::maxDTheta
float maxDTheta
Definition: CSCSegAlgoShowering.h:63
TrackInfoProducer_cfi.rechits
rechits
Definition: TrackInfoProducer_cfi.py:9
CSCSegAlgoShowering::minHitsPerSegment
int minHitsPerSegment
Definition: CSCSegAlgoShowering.h:55
CSCSegAlgoShowering::sfit_
CSCSegFit * sfit_
Definition: CSCSegAlgoShowering.h:66
CSCSegAlgoShowering::addHit
bool addHit(const CSCRecHit2D *hit, int layer)
Definition: CSCSegAlgoShowering.cc:280
CSCSegAlgoShowering::chi2Max
float chi2Max
Definition: CSCSegAlgoShowering.h:60
CSCSegment.h
CSCRecHit2D.h
ParameterSet.h
CSCChamber.h
CSCSegAlgoShowering::updateParameters
void updateParameters(void)
Definition: CSCSegAlgoShowering.cc:384
CSCSegAlgoShowering::dPhiFineMax
double dPhiFineMax
Definition: CSCSegAlgoShowering.h:57
CSCSegAlgoShowering::compareProtoSegment
void compareProtoSegment(const CSCRecHit2D *h, int layer)
Definition: CSCSegAlgoShowering.cc:302
hit
Definition: SiStripHitEffFromCalibTree.cc:88
CSCSegAlgoShowering::hasHitOnLayer
bool hasHitOnLayer(int layer) const