1 #ifndef Alignment_HIPAlignmentAlgorithm_HIPAlignmentAlgorithm_h 2 #define Alignment_HIPAlignmentAlgorithm_HIPAlignmentAlgorithm_h 66 double calcAPE(
double* par,
int iter,
double function);
96 std::vector<std::pair<std::vector<Alignable*>, std::vector<double> > >
theAPEParameters;
AlignmentParameterStore * theAlignmentParameterStore
int fillEventwiseTree(const char *filename, int iter, int ierr)
align::StructureType m2_ObjId
def setup(process, global_tag, zero_tesla=False)
void writeIterationFile(std::string filename, int iter)
Interface/Base class for alignment algorithms, each alignment algorithm has to be derived from this c...
bool processHit1D(const AlignableDetOrUnitPtr &alidet, const Alignable *ali, const TrajectoryStateOnSurface &tsos, const TrackingRecHit *hit, double hitwt)
define event information passed to algorithms
std::vector< unsigned > theIOVrangeSet
bool calcParameters(Alignable *ali, int setDet, double start, double step)
std::vector< std::pair< std::vector< Alignable * >, std::vector< double > > > theAPEParameters
~HIPAlignmentAlgorithm()
Destructor.
double calcAPE(double *par, int iter, double function)
void startNewLoop(void)
Called at start of new loop.
HIPAlignmentAlgorithm(const edm::ParameterSet &cfg)
Constructor.
void initialize(const edm::EventSetup &setup, AlignableTracker *tracker, AlignableMuon *muon, AlignableExtras *extras, AlignmentParameterStore *store)
Call at beginning of job.
std::string siterationfile
AlignableNavigator * theAlignableDetAccessor
void fillRoot(const edm::EventSetup &setup)
int readIterationFile(std::string filename)
std::vector< double > SetScanDet
void setAlignmentPositionError(void)
std::unique_ptr< AlignableObjectId > alignableObjectId_
std::string smisalignedfile
bool processHit2D(const AlignableDetOrUnitPtr &alidet, const Alignable *ali, const TrajectoryStateOnSurface &tsos, const TrackingRecHit *hit, double hitwt)
std::vector< edm::ParameterSet > theAPEParameterSet
align::StructureType m3_ObjId
virtual void terminate()
Called at end of job (must be implemented in derived class)
bool theFillTrackMonitoring
const std::vector< std::string > surveyResiduals_
eventInfo
add run, event number and lumi section
Constructor of the full muon geometry.
double theMaxRelParameterError
std::vector< align::StructureType > theLevels
double theMaxAllowedHitPull
std::vector< Alignable * > theAlignables
int theMinimumNumberOfHits
std::string theCollectorPath
void run(const edm::EventSetup &setup, const EventInfo &eventInfo)
Run the algorithm.
std::string sparameterfile