Belle II Software development
CDCTriggerMLPInput.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8#pragma once
9#include <TObject.h>
10
11namespace Belle2 {
20 class CDCTriggerMLPInput : public TObject {
21 public:
24
26 CDCTriggerMLPInput(std::vector<float>& input, unsigned sector):
27 m_input(input), m_sector(sector)
28 {};
29
32
34 std::vector<float> getInput()
35 {
36 return m_input;
37 }
39 unsigned getSector()
40 {
41 return m_sector;
42 }
43
44 protected:
46 std::vector<float> m_input;
48 unsigned m_sector;
49
52 };
53
55}
56
Class to hold some intermediate information for the monitoring of the neurotrigger.
std::vector< float > getInput()
get the input vector
std::vector< float > m_input
input vector to go into the MLP
unsigned m_sector
sector index to identify the MLP
unsigned getSector()
get the sector index
CDCTriggerMLPInput(std::vector< float > &input, unsigned sector)
explicit constructor
CDCTriggerMLPInput()
default constructor
ClassDef(CDCTriggerMLPInput, 1)
Needed to make the ROOT object storable.
~CDCTriggerMLPInput()
destructor, empty because we don't allocate memory explicitly.
Abstract base class for different kinds of events.