ATLAS Offline Software
TileMuonReceiverDecisionToNtuple.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 //********************************************************************************************************
6 // Filename : TileMuonReceiverDecisionToNtuple.h
7 // Author : Joao Gentil Saraiva <jmendes@lxplus.cern.ch>
8 // Created : April 2014
9 //
10 // DESCRIPTION
11 //
12 // To create Ntuple file from TileMuonReceiverContainer
13 //
14 // Properties (JobOption Parameters):
15 //
16 // TileMuRcvContainer string key value of Tilecal decision for the tile-d L1Muon Trigger in TDS
17 // NtupleLoc string pathname of ntuple file
18 // NtupleID int ID of ntuple
19 //
20 // BUGS:
21 //
22 // History:
23 //
24 //
25 //*********************************************************************************************************
26 
27 #ifndef TileMuonReceiverDecisionToNtuple_H
28 #define TileMuonReceiverDecisionToNtuple_H
29 
30 #include "GaudiKernel/NTuple.h"
32 
33 class TileTBID;
34 class TileID;
35 
36 #include <string>
37 
39 public:
40  //Constructor
41  TileMuonReceiverDecisionToNtuple(const std::string& name, ISvcLocator* pSvcLocator);
42 
43  //Destructor
45 
46  //Gaudi Hooks
50 
51 private:
52  NTuple::Tuple* m_ntuplePtr;
53  std::string m_ntupleID;
54  std::string m_ntupleLoc;
55 
57  int m_nBits;
58 // int m_nTrigInput;
59 
60  NTuple::Item<int> m_nTrigInput;
61  NTuple::Array<int> m_partition;
62  NTuple::Array<int> m_module;
63 
64  NTuple::Array<float> m_energy_D5andD6;
65  NTuple::Array<float> m_energy_D6;
66  NTuple::Array<float> m_time_D5andD6;
67  NTuple::Array<float> m_time_D6;
68 
69  NTuple::Item<float> m_thershold_hi_d5andd6;
70  NTuple::Item<float> m_thershold_lo_d5andd6;
71  NTuple::Item<float> m_thershold_hi_d6;
72  NTuple::Item<float> m_thershold_lo_d6;
73 
74  NTuple::Array<bool> m_trigbit0;
75  NTuple::Array<bool> m_trigbit1;
76  NTuple::Array<bool> m_trigbit2;
77  NTuple::Array<bool> m_trigbit3;
78 
79  //const TileTBID* m_tileTBID;
80  //const TileID* m_tileID;
81 
82  std::string m_TileMuRcvContainer;
84 };
85 
86 #endif
TileMuonReceiverDecisionToNtuple::m_thershold_lo_d5andd6
NTuple::Item< float > m_thershold_lo_d5andd6
Definition: TileMuonReceiverDecisionToNtuple.h:70
TileMuonReceiverDecisionToNtuple::m_ntuplePtr
NTuple::Tuple * m_ntuplePtr
Definition: TileMuonReceiverDecisionToNtuple.h:52
TileMuonReceiverDecisionToNtuple::m_TileMuRcvContainer
std::string m_TileMuRcvContainer
Definition: TileMuonReceiverDecisionToNtuple.h:82
TileMuonReceiverDecisionToNtuple::m_ntupleLoc
std::string m_ntupleLoc
Definition: TileMuonReceiverDecisionToNtuple.h:54
TileMuonReceiverDecisionToNtuple::m_nMaxTrigInputs
int m_nMaxTrigInputs
Definition: TileMuonReceiverDecisionToNtuple.h:56
TileMuonReceiverDecisionToNtuple::m_thershold_hi_d5andd6
NTuple::Item< float > m_thershold_hi_d5andd6
Definition: TileMuonReceiverDecisionToNtuple.h:69
TileMuonReceiverDecisionToNtuple::m_energy_D6
NTuple::Array< float > m_energy_D6
Definition: TileMuonReceiverDecisionToNtuple.h:65
TileMuonReceiverDecisionToNtuple::m_trigbit2
NTuple::Array< bool > m_trigbit2
Definition: TileMuonReceiverDecisionToNtuple.h:76
TileMuonReceiverDecisionToNtuple::TileMuonReceiverDecisionToNtuple
TileMuonReceiverDecisionToNtuple(const std::string &name, ISvcLocator *pSvcLocator)
Definition: TileMuonReceiverDecisionToNtuple.cxx:42
TileMuonReceiverDecisionToNtuple::m_thershold_hi_d6
NTuple::Item< float > m_thershold_hi_d6
Definition: TileMuonReceiverDecisionToNtuple.h:71
TileMuonReceiverDecisionToNtuple::m_thershold_lo_d6
NTuple::Item< float > m_thershold_lo_d6
Definition: TileMuonReceiverDecisionToNtuple.h:72
TileMuonReceiverDecisionToNtuple::m_trigbit1
NTuple::Array< bool > m_trigbit1
Definition: TileMuonReceiverDecisionToNtuple.h:75
AthAlgorithm.h
TileMuonReceiverDecisionToNtuple::m_module
NTuple::Array< int > m_module
Definition: TileMuonReceiverDecisionToNtuple.h:62
TileMuonReceiverDecisionToNtuple::finalize
StatusCode finalize()
Definition: TileMuonReceiverDecisionToNtuple.cxx:260
TileMuonReceiverDecisionToNtuple::m_nBits
int m_nBits
Definition: TileMuonReceiverDecisionToNtuple.h:57
TileID
Helper class for TileCal offline identifiers.
Definition: TileID.h:68
TileMuonReceiverDecisionToNtuple::m_partition
NTuple::Array< int > m_partition
Definition: TileMuonReceiverDecisionToNtuple.h:61
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TileMuonReceiverDecisionToNtuple::~TileMuonReceiverDecisionToNtuple
virtual ~TileMuonReceiverDecisionToNtuple()
Definition: TileMuonReceiverDecisionToNtuple.cxx:58
AthAlgorithm
Definition: AthAlgorithm.h:47
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
TileMuonReceiverDecisionToNtuple::m_energy_D5andD6
NTuple::Array< float > m_energy_D5andD6
Definition: TileMuonReceiverDecisionToNtuple.h:64
TileMuonReceiverDecisionToNtuple::m_time_D6
NTuple::Array< float > m_time_D6
Definition: TileMuonReceiverDecisionToNtuple.h:67
TileMuonReceiverDecisionToNtuple::m_trigbit0
NTuple::Array< bool > m_trigbit0
Definition: TileMuonReceiverDecisionToNtuple.h:74
TileMuonReceiverDecisionToNtuple::m_TileMuRcvContainer_dbg
std::string m_TileMuRcvContainer_dbg
Definition: TileMuonReceiverDecisionToNtuple.h:83
TileMuonReceiverDecisionToNtuple
Definition: TileMuonReceiverDecisionToNtuple.h:38
TileMuonReceiverDecisionToNtuple::m_nTrigInput
NTuple::Item< int > m_nTrigInput
Definition: TileMuonReceiverDecisionToNtuple.h:60
TileMuonReceiverDecisionToNtuple::m_ntupleID
std::string m_ntupleID
Definition: TileMuonReceiverDecisionToNtuple.h:53
TileTBID
Helper class for TileCal offline identifiers of ancillary testbeam detectors and MBTS.
Definition: Calorimeter/CaloIdentifier/CaloIdentifier/TileTBID.h:65
TileMuonReceiverDecisionToNtuple::initialize
StatusCode initialize()
Definition: TileMuonReceiverDecisionToNtuple.cxx:66
TileMuonReceiverDecisionToNtuple::m_time_D5andD6
NTuple::Array< float > m_time_D5andD6
Definition: TileMuonReceiverDecisionToNtuple.h:66
TileMuonReceiverDecisionToNtuple::m_trigbit3
NTuple::Array< bool > m_trigbit3
Definition: TileMuonReceiverDecisionToNtuple.h:77
TileMuonReceiverDecisionToNtuple::execute
StatusCode execute()
Definition: TileMuonReceiverDecisionToNtuple.cxx:130