ATLAS Offline Software
Loading...
Searching...
No Matches
TBMWPCCont_p1.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
5// -------------------------------------------------------------------
6// Persistent representation of TBEvent/TBMWPCCont
7// See: https://twiki.cern.ch/twiki/bin/view/Atlas/TransientPersistentSeparation#TP_converters_for_component_type
8// Author: Iftach Sadeh (iftach.sadeh@NOSPAMTODAYcern.ch) , February 2010
9// -------------------------------------------------------------------
10#ifndef TBMWPCCONT_P1_H
11#define TBMWPCCONT_P1_H
12
13
15{
16
17public:
18
19 // reconstructed (c,y)
20 std::vector < std::vector<float> > m_cPos;
21 std::vector < std::vector<float> > m_cErr;
22
23 std::vector < bool > m_isX;
24
25 // variables used in 2002 HEC+EMEC from LArTBBeamChambers :
26 std::vector < std::vector<float> > m_clusterSize_c; // < half with of cluster (c) (cm)
27
28 // overflow indicators
29 // ------------------------------------------------------------------------------------------------
30 // for some reason a stright forward definition of m_cPosOverflow as
31 // std::vector < std::vector<bool> > m_cPosOverflow;
32 // does not work. perhaps due to the fact that std::vector<bool> is nonconforming (not
33 // really a vector of bool). instead we defined
34 // std::vector < std::vector<unsigned> > m_cPosOverflow;
35 // and will need to convert between the bool and unsigned constituents of the vectors later on
36 // ------------------------------------------------------------------------------------------------
37 std::vector < std::vector<unsigned> > m_cPosOverflow;
38 // ------------------------------------------------------------------------------------------------
39
40 std::vector < std::string > m_tbDetectorName; // from TBBeamDetector.h
41 std::vector < bool > m_overflow; // from TBBeamDetector.h
42
43};
44
45
46#endif
std::vector< std::vector< float > > m_clusterSize_c
std::vector< bool > m_isX
std::vector< bool > m_overflow
std::vector< std::vector< float > > m_cErr
std::vector< std::string > m_tbDetectorName
std::vector< std::vector< float > > m_cPos
std::vector< std::vector< unsigned > > m_cPosOverflow