BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/RootEventData/RootEventData/TRecZddChannel.h
Go to the documentation of this file.
1#ifndef RootEventData_TRecZddChannel_H
2#define RootEventData_TRecZddChannel_H
3
4#include "TObject.h"
5#include <vector>
6#include <memory> //std::pair
7
8class TRecZddChannel : public TObject
9{
10 public :
11
13 virtual ~TRecZddChannel();
14
15 typedef std::vector<std::pair<Int_t, Float_t> > Fragments;
16
17 Int_t channelId() const { return m_chId; }
18 Int_t scanCode() const { return m_scanCode; }
19 Int_t baseLine() const { return m_baseLine; }
20 Int_t phase() const { return m_phase; }
21 const Fragments& fragments() const { return m_frags; }
22
23 void setChannelId(int chId) { m_chId = chId; }
24 void setScanCode(int scanCode) { m_scanCode = scanCode; }
25 void setBaseLine(int baseLine) { m_baseLine = baseLine; }
26 void setPhase(int phase) { m_phase = phase; }
27 void setFragments(const Fragments& frags) { m_frags = frags; }
28
29 private :
30
31 Int_t m_chId;
32 Int_t m_scanCode;
33 Int_t m_baseLine;
34 Int_t m_phase;
35 std::vector<std::pair<Int_t, Float_t> > m_frags;
36
37 ClassDef(TRecZddChannel, 1)
38};
39
40#endif
std::vector< std::pair< Int_t, Float_t > > Fragments
virtual ~TRecZddChannel()