ATLAS Offline Software
Loading...
Searching...
No Matches
CBNTAA_BeamInstrumentation.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef TBREC_CBNTAA_BEAMINSTRUMENTATION_H
6#define TBREC_CBNTAA_BEAMINSTRUMENTATION_H
7
8#include "CBNT_TBRecBase.h"
9#include <fstream>
10#include <string>
11#include <vector>
12
13
15{
16 public:
17 CBNTAA_BeamInstrumentation(const std::string & name, ISvcLocator * pSvcLocator);
18
20
21 //standart algorithm methods
22 virtual StatusCode CBNT_initialize() override;
23 virtual StatusCode CBNT_execute() override;
24 virtual StatusCode CBNT_finalize() override;
25
26 private:
27
28 bool m_neverReturnFailure; // controls when StatusCode::FAILURE can be issued in execute()
29
30 std::string m_containerKey1;
31 std::string m_containerKey2;
32 std::string m_containerKey3;
33 std::string m_containerKey4;
34 std::string m_containerKey5;
35 std::vector<std::string> m_scint_names;
36 std::vector<std::string> m_bpc_names;
37
38 std::vector<std::string> *m_scint_ntnames, *m_bpc_ntnames;
39 std::vector<float> *m_scint_adc, *m_scint_tdc, *m_bpc_x, *m_bpc_y;
40 long m_trig;
41 float m_clock;
42
43 // BPC raw data, set to False by default
46
47 // Trigger Array, set to False by default
49 std::vector<unsigned int> m_triggflag;
50
52 std::vector<long> *m_trig_sel;
53
54 //Private function to build names for ntuple entries. Concatinates strings
55 //but omitts characters that are problematic for root like -+:*/
56 std::string add_name(const char* base, const std::string& extension);
57
58 virtual StatusCode CBNT_clear() override;
59};
60
61#endif
std::vector< std::string > m_bpc_names
std::vector< std::string > * m_bpc_ntnames
std::string add_name(const char *base, const std::string &extension)
std::vector< unsigned int > m_triggflag
virtual StatusCode CBNT_finalize() override
virtual StatusCode CBNT_execute() override
CBNTAA_BeamInstrumentation(const std::string &name, ISvcLocator *pSvcLocator)
std::vector< std::string > m_scint_names
virtual StatusCode CBNT_initialize() override
std::vector< std::string > * m_scint_ntnames
virtual StatusCode CBNT_clear() override
CBNT_TBRecBase(const std::string &name, ISvcLocator *pSvcLocator)
std::string base
Definition hcg.cxx:81