Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
srcs
lardataobj
lardataobj
RawData
TriggerData.cxx
Go to the documentation of this file.
1
#include "
TriggerData.h
"
2
3
#include <stdexcept>
4
5
namespace
raw {
6
7
//****************************************************
8
bool
Trigger::Triggered
(
const
unsigned
char
bit)
const
9
//****************************************************
10
{
11
12
if
(bit>32) {
13
throw
std::invalid_argument(
"\n\nCannot access bit higher than 32!\n"
);
14
}
15
16
return
( (fTriggerBits >> bit) & 0x1);
17
18
}
19
20
}
raw::Trigger::Triggered
bool Triggered(const unsigned char bit) const
Accessor to specific bit.
Definition:
TriggerData.cxx:8
TriggerData.h
Generated by
1.8.5