ATLAS Offline Software
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 
17 public:
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
TBMWPCCont_p1
Definition: TBMWPCCont_p1.h:15
TBMWPCCont_p1::m_overflow
std::vector< bool > m_overflow
Definition: TBMWPCCont_p1.h:41
TBMWPCCont_p1::m_tbDetectorName
std::vector< std::string > m_tbDetectorName
Definition: TBMWPCCont_p1.h:40
TBMWPCCont_p1::m_clusterSize_c
std::vector< std::vector< float > > m_clusterSize_c
Definition: TBMWPCCont_p1.h:26
TBMWPCCont_p1::m_cErr
std::vector< std::vector< float > > m_cErr
Definition: TBMWPCCont_p1.h:21
TBMWPCCont_p1::m_cPosOverflow
std::vector< std::vector< unsigned > > m_cPosOverflow
Definition: TBMWPCCont_p1.h:37
TBMWPCCont_p1::m_cPos
std::vector< std::vector< float > > m_cPos
Definition: TBMWPCCont_p1.h:20
TBMWPCCont_p1::m_isX
std::vector< bool > m_isX
Definition: TBMWPCCont_p1.h:23