1 |
pam-fi |
1.1 |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
2 |
|
|
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> |
3 |
|
|
<title>PamCut: DataQualCut Class Reference</title> |
4 |
|
|
<link href="tabs.css" rel="stylesheet" type="text/css"> |
5 |
|
|
<link href="doxygen.css" rel="stylesheet" type="text/css"> |
6 |
|
|
</head><body> |
7 |
|
|
<!-- Generated by Doxygen 1.5.9 --> |
8 |
|
|
<div class="navigation" id="top"> |
9 |
|
|
<div class="tabs"> |
10 |
|
|
<ul> |
11 |
|
|
<li><a href="index.html"><span>Main Page</span></a></li> |
12 |
|
|
<li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
13 |
|
|
<li><a href="files.html"><span>Files</span></a></li> |
14 |
|
|
</ul> |
15 |
|
|
</div> |
16 |
|
|
<div class="tabs"> |
17 |
|
|
<ul> |
18 |
|
|
<li><a href="annotated.html"><span>Class List</span></a></li> |
19 |
|
|
<li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
20 |
|
|
<li><a href="functions.html"><span>Class Members</span></a></li> |
21 |
|
|
</ul> |
22 |
|
|
</div> |
23 |
|
|
</div> |
24 |
|
|
<div class="contents"> |
25 |
|
|
<h1>DataQualCut Class Reference</h1><!-- doxytag: class="DataQualCut" --><!-- doxytag: inherits="PamCut" -->The event and data quality cut. This cut ensures that all the data relative to the various detectors is present in the current event and that it has been correctly read. |
26 |
|
|
<a href="#_details">More...</a> |
27 |
|
|
<p> |
28 |
|
|
<code>#include <<a class="el" href="DataQualCut_8h_source.html">DataQualCut.h</a>></code> |
29 |
|
|
<p> |
30 |
|
|
<div class="dynheader"> |
31 |
|
|
Inheritance diagram for DataQualCut:</div> |
32 |
|
|
<div class="dynsection"> |
33 |
|
|
|
34 |
|
|
<p><center><img src="classDataQualCut.png" usemap="#DataQualCut_map" border="0" alt=""></center> |
35 |
|
|
<map name="DataQualCut_map"> |
36 |
|
|
<area href="classPamCut.html" alt="PamCut" shape="rect" coords="0,0,84,24"> |
37 |
|
|
</map> |
38 |
|
|
</div> |
39 |
|
|
|
40 |
|
|
<p> |
41 |
|
|
<a href="classDataQualCut-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> |
42 |
|
|
<tr><td></td></tr> |
43 |
|
|
<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> |
44 |
|
|
<tr><td class="memItemLeft" nowrap align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classDataQualCut.html#6fbac99a5b8eac12684bf1e998626424">DataQualCut</a> (const char *cutName, unsigned int cutMask=ALL)</td></tr> |
45 |
|
|
|
46 |
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">Constructor. <a class="el" href="DataQualCut_8h.html">DataQualCut.h</a>. <a href="#6fbac99a5b8eac12684bf1e998626424"></a><br></td></tr> |
47 |
pam-fi |
1.2 |
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="355daf1e01209166cc5799e08b93c80a"></a><!-- doxytag: member="DataQualCut::~DataQualCut" ref="355daf1e01209166cc5799e08b93c80a" args="()" --> |
48 |
|
|
</td><td class="memItemRight" valign="bottom"><a class="el" href="classDataQualCut.html#355daf1e01209166cc5799e08b93c80a">~DataQualCut</a> ()</td></tr> |
49 |
pam-fi |
1.1 |
|
50 |
pam-fi |
1.2 |
<tr><td class="mdescLeft"> </td><td class="mdescRight">Destructor. <br></td></tr> |
51 |
pam-fi |
1.1 |
<tr><td class="memItemLeft" nowrap align="right" valign="top">int </td><td class="memItemRight" valign="bottom"><a class="el" href="classDataQualCut.html#38d0e630a49d113ba6f7d7cc44a663e6">Check</a> (PamLevel2 *event)</td></tr> |
52 |
|
|
|
53 |
|
|
<tr><td class="mdescLeft"> </td><td class="mdescRight">The event and data quality check. <a href="#38d0e630a49d113ba6f7d7cc44a663e6"></a><br></td></tr> |
54 |
|
|
</table> |
55 |
|
|
<hr><a name="_details"></a><h2>Detailed Description</h2> |
56 |
pam-fi |
1.2 |
The event and data quality cut. This cut ensures that all the data relative to the various detectors is present in the current event and that it has been correctly read. <hr><h2>Constructor & Destructor Documentation</h2> |
57 |
pam-fi |
1.1 |
<a class="anchor" name="6fbac99a5b8eac12684bf1e998626424"></a><!-- doxytag: member="DataQualCut::DataQualCut" ref="6fbac99a5b8eac12684bf1e998626424" args="(const char *cutName, unsigned int cutMask=ALL)" --> |
58 |
|
|
<div class="memitem"> |
59 |
|
|
<div class="memproto"> |
60 |
|
|
<table class="memname"> |
61 |
|
|
<tr> |
62 |
|
|
<td class="memname">DataQualCut::DataQualCut </td> |
63 |
|
|
<td>(</td> |
64 |
|
|
<td class="paramtype">const char * </td> |
65 |
|
|
<td class="paramname"> <em>cutName</em>, </td> |
66 |
|
|
</tr> |
67 |
|
|
<tr> |
68 |
|
|
<td class="paramkey"></td> |
69 |
|
|
<td></td> |
70 |
|
|
<td class="paramtype">unsigned int </td> |
71 |
|
|
<td class="paramname"> <em>cutMask</em> = <code>ALL</code></td><td> </td> |
72 |
|
|
</tr> |
73 |
|
|
<tr> |
74 |
|
|
<td></td> |
75 |
|
|
<td>)</td> |
76 |
|
|
<td></td><td></td><td><code> [inline]</code></td> |
77 |
|
|
</tr> |
78 |
|
|
</table> |
79 |
|
|
</div> |
80 |
|
|
<div class="memdoc"> |
81 |
|
|
|
82 |
|
|
<p> |
83 |
|
|
Constructor. <a class="el" href="DataQualCut_8h.html">DataQualCut.h</a>. |
84 |
|
|
<p> |
85 |
|
|
<dl compact><dt><b>Parameters:</b></dt><dd> |
86 |
|
|
<table border="0" cellspacing="2" cellpadding="0"> |
87 |
|
|
<tr><td valign="top"></td><td valign="top"><em>cutName</em> </td><td>The cut's name. </td></tr> |
88 |
|
|
<tr><td valign="top"></td><td valign="top"><em>cutMask</em> </td><td>An integer whose binary code would provide a mask for the cuts to apply; use a DETECTORCODE or a combination of them to enable the corresponding checks. Default: ALL (meaning all Level 2 detectors except S4 and ND). </td></tr> |
89 |
|
|
</table> |
90 |
|
|
</dl> |
91 |
|
|
|
92 |
|
|
</div> |
93 |
|
|
</div><p> |
94 |
|
|
<hr><h2>Member Function Documentation</h2> |
95 |
|
|
<a class="anchor" name="38d0e630a49d113ba6f7d7cc44a663e6"></a><!-- doxytag: member="DataQualCut::Check" ref="38d0e630a49d113ba6f7d7cc44a663e6" args="(PamLevel2 *event)" --> |
96 |
|
|
<div class="memitem"> |
97 |
|
|
<div class="memproto"> |
98 |
|
|
<table class="memname"> |
99 |
|
|
<tr> |
100 |
|
|
<td class="memname">int DataQualCut::Check </td> |
101 |
|
|
<td>(</td> |
102 |
|
|
<td class="paramtype">PamLevel2 * </td> |
103 |
|
|
<td class="paramname"> <em>event</em> </td> |
104 |
|
|
<td> ) </td> |
105 |
|
|
<td><code> [virtual]</code></td> |
106 |
|
|
</tr> |
107 |
|
|
</table> |
108 |
|
|
</div> |
109 |
|
|
<div class="memdoc"> |
110 |
|
|
|
111 |
|
|
<p> |
112 |
|
|
The event and data quality check. |
113 |
|
|
<p> |
114 |
|
|
This method checks if the pointers to the various detectors level 2 data are present and if the data has been correctly unpacked, in this order: Tracker, Calo, ToF, AC, Trigger, Orbital Info. If it finds missing or corrupted data, it will stop the check and return a code corresponding to the missing/corrupted detector data.<p> |
115 |
|
|
<dl compact><dt><b>Parameters:</b></dt><dd> |
116 |
|
|
<table border="0" cellspacing="2" cellpadding="0"> |
117 |
|
|
<tr><td valign="top"></td><td valign="top"><em>event</em> </td><td>The event to analyze. </td></tr> |
118 |
|
|
</table> |
119 |
|
|
</dl> |
120 |
|
|
<dl class="return" compact><dt><b>Returns:</b></dt><dd><a class="el" href="CommonDefs_8h.html#c857f4b76ae431837cbf61fd74863b6c" title="The implementations of PamCut::Check() must return this value if the event satisfy...">CUTOK</a> if all the checked data are present and not corrupted. <p> |
121 |
|
|
<a class="el" href="CommonDefs_8h.html#0fda80c273d9a34e86f5f4a24f9a7b3ca35aac3cb4f8be8dfc8c5c471d537511" title="Code for Tracker.">TRK</a> if Tracker data is missing or corrupted. <p> |
122 |
|
|
<a class="el" href="CommonDefs_8h.html#0fda80c273d9a34e86f5f4a24f9a7b3c81bd89f7ff2c29f0171c22f7c47c3e9f" title="Code for Calorimeter level2.">CALO</a> if Calo level2 data is missing or corrupted. <p> |
123 |
|
|
<a class="el" href="CommonDefs_8h.html#0fda80c273d9a34e86f5f4a24f9a7b3ca7f5c1a17fce9b3e67e6e07a5e4c11b6" title="Code for Calorimeter level1.">CALO_L1</a> if Calo level1 data is missing <p> |
124 |
|
|
<a class="el" href="CommonDefs_8h.html#0fda80c273d9a34e86f5f4a24f9a7b3cc18e0fdb830eeb3a7f657a75000744db" title="Code for ToF.">TOF</a> if ToF data is missing or corrupted. <p> |
125 |
|
|
<a class="el" href="CommonDefs_8h.html#0fda80c273d9a34e86f5f4a24f9a7b3c3e553562ab1f48e96e9d0640526237b8" title="Code for AntiCoincidence.">AC</a> if AC data is missing or corrupted. <p> |
126 |
|
|
<a class="el" href="CommonDefs_8h.html#0fda80c273d9a34e86f5f4a24f9a7b3c55e5ba1b4d86a4bcc4c1789a8f7b75e5" title="Code for Trigger.">TRIG</a> if Trigger data is missing or corrupted. <p> |
127 |
|
|
<a class="el" href="CommonDefs_8h.html#0fda80c273d9a34e86f5f4a24f9a7b3cad58394ab5225c7978a38cc22fdbfa35" title="Code for Orbital Info.">ORB</a> if Orbital Info data is missing. </dd></dl> |
128 |
|
|
|
129 |
|
|
<p>Implements <a class="el" href="classPamCut.html#a874600461950d1f2b75ce3938f91cbe">PamCut</a>.</p> |
130 |
|
|
|
131 |
|
|
</div> |
132 |
|
|
</div><p> |
133 |
|
|
<hr>The documentation for this class was generated from the following files:<ul> |
134 |
pam-fi |
1.2 |
<li>MiscCuts/DataQualCut/<a class="el" href="DataQualCut_8h_source.html">DataQualCut.h</a><li>MiscCuts/DataQualCut/<a class="el" href="DataQualCut_8cpp.html">DataQualCut.cpp</a></ul> |
135 |
pam-fi |
1.1 |
</div> |
136 |
pam-fi |
1.2 |
<hr size="1"><address style="text-align: right;"><small>Generated on Fri Jun 5 15:09:02 2009 for PamCut by |
137 |
pam-fi |
1.1 |
<a href="http://www.doxygen.org/index.html"> |
138 |
|
|
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address> |
139 |
|
|
</body> |
140 |
|
|
</html> |