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
bool valid() const override
void read(std::vector< std::ifstream * > &input, std::vector< std::string > &filenames)
~CSCPairResidualsConstraint() override
const GeomDet * idToDet(DetId) const override
double error() const override
const Propagator * m_propagator
void setZplane(const CSCGeometry *cscGeometry)
const Plane & surface() const
The nominal surface of the GeomDet.
static std::string const input
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)
bool isFiducial(std::vector< const TransientTrackingRecHit * > &hits, bool is_i)
void calculatePhi(const TransientTrackingRecHit *hit, double &phi, double &phierr2, bool doRphi=false, bool globalPhi=false)
double radius(bool is_i) const
bool addTrack(const std::vector< TrajectoryMeasurement > &measurements, const reco::TransientTrack &track, const TrackTransformer *trackTransformer)
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)
const PositionType & position() const
void setPropagator(const Propagator *propagator)
const CSCGeometry * m_cscGeometry