Go to the documentation of this file. 1 #ifndef Alignment_HIPAlignmentAlgorithm_HIPAlignmentAlgorithm_h
2 #define Alignment_HIPAlignmentAlgorithm_HIPAlignmentAlgorithm_h
12 #include "Riostream.h"
73 double calcAPE(
double* par,
int iter,
int function);
void writeIterationFile(std::string filename, int iter)
HIPMonitorConfig theMonitorConfig
void fillAlignablesMonitor(const edm::EventSetup &setup)
TFile * theTrackHitMonitorIORootFile
bool theApplyCutsPerComponent
std::unique_ptr< AlignableObjectId > alignableObjectId_
std::string smisalignedfile
std::unique_ptr< TFormula > theEtaFormula
HIPAlignmentAlgorithm(const edm::ParameterSet &cfg)
Constructor.
TTree * theAlignablesMonitorTree
std::vector< edm::ParameterSet > theCutsPerComponent
bool processHit2D(const AlignableDetOrUnitPtr &alidet, const Alignable *ali, const HIPAlignableSpecificParameters *alispecifics, const TrajectoryStateOnSurface &tsos, const TrackingRecHit *hit, double hitwt)
std::vector< std::pair< align::Alignables, std::vector< double > > > theAPEParameters
std::vector< double > SetScanDet
SurfaceDeformationFactory::Type m2_dtype
std::vector< align::StructureType > theLevels
TTree * theTrackMonitorTree
double calcAPE(double *par, int iter, int function)
int readIterationFile(std::string filename)
std::string sparameterfile
std::string uniEtaFormula
std::vector< HIPAlignableSpecificParameters > theAlignableSpecifics
TFile * theAlignablesMonitorIORootFile
HIPAlignableSpecificParameters * findAlignableSpecs(const Alignable *ali)
void initialize(const edm::EventSetup &setup, AlignableTracker *tracker, AlignableMuon *muon, AlignableExtras *extras, AlignmentParameterStore *store) override
Call at beginning of job.
align::StructureType m2_ObjId
align::Alignables theAlignables
void startNewLoop(void) override
Called at start of new loop.
const std::vector< std::string > surveyResiduals_
virtual void terminate()
Called at end of job (must be implemented in derived class)
bool processHit1D(const AlignableDetOrUnitPtr &alidet, const Alignable *ali, const HIPAlignableSpecificParameters *alispecifics, const TrajectoryStateOnSurface &tsos, const TrackingRecHit *hit, double hitwt)
std::vector< float > m2_surfDef
std::unique_ptr< AlignableNavigator > theAlignableDetAccessor
Constructor of the full muon geometry.
~HIPAlignmentAlgorithm() override
Destructor.
std::vector< unsigned > theIOVrangeSet
bool calcParameters(Alignable *ali, int setDet, double start, double step)
TTree * theHitMonitorTree
HIPAlignableSpecificParameters defaultAlignableSpecs
const bool doTrackHitMonitoring
std::vector< Alignable * > Alignables
std::string theCollectorPath
std::string siterationfile
AlignmentParameterStore * theAlignmentParameterStore
Interface/Base class for alignment algorithms, each alignment algorithm has to be derived from this c...
std::string suvarfilecore
void setAlignmentPositionError(void)
TFile * theSurveyIORootFile
void run(const edm::EventSetup &setup, const EventInfo &eventInfo) override
Run the algorithm.
void collectMonitorTrees(const std::vector< std::string > &filenames)
define event information passed to algorithms
std::vector< edm::ParameterSet > theAPEParameterSet
align::StructureType m3_ObjId