BOSS
6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
old/SubDetectorFragment.h
Go to the documentation of this file.
1
//Dear emacs, this is -*- c++ -*-
2
3
/**
4
* @file eformat/old/SubDetectorFragment.h
5
* @author <a href="mailto:
[email protected]
">Andre DOS ANJOS</a>
6
* $Author: zhangy $
7
* $Revision: 1.1.1.1 $
8
* $Date: 2009/06/19 07:35:41 $
9
*
10
* @brief Defines the subdetector fragment entity. The definition is based on
11
* the update of ATL-DAQ-98-129, version 2.4, by D.Francis et al.
12
*/
13
14
#ifndef EFORMAT_OLD_SUBDETECTORFRAGMENT_H
15
#define EFORMAT_OLD_SUBDETECTORFRAGMENT_H
16
17
#include "
eformat/old/Header.h
"
18
19
namespace
eformat
{
20
21
namespace
old {
22
23
/**
24
* Describes how to access the contents of a subdetector fragment, as
25
* prescribed by the event format note.
26
*/
27
class
SubDetectorFragment
:
public
eformat::old::Header
{
28
29
public
:
//interface
30
31
/**
32
* To build a fragment given the containing buffer. I need to know
33
* where the fragment starts in order to do that.
34
*
35
* @param it The exact position where this fragment should start.
36
*/
37
SubDetectorFragment
(
const
uint32_t* it);
38
39
/**
40
* Destructor virtualisation
41
*/
42
virtual
~SubDetectorFragment
() {}
43
44
/**
45
* Says if the the fragment is valid. This may throw exceptions.
46
*/
47
virtual
bool
check
()
const
;
48
49
/**
50
* Says if the the fragment is valid. This may throw exceptions.
51
*/
52
bool
check_tree
()
const
;
53
54
/**
55
* Returns the lvl1 trigger type
56
*/
57
inline
uint32_t
lvl1_trigger_type
()
const
{
return
m_start[0]; }
58
59
private
:
//representation
60
61
const
uint32_t* m_start;
///< my start word
62
63
};
64
65
}
66
67
}
68
69
#endif
/* EFORMAT_OLD_SUBDETECTORFRAGMENT_H */
eformat::old::Header
Definition:
old/Header.h:40
eformat::old::SubDetectorFragment
Definition:
old/SubDetectorFragment.h:27
eformat::old::SubDetectorFragment::check_tree
bool check_tree() const
Definition:
SubDetectorFragment24.cxx:31
eformat::old::SubDetectorFragment::lvl1_trigger_type
uint32_t lvl1_trigger_type() const
Definition:
old/SubDetectorFragment.h:57
eformat::old::SubDetectorFragment::check
virtual bool check() const
Definition:
SubDetectorFragment24.cxx:24
eformat::old::SubDetectorFragment::~SubDetectorFragment
virtual ~SubDetectorFragment()
Definition:
old/SubDetectorFragment.h:42
eformat
Definition:
BadVersionIssue.h:20
Header.h
Defines the Header entity. The definition is based on the update of ATL-DAQ-98-129,...
source
Event
eformat
eformat-00-00-04
eformat
old
SubDetectorFragment.h
Generated by
1.9.6