Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:44:56

0001 #ifndef Alignment_HIPAlignmentAlgorithm_HIPAlignableSpecificParameters_h
0002 #define Alignment_HIPAlignmentAlgorithm_HIPAlignableSpecificParameters_h
0003 
0004 #include <vector>
0005 #include "Alignment/CommonAlignment/interface/Alignable.h"
0006 
0007 class HIPAlignableSpecificParameters {
0008 protected:
0009   // Use the pointer to match
0010   const Alignable* aliObj;
0011   const bool defaultFlag;
0012 
0013 public:
0014   // These are the actual parameters
0015   double minRelParError;
0016   double maxRelParError;
0017   int minNHits;
0018   double maxHitPull;
0019   bool applyPixelProbCut;
0020   bool usePixelProbXYOrProbQ;
0021   double minPixelProbXY;
0022   double maxPixelProbXY;
0023   double minPixelProbQ;
0024   double maxPixelProbQ;
0025 
0026   HIPAlignableSpecificParameters(const Alignable* aliObj_, bool defaultFlag_ = false);
0027   HIPAlignableSpecificParameters(const HIPAlignableSpecificParameters& other);
0028   ~HIPAlignableSpecificParameters() {}
0029 
0030   bool isDefault() const;
0031 
0032   align::ID id() const;
0033   align::StructureType objId() const;
0034   bool matchAlignable(const Alignable* ali) const;
0035 };
0036 
0037 #endif