ATLAS Offline Software
TBTrackInfoFromTag.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef TBREC_TBTRACKINFOFROMTAG_H
6 #define TBREC_TBTRACKINFOFROMTAG_H
7 // //
9 // MWPC Reconstruction algorithm. Based on code for 2002 TestBeam //
10 // (see LArCnv/LArHECTBCnv/hectb/Alg_mwpc.cxx) //
11 // author : Pierre-Antoine Delsart //
13 
14 // my cout color definitios
15 #define coutDefault "\033[0m"
16 #define coutRed "\033[31m"
17 #define coutGreen "\033[32m"
18 #define coutBlue "\033[34m"
19 #define coutPurple "\033[35m"
20 #define coutUnderLine "\033[4;30m"
21 #define coutWhiteOnBlack "\33[40;37;1m"
22 #define MSG_DEBUG_RED(string) log << MSG::DEBUG << coutRed << string << coutDefault << endmsg;
23 #define MSG_DEBUG_GREEN(string) log << MSG::DEBUG << coutGreen << string << coutDefault << endmsg;
24 #define MSG_DEBUG_BLUE(string) log << MSG::DEBUG << coutBlue << string << coutDefault << endmsg;
25 #define MSG_DEBUG_PURPLE(string) log << MSG::DEBUG << coutPurple << string << coutDefault << endmsg;
26 #define MSG_DEBUG_WHITEONBLACK(string) log << MSG::DEBUG << coutWhiteOnBlack << string << coutDefault << endmsg;
27 #define MSG_ERROR_WHITEONBLACK(string) log << MSG::ERROR << coutWhiteOnBlack << string << coutDefault << endmsg;
28 
29 
32 
33 #include "TBEvent/TBTrackInfo.h"
34 
35 #include <string>
36 #include <vector>
37 #include <algorithm>
38 #include <iterator>
39 
40 class TROOT;
41 class TChain;
42 class TFile;
43 class TString;
44 
45 #include "TileRec_h1000.h"
46 #include "TB_tree.h"
47 
48 
50 {
51 
52 
53 
54  public:
55 
56  TBTrackInfoFromTag(const std::string& name, ISvcLocator* pSvcLocator);
57  virtual ~TBTrackInfoFromTag();
58 
59  virtual StatusCode initialize() override;
60  virtual StatusCode execute() override;
61  virtual StatusCode finalize() override;
62 
63  private:
64 
66  // Properties //
68 
69 
70  std::string m_SGrecordkey, m_SGkey1;
71  std::string m_inputRootFileName;
72 
75  unsigned int m_max_btdc1, m_max_GainC;
78 
79  TFile * rootFile1, * rootFile2;
82 
83 };
84 
85 CLASS_DEF( TBTrackInfoFromTag , 33008888 , 1 )
86 
87 
88 #endif
TBTrackInfoFromTag::execute
virtual StatusCode execute() override
Definition: TBTrackInfoFromTag.cxx:103
TileRec_h1000
Definition: TileRec_h1000.h:22
TBTrackInfoFromTag::initialize
virtual StatusCode initialize() override
Definition: TBTrackInfoFromTag.cxx:60
TileRec_h1000.h
TBTrackInfoFromTag::tileRecTree
TileRec_h1000 * tileRecTree
Definition: TBTrackInfoFromTag.h:80
TBTrackInfoFromTag::rootFile1
TFile * rootFile1
Definition: TBTrackInfoFromTag.h:79
TBTrackInfoFromTag::TBTrackInfoFromTag
TBTrackInfoFromTag(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TBTrackInfoFromTag.cxx:29
TBTrackInfoFromTag::m_max_nTrtHitsTRT
unsigned int m_max_nTrtHitsTRT
Definition: TBTrackInfoFromTag.h:73
TBTrackInfoFromTag::tbTree
TB_tree * tbTree
Definition: TBTrackInfoFromTag.h:81
TBTrackInfoFromTag::m_SGkey1
std::string m_SGkey1
Definition: TBTrackInfoFromTag.h:70
TBTrackInfoFromTag::m_max_nPixelHits
unsigned int m_max_nPixelHits
Definition: TBTrackInfoFromTag.h:73
AthAlgorithm.h
TB_tree.h
TBTrackInfoFromTag::m_max1_Trt_HLTRT
unsigned int m_max1_Trt_HLTRT
Definition: TBTrackInfoFromTag.h:74
TBTrackInfoFromTag::m_max2_SampleC
unsigned int m_max2_SampleC
Definition: TBTrackInfoFromTag.h:77
TBTrackInfoFromTag::m_max_nSctHits
unsigned int m_max_nSctHits
Definition: TBTrackInfoFromTag.h:73
TBTrackInfoFromTag
Definition: TBTrackInfoFromTag.h:50
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TBTrackInfoFromTag::m_inputRootFileName
std::string m_inputRootFileName
Definition: TBTrackInfoFromTag.h:71
TBTrackInfoFromTag::m_max_Chi2C
unsigned int m_max_Chi2C
Definition: TBTrackInfoFromTag.h:76
TBTrackInfoFromTag::m_max2_Trt_HLTRT
unsigned int m_max2_Trt_HLTRT
Definition: TBTrackInfoFromTag.h:74
AthAlgorithm
Definition: AthAlgorithm.h:47
TBTrackInfoFromTag::m_SGrecordkey
std::string m_SGrecordkey
Definition: TBTrackInfoFromTag.h:70
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
TBTrackInfoFromTag::finalize
virtual StatusCode finalize() override
Definition: TBTrackInfoFromTag.cxx:234
TBTrackInfoFromTag::m_max_MuBack
unsigned int m_max_MuBack
Definition: TBTrackInfoFromTag.h:76
DataVector.h
An STL vector of pointers that by default owns its pointed-to elements.
TBTrackInfo.h
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:64
TBTrackInfoFromTag::~TBTrackInfoFromTag
virtual ~TBTrackInfoFromTag()
Definition: TBTrackInfoFromTag.cxx:56
TBTrackInfoFromTag::rootFile2
TFile * rootFile2
Definition: TBTrackInfoFromTag.h:79
TBTrackInfoFromTag::m_max_EfitC
unsigned int m_max_EfitC
Definition: TBTrackInfoFromTag.h:76
TBTrackInfoFromTag::m_max_TfitC
unsigned int m_max_TfitC
Definition: TBTrackInfoFromTag.h:76
TBTrackInfoFromTag::m_max1_SampleC
unsigned int m_max1_SampleC
Definition: TBTrackInfoFromTag.h:77
TB_tree
Definition: TB_tree.h:22
TBTrackInfoFromTag::m_max_btdc1
unsigned int m_max_btdc1
Definition: TBTrackInfoFromTag.h:75
TBTrackInfoFromTag::m_max_GainC
unsigned int m_max_GainC
Definition: TBTrackInfoFromTag.h:75