AlignmentVariations.h
Go to the documentation of this file.
1 #include <string>
2 #include "AlignmentVariation.h"
3 
5 
6  public:
7 
38 
39 
41 
42  HornCurrent = new AlignmentVariation("HornCurrent","current","v3r0p10");
43  HornCurrent->SetLabel("Horn Current (2 kA)");
44  HornCurrent->SetUnits("kA");
45  HornCurrent->SetDisk("/lbne/data2");
46  HornCurrent->AddVariation("212");
47  HornCurrent->AddVariation("208");
48  HornCurrent->AddVariation("204");
49  HornCurrent->AddVariation("202");
50  HornCurrent->AddVariation("198");
51  HornCurrent->AddVariation("196");
52  HornCurrent->AddVariation("192");
53  HornCurrent->AddVariation("188");
54  HornCurrent->SetTolerance("2");
55  HornCurrent->SetCV("200");
56 
57  Horn1XOffset = new AlignmentVariation("Horn1XOffset","macro","v3r0p10");
58  Horn1XOffset->SetUnits("mm");
59  Horn1XOffset->SetLabel("Horn 1 X Shift (0.5 mm)");
60  Horn1XOffset->SetDisk("/lbne/data2");
61  Horn1XOffset->AddVariation("0.5");
62  Horn1XOffset->AddVariation("1");
63  Horn1XOffset->AddVariation("2");
64  Horn1XOffset->AddVariation("2.5");
65  Horn1XOffset->SetTolerance("0.5");
66 
67  Horn1YOffset = new AlignmentVariation("Horn1YOffset","macro","v3r0p10");
68  Horn1YOffset->SetUnits("mm");
69  Horn1YOffset->SetLabel("Horn 1 Y Shift (0.5 mm)");
70  Horn1YOffset->SetDisk("/lbne/data2");
71  Horn1YOffset->AddVariation("0.5");
72  Horn1YOffset->AddVariation("1");
73  Horn1YOffset->AddVariation("2");
74  Horn1YOffset->AddVariation("2.5");
75  Horn1YOffset->SetTolerance("0.5");
76 
77  Horn2XOffset = new AlignmentVariation("Horn2XOffset","macro","v3r0p10");
78  Horn2XOffset->SetUnits("mm");
79  Horn2XOffset->SetLabel("Horn 2 X Shift (0.5 mm)");
80  Horn2XOffset->SetDisk("/lbne/data2");
81  Horn2XOffset->AddVariation("0.5");
82  Horn2XOffset->AddVariation("1");
83  Horn2XOffset->AddVariation("2");
84  Horn2XOffset->AddVariation("2.5");
85  Horn2XOffset->SetTolerance("0.5");
86 
87  Horn2YOffset = new AlignmentVariation("Horn2YOffset","macro","v3r0p10");
88  Horn2YOffset->SetUnits("mm");
89  Horn2YOffset->SetLabel("Horn 2 Y Shift (0.5 mm)");
90  Horn2YOffset->SetDisk("/lbne/data2");
91  Horn2YOffset->AddVariation("0.5");
92  Horn2YOffset->AddVariation("1");
93  Horn2YOffset->AddVariation("2");
94  Horn2YOffset->AddVariation("2.5");
95  Horn2YOffset->SetTolerance("0.5");
96 
97  TargetYOffset = new AlignmentVariation("TargetYOffset","macro","v3r0p10");
98  TargetYOffset->SetUnits("mm");
99  TargetYOffset->SetLabel("Target Y Shift (0.5 mm)");
100  TargetYOffset->SetDisk("/lbne/data2");
101  TargetYOffset->AddVariation("0.5");
102  TargetYOffset->AddVariation("1");
103  TargetYOffset->AddVariation("2");
104  TargetYOffset->AddVariation("3");
105  TargetYOffset->SetTolerance("0.5");
106 
107  TargetXOffset = new AlignmentVariation("TargetXOffset","macro","v3r0p10");
108  TargetXOffset->SetUnits("mm");
109  TargetXOffset->SetLabel("Target X Shift (0.5 mm)");
110  TargetXOffset->SetDisk("/lbne/data2");
111  TargetXOffset->AddVariation("0.5");
112  TargetXOffset->AddVariation("1");
113  TargetXOffset->AddVariation("2");
114  TargetXOffset->AddVariation("3");
115  TargetXOffset->SetTolerance("0.5");
116 
117  TargetYTilt = new AlignmentVariation("TargetYTilt","macro","v3r0p10");
118  TargetYTilt->SetUnits("mm");
119  TargetYTilt->SetLabel("Target Y Tilt (0.5 mm)");
120  TargetYTilt->SetDisk("/lbne/data2");
121  TargetYTilt->AddVariation("0.5");
122  TargetYTilt->AddVariation("1");
123  TargetYTilt->AddVariation("2");
124  TargetYTilt->AddVariation("3");
125  TargetYTilt->SetTolerance("0.5");
126 
127  TargetXTilt = new AlignmentVariation("TargetXTilt","macro","v3r0p10");
128  TargetXTilt->SetUnits("mm");
129  TargetXTilt->SetLabel("Target X Tilt (0.5 mm)");
130  TargetXTilt->SetDisk("/lbne/data2");
131  TargetXTilt->AddVariation("0.5");
132  TargetXTilt->AddVariation("1");
133  TargetXTilt->AddVariation("2");
134  TargetXTilt->AddVariation("3");
135  TargetXTilt->SetTolerance("0.5");
136 
137  Horn1XTilt = new AlignmentVariation("Horn1XTilt","macro","v3r0p10");
138  Horn1XTilt->SetDisk("/lbne/data2");
139  Horn1XTilt->SetUnits("mm");
140  Horn1XTilt->SetLabel("Horn 1 X Tilt (0.5 mm)");
141  Horn1XTilt->AddVariation("0.25");
142  Horn1XTilt->AddVariation("0.5");
143  Horn1XTilt->AddVariation("1");
144  Horn1XTilt->AddVariation("1.5");
145  Horn1XTilt->AddVariation("2");
146  Horn1XTilt->AddVariation("2.5");
147  Horn1XTilt->SetTolerance("0.5");
148 
149  Horn1YTilt = new AlignmentVariation("Horn1YTilt","macro","v3r0p10");
150  Horn1YTilt->SetUnits("mm");
151  Horn1YTilt->SetLabel("Horn 1 Y Tilt (0.5 mm)");
152  Horn1YTilt->SetDisk("/lbne/data2");
153  Horn1YTilt->AddVariation("0.25");
154  Horn1YTilt->AddVariation("0.5");
155  Horn1YTilt->AddVariation("1");
156  //Horn1YTilt->AddVariation("1.5");
157  Horn1YTilt->AddVariation("2");
158  //Horn1YTilt->AddVariation("2.5");
159  Horn1YTilt->SetTolerance("0.5");
160 
161  Horn2XTilt = new AlignmentVariation("Horn2XTilt","macro","v3r0p10");
162  Horn2XTilt->SetUnits("mm");
163  Horn2XTilt->SetLabel("Horn 2 X Tilt (0.5 mm)");
164  Horn2XTilt->SetDisk("/lbne/data2");
165  Horn2XTilt->AddVariation("0.5");
166  Horn2XTilt->AddVariation("1");
167  Horn2XTilt->AddVariation("2");
168  Horn2XTilt->AddVariation("2.5");
169  Horn2XTilt->SetTolerance("0.5");
170 
171  Horn2YTilt = new AlignmentVariation("Horn2YTilt","macro","v3r0p10");
172  Horn2YTilt->SetUnits("mm");
173  Horn2YTilt->SetLabel("Horn 2 Y Tilt (0.5 mm)");
174  Horn2YTilt->SetDisk("/lbne/data2");
175  Horn2YTilt->AddVariation("0.5");
176  Horn2YTilt->AddVariation("1");
177  Horn2YTilt->AddVariation("2");
178  //Horn2YTilt->AddVariation("2.5");
179  Horn2YTilt->SetTolerance("0.5");
180 
181  BeamSigmaX = new AlignmentVariation("BeamSigmaX","macro","v3r0p10");
182  BeamSigmaX->SetUnits("mm");
183  BeamSigmaX->SetLabel("Beam Width X (0.1 mm)");
184  BeamSigmaX->SetCV("1.3");
185  BeamSigmaX->SetDisk("/lbne/data2");
186  BeamSigmaX->AddVariation("0.7");
187  BeamSigmaX->AddVariation("0.9");
188  BeamSigmaX->AddVariation("1.1");
189  BeamSigmaX->AddVariation("1.2");
190  BeamSigmaX->AddVariation("1.4");
191  BeamSigmaX->AddVariation("1.5");
192  BeamSigmaX->AddVariation("1.7");
193  BeamSigmaX->AddVariation("1.9");
194  BeamSigmaX->SetTolerance("0.1");
195 
196  BeamSigmaY = new AlignmentVariation("BeamSigmaY","macro","v3r0p10");
197  BeamSigmaY->SetUnits("mm");
198  BeamSigmaY->SetLabel("Beam Width Y (0.1 mm)");
199  BeamSigmaY->SetDisk("/lbne/data2");
200  BeamSigmaY->SetCV("1.3");
201  BeamSigmaY->AddVariation("0.7");
202  BeamSigmaY->AddVariation("0.9");
203  BeamSigmaY->AddVariation("1.1");
204  BeamSigmaY->AddVariation("1.2");
205  BeamSigmaY->AddVariation("1.4");
206  BeamSigmaY->AddVariation("1.5");
207  BeamSigmaY->AddVariation("1.7");
208  BeamSigmaY->AddVariation("1.9");
209  BeamSigmaY->SetTolerance("0.1");
210 
211  DecayPipeRadius = new AlignmentVariation("DecayPipeRadius","macro","v3r0p10");
212  DecayPipeRadius->SetUnits("m");
213  DecayPipeRadius->SetLabel("Decay Pipe Radius (0.1 m)");
214  DecayPipeRadius->SetCV("2.0");
215  DecayPipeRadius->SetDisk("/lbne/data2");
216  DecayPipeRadius->AddVariation("1.4");
217  DecayPipeRadius->AddVariation("1.6");
218  DecayPipeRadius->AddVariation("1.8");
219  DecayPipeRadius->AddVariation("1.9");
220  DecayPipeRadius->AddVariation("2.1");
221  DecayPipeRadius->AddVariation("2.2");
222  DecayPipeRadius->AddVariation("2.4");
223  DecayPipeRadius->AddVariation("2.6");
224  DecayPipeRadius->SetTolerance("0.1");
225 
226  BeamOffsetX = new AlignmentVariation("NominalX","macro","v3r0p10");
227  BeamOffsetX->SetCV("0");
228  BeamOffsetX->SetLabel("Beam Shift X (0.45 mm)");
229  BeamOffsetX->SetTolerance(".45");
230  BeamOffsetX->SetUnits("mm");
231  BeamOffsetX->SetUser("bashyal8");
232  BeamOffsetX->AddVariation("1");
233  BeamOffsetX->AddVariation("2");
234  BeamOffsetX->AddVariation("3");
235 
236  BeamOffsetY = new AlignmentVariation("NominalY","macro","v3r0p10");
237  BeamOffsetY->SetCV("0");
238  BeamOffsetY->SetLabel("Beam Shift Y (0.45 mm)");
239  BeamOffsetY->SetTolerance(".45");
240  BeamOffsetY->SetUnits("mm");
241  BeamOffsetY->SetUser("bashyal8");
242  BeamOffsetY->AddVariation("1");
243  BeamOffsetY->AddVariation("2");
244  BeamOffsetY->AddVariation("3");
245 
246  NearDetX = new AlignmentVariation("LBNENDX","location","v3r0p10");
247  NearDetX->SetCV("0");
248  NearDetX->SetLabel("Near Det Shift X (25 mm)");
249  NearDetX->SetTolerance("25");
250  NearDetX->SetUnits("mm");
251  NearDetX->AddVariation("255");
252  NearDetX->AddVariation("510");
253 
254  NearDetY = new AlignmentVariation("LBNENDY","location","v3r0p10");
255  NearDetY->SetCV("0");
256  NearDetY->SetLabel("Near Det Shift Y (25 mm)");
257  NearDetY->SetTolerance("25");
258  NearDetY->SetUnits("mm");
259  NearDetY->AddVariation("255");
260  NearDetY->AddVariation("510");
261 
262  FarDetX = new AlignmentVariation("LBNEFDX","location","v3r0p10");
263  FarDetX->SetCV("0");
264  FarDetX->SetLabel("Far Det Shift X (21 m)");
265  FarDetX->SetDisk("/lbne/data2");
266  FarDetX->SetTolerance("21");
267  FarDetX->SetUnits("m");
268  FarDetX->AddVariation("21");
269  FarDetX->AddVariation("42");
270  FarDetX->AddVariation("84");
271  FarDetX->AddVariation("500");
272  FarDetX->AddVariation("2000");
273 
274  FarDetY = new AlignmentVariation("LBNEFDY","location","v3r0p10");
275  FarDetY->SetDisk("/lbne/data2");
276  FarDetY->SetCV("0");
277  FarDetY->SetLabel("Far Det Shift Y (21 m)");
278  FarDetY->SetTolerance("21");
279  FarDetY->SetUnits("m");
280  FarDetY->AddVariation("21");
281  FarDetY->AddVariation("42");
282  FarDetY->AddVariation("84");
283  FarDetY->AddVariation("500");
284  FarDetY->AddVariation("2000");
285 
286  WaterLayerThickness = new AlignmentVariation("NominalWaterLayer_","macro","v3r0p10");
287  WaterLayerThickness->SetLabel("Water Thickness (0.5 mm)");
288  WaterLayerThickness->SetCV("0");
289  WaterLayerThickness->SetTolerance("0.5");
290  WaterLayerThickness->SetUnits("mm");
291  WaterLayerThickness->AddVariation("0.5");
292  WaterLayerThickness->AddVariation("1");
293  WaterLayerThickness->AddVariation("1.5");
294 
295  BaffleScraping = new AlignmentVariation("BeamOffsetX7Sigma0pnt001","shift","v3r0p10");
296  BaffleScraping->SetLabel("Baffle Scraping (0.25%)");
297  BaffleScraping->SetScaleFactor(0.0025);
298  BaffleScraping->SetUser("seongtae");
299 
300  NoShielding = new AlignmentVariation("NoShielding","shift","v3r0p10");
301 
302  DecayPipeOffsetX = new AlignmentVariation("DecayPipeOffsetX","macro","v3r0p10");
303  DecayPipeOffsetX->SetLabel("Decay Pipe Shift X (20 mm)");
304  DecayPipeOffsetX->SetCV("0");
305  DecayPipeOffsetX->SetTolerance("20");
306  DecayPipeOffsetX->SetUnits("");
307  DecayPipeOffsetX->AddVariation("20");
308  DecayPipeOffsetX->AddVariation("40");
309  DecayPipeOffsetX->AddVariation("60");
310  DecayPipeOffsetX->AddVariation("80");
311  DecayPipeOffsetX->AddVariation("100");
312  DecayPipeOffsetX->AddVariation("300");
313  DecayPipeOffsetX->AddVariation("500");
314  DecayPipeOffsetX->AddVariation("700");
315  DecayPipeOffsetX->AddVariation("900");
316  DecayPipeOffsetX->SetUser("seongtae");
317 
318  SkinDepthIC = new AlignmentVariation("SkinDepthIC_","macro","v3r0p10");
319  SkinDepthIC->SetCV("10");
320  SkinDepthIC->SetLabel("IC Skin Depth (#infty#rightarrow6.6mm)");
321  SkinDepthIC->SetTolerance("-3.4");
322  SkinDepthIC->SetUnits("mm");
323  SkinDepthIC->AddVariation("2.5");
324  SkinDepthIC->AddVariation("3.5");
325  SkinDepthIC->AddVariation("4.5");
326  SkinDepthIC->AddVariation("5.5");
327  SkinDepthIC->AddVariation("6.6");
328 
329  BeamTiltX = new AlignmentVariation("Tilt_t","macro","v3r0p10");
330  BeamTiltX->SetCV("0");
331  BeamTiltX->SetLabel("BeamTilt X (70 #murad)");
332  BeamTiltX->SetTolerance("70");
333  BeamTiltX->SetUnits("");
334  BeamTiltX->AddVariation("700");
335  BeamTiltX->AddVariation("933");
336  BeamTiltX->AddVariation("1166");
337  BeamTiltX->AddVariation("1400");
338  //BeamTiltX->AddVariation("1633");
339  //BeamTiltX->AddVariation("1866");
340  //BeamTiltX->AddVariation("2100");
341  BeamTiltX->SetMacroSuffix("_p0");
342  BeamTiltX->SetUser("tbw6971");
343 
344  BeamTiltY = new AlignmentVariation("Tilt_t","macro","v3r0p10");
345  BeamTiltY->SetCV("0");
346  BeamTiltY->SetLabel("BeamTilt Y (70 #murad)");
347  BeamTiltY->SetTolerance("70");
348  BeamTiltY->SetUnits("");
349  BeamTiltY->AddVariation("700");
350  BeamTiltY->AddVariation("933");
351  BeamTiltY->AddVariation("1166");
352  BeamTiltY->AddVariation("1400");
353  //BeamTiltY->AddVariation("1633");
354  //BeamTiltY->AddVariation("1866");
355  //BeamTiltY->AddVariation("2100");
356  BeamTiltY->SetMacroSuffix("_p90d");
357  BeamTiltY->SetUser("tbw6971");
358 
359  TargetDensity = new AlignmentVariation("Density_","macro","v3r0p10");
360  TargetDensity->SetCV("1.78");
361  TargetDensity->SetLabel("Target Density (2%)");
362  TargetDensity->SetTolerance("0.0356");
363  TargetDensity->SetUnits("");
364  TargetDensity->AddVariation("1.6732");
365  TargetDensity->AddVariation("1.7088");
366  TargetDensity->AddVariation("1.7444");
367  TargetDensity->AddVariation("1.7622");
368  TargetDensity->AddVariation("1.7978");
369  TargetDensity->AddVariation("1.8156");
370  TargetDensity->AddVariation("1.8512");
371  TargetDensity->AddVariation("1.8868");
372  }
373 
374 };
375 
AlignmentVariation * DecayPipeRadius
AlignmentVariation * TargetYOffset
AlignmentVariation * Horn1YOffset
AlignmentVariation * BeamSigmaX
AlignmentVariation * TargetDensity
void SetScaleFactor(double scale_factor)
AlignmentVariation * TargetXOffset
AlignmentVariation * Horn2YOffset
AlignmentVariation * BeamOffsetX
AlignmentVariation * TargetXTilt
void SetUnits(std::string units)
AlignmentVariation * Horn2YTilt
void SetUser(std::string u)
AlignmentVariation * Horn1XTilt
AlignmentVariation * BeamTiltY
void AddVariation(std::string variation)
AlignmentVariation * Horn2XTilt
AlignmentVariation * Horn1XOffset
AlignmentVariation * NearDetX
AlignmentVariation * FarDetX
AlignmentVariation * BeamTiltX
AlignmentVariation * DecayPipeOffsetX
AlignmentVariation * BeamSigmaY
AlignmentVariation * NearDetY
AlignmentVariation * BaffleScraping
AlignmentVariation * Horn1YTilt
AlignmentVariation * HornCurrent
void SetTolerance(std::string tolerance)
AlignmentVariation * TargetYTilt
AlignmentVariation * FarDetY
void SetDisk(std::string disk)
AlignmentVariation * WaterLayerThickness
void SetCV(std::string cv)
void SetLabel(std::string label)
void SetMacroSuffix(std::string macro_suffix)
AlignmentVariation * BeamOffsetY
AlignmentVariation * NoShielding
AlignmentVariation * SkinDepthIC
AlignmentVariation * Horn2XOffset