Go to the documentation of this file.00001
00003
00005
00006
00007 #include "DetectorDescription/Algorithm/src/AlgoInit.h"
00008 #include "DetectorDescription/Core/interface/DDAlgo.h"
00009 #include "DetectorDescription/ExprAlgo/interface/AlgoPos.h"
00010
00011
00012
00013 #include "global_linear.h"
00014
00015
00016 #include "global_angular.h"
00017
00018
00019 #include "global_simpleAngular.h"
00020
00021
00022 #include "DetectorDescription/Algorithm/src/presh_detectors.h"
00023
00024
00025
00026
00027
00028 void AlgoInit()
00029 {
00030 static bool isInit = false;
00031 if (isInit) return;
00032 isInit = true;
00033
00034
00035 AlgoPos * algo = 0;
00036
00037
00038
00039
00040
00041
00042
00043
00044 algo = new AlgoPos(new global_linear_Check);
00045
00046
00047
00048 new global_linear_0(algo,"base in the input parameters");
00049
00050
00051 new global_linear_1(algo,"without base in input parameters");
00052
00053
00054
00055 DDalgo(DDName("linear", "global"), algo);
00056
00057
00058 algo = new AlgoPos(new global_angular_Check);
00059
00060
00061
00062 new global_angular_0(algo,"divrange");
00063
00064
00065
00066 DDalgo(DDName("angular", "global"), algo);
00067
00068
00069 algo = new AlgoPos(new global_simpleAngular_Check);
00070
00071
00072
00073 new global_simpleAngular_0(algo,"number no delta");
00074
00075
00076 new global_simpleAngular_1(algo,"delta no number");
00077
00078
00079 new global_simpleAngular_2(algo,"delta AND number");
00080
00081
00082
00083 DDalgo(DDName("simpleAngular", "global"), algo);
00084
00085 }
00086
00087