Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 110580
b: "refs/heads/CMSSW_7_0_X"
c: 7e75bc9
h: "refs/heads/CMSSW_7_0_X"
v: v3
  • Loading branch information
Gavril Giurgiu committed Jan 6, 2012
1 parent 33c07f2 commit 2783565
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
@@ -1,3 +1,3 @@
---
refs/heads/gh-pages: 90c10214674639ca7a94515baf184b0cc75e1b69
"refs/heads/CMSSW_7_0_X": f9bfe0f10981f68a256abc7f36e6cd113677f6b7
"refs/heads/CMSSW_7_0_X": 7e75bc982348cfb2fa614d8bc2306f84c07313e4
Expand Up @@ -7,27 +7,68 @@
#include "DataFormats/GeometryCommonDetAlgo/interface/MeasurementPoint.h"
#include "DataFormats/GeometryCommonDetAlgo/interface/MeasurementError.h"

#include "FWCore/Utilities/interface/Exception.h"
#include "FWCore/Utilities/interface/Exception.h"

/**
A ClusterParameterEstimator specific for strips

/**
A ClusterParameterEstimator specific for strips
also implements direct access to measurement frame, since that is needed during the track refitting
**/

class StripClusterParameterEstimator : public ClusterParameterEstimator<SiStripCluster> {
class StripClusterParameterEstimator : public ClusterParameterEstimator<SiStripCluster>
{
public:
typedef std::pair<MeasurementPoint,MeasurementError> MeasurementValues;
typedef std::pair<MeasurementPoint,MeasurementError> MeasurementValues;
virtual LocalVector driftDirection(const StripGeomDetUnit* det)const=0;

//
// methods to get directly the measurements
//
virtual MeasurementValues measurementParameters( const SiStripCluster&,const GeomDetUnit&) const {
throw cms::Exception("Not implemented") << "StripClusterParameterEstimator::measurementParameters not yet implemented"<< std::endl; }
virtual MeasurementValues measurementParameters( const SiStripCluster& cluster, const GeomDetUnit& gd, const LocalTrajectoryParameters & ltp) const {
throw cms::Exception("Not implemented") << "StripClusterParameterEstimator::measurementParameters not yet implemented"<< std::endl;

virtual MeasurementValues measurementParameters( const SiStripCluster&,const GeomDetUnit&) const
{
throw cms::Exception("Not implemented")
<< "StripClusterParameterEstimator::measurementParameters not yet implemented"<< std::endl;
}

virtual MeasurementValues measurementParameters( const SiStripCluster& cluster,
const GeomDetUnit& gd,
const LocalTrajectoryParameters & ltp) const
{
throw cms::Exception("Not implemented") << "StripClusterParameterEstimator::measurementParameters not yet implemented"<<
std::endl;
}


float templateProbability() const
{
return stripCPEtemplateProbability_;
}

int templateQbin() const
{
return stripCPEtemplateQbin_;
}

void templateProbability( float stp )
{
stripCPEtemplateProbability_ = stp;
}

void templateQbin( int stqb )
{
stripCPEtemplateQbin_ = stqb;
}

mutable float stripCPEtemplateProbability_;
mutable int stripCPEtemplateQbin_;

};


#endif




0 comments on commit 2783565

Please sign in to comment.