CFEL - ASG Software Suite  2.5.0
CASS
pixeldetector_mask.h
Go to the documentation of this file.
1 //Copyright (C) 2011 Lutz Foucar
2 
3 /**
4  * @file pixeldetector_mask.h contains definition of the mask of a pixeldetector
5  *
6  * @author Lutz Foucar
7  */
8 
9 #ifndef _PIXELDETECTOR_MASK_HPP_
10 #define _PIXELDETECTOR_MASK_HPP_
11 
12 #include <vector>
13 
14 namespace cass
15 {
16 class CASSSettings;
17 
18 namespace pixeldetector
19 {
20 class CommonData;
21 
22 /** create the mask
23  *
24  * a mask is created from a list of mask elements loaded form the ini file. The
25  * individual elements properties are loaded from the .ini file according to
26  * their shape.
27  *
28  * @cassttng PixelDetectors/\%name\%/CorrectionMaps/Mask/{size}\n
29  * The number of mask elements that are part of the complete mask.
30  * Default is 0.
31  * @cassttng PixelDetectors/\%name\%/CorrectionMaps/Mask/\%index\%/{MaskElementType}\n
32  * Name of the mask element. Default is "Unknown", which let the code
33  * ignore that element. Possible values are:
34  * - "square": a square region of the mask. See
35  * cass::pixeldetector::addSquare for details
36  * - "circle" or "circ": a circular region of the mask. See
37  * cass::pixeldetector::addCircle
38  * - "ellipse": a ellipsodial region of the mask. See
39  * cass::pixeldetector::addEllipse for details
40  * - "triangle": a square region of the mask. See
41  * cass::pixeldetector::addTriangle for details
42  * - "ring": a ring with inner and outer part composed by ellipsoids.
43  * See cass::pixeldetector::addRing for details
44  *
45  * @author Nicola Coppola
46  * @author Lutz Foucar
47  */
48 void createCASSMask(CommonData &data, CASSSettings &s);
49 
50 }//end namespace pixeldetector
51 }//end namespace cass
52 
53 #endif
auxiliary data[Processor]
void createCASSMask(CommonData &data, CASSSettings &s)
create the mask