Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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) & 0
x1
);
17
18
}
19
20
}
raw::Trigger::Triggered
bool Triggered(const unsigned char bit) const
Accessor to specific bit.
Definition:
TriggerData.cxx:8
raw
Raw data description.
Definition:
AdcChannelData.h:88
TriggerData.h
reco_momentum_tuples.x1
x1
Definition:
reco_momentum_tuples.py:82
Generated by
1.8.11