1 #ifndef Alignment_MuonAlignmentAlgorithms_CSCPairResidualsConstraint_H 2 #define Alignment_MuonAlignmentAlgorithms_CSCPairResidualsConstraint_H 52 double value()
const override;
53 double error()
const override;
56 bool valid()
const override;
64 bool addTrack(
const std::vector<TrajectoryMeasurement> &measurements,
69 void read(std::vector<std::ifstream *> &
input, std::vector<std::string> &filenames);
74 bool isFiducial(std::vector<const TransientTrackingRecHit *> &
hits,
bool is_i);
75 bool dphidzFromTrack(
const std::vector<TrajectoryMeasurement> &measurements,
97 #endif // Alignment_MuonAlignmentAlgorithms_CSCPairResidualsConstraint_H
~CSCPairResidualsConstraint() override
bool isFiducial(std::vector< const TransientTrackingRecHit *> &hits, bool is_i)
const Propagator * m_propagator
void setZplane(const CSCGeometry *cscGeometry)
static std::string const input
double error() const override
CSCPairResidualsConstraint(unsigned int identifier, int i, int j, CSCDetId id_i, CSCDetId id_j)
double value() const override
void configure(CSCOverlapsAlignmentAlgorithm *parent)
void write(std::ofstream &output)
void read(std::vector< std::ifstream *> &input, std::vector< std::string > &filenames)
void calculatePhi(const TransientTrackingRecHit *hit, double &phi, double &phierr2, bool doRphi=false, bool globalPhi=false)
const Plane & surface() const
The nominal surface of the GeomDet.
const PositionType & position() const
bool valid() const override
bool addTrack(const std::vector< TrajectoryMeasurement > &measurements, const reco::TransientTrack &track, const TrackTransformer *trackTransformer)
double radius(bool is_i) const
CSCOverlapsAlignmentAlgorithm * m_parent
unsigned int m_identifier
Plane::PlanePointer m_Zsurface
bool dphidzFromTrack(const std::vector< TrajectoryMeasurement > &measurements, const reco::TransientTrack &track, const TrackTransformer *trackTransformer, double &drphidz)
void setPropagator(const Propagator *propagator)
const CSCGeometry * m_cscGeometry
const GeomDet * idToDet(DetId) const override