ATLAS Offline Software
Migration.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 TAUDQA_MIGRATION_H
6 #define TAUDQA_MIGRATION_H
7 
9 #include "ParamPlots.h"
10 #include "xAODTau/TauJet.h"
11 #include "xAODPFlow/PFO.h"
12 
13 namespace Tau{
14 
15  enum DecayMode {
31  DECAYSIZE
32  };
33  class Migration: public PlotBase {
34  public:
35  Migration(PlotBase *pParent, const std::string& sDir, std::string sTauJetContainerName);
36  virtual ~Migration();
37 
38  /* void fill(const xAOD::TauJet& tau,int nProng, int nNeu); */
39  void fill(const xAOD::TauJet& tau, xAOD::TauJetParameters::DecayMode trueMode, float weight);
40 
41  const char *m_lable[DECAYSIZE] = {
42  "t10r10",
43  "t11r11",
44  "t1xr1x",
45  "t30r30",
46  "t3xr3x",
47  "t10r11",
48  "t10r1x",
49  "t11r10",
50  "t11r1x",
51  "t1xr10",
52  "t1xr11",
53  "t30r3x",
54  "t3xr30",
55  "t1r3",
56  "t3r1"
57  };
58 
62  private:
63  void initializePlots();
65  void decayModeFill(int trueMode, int recMode, TH1 *histo, float weight);
66  void decayModeFill(int trueMode, int recP, int recN, TH1 *histo, float weight);
67  };
68 
69 }
70 
71 #endif
Tau::t11r1x
@ t11r1x
Definition: Migration.h:24
Tau::t10r10
@ t10r10
Definition: Migration.h:16
PlotBase
Definition: PlotBase.h:34
Tau::Migration::~Migration
virtual ~Migration()
Definition: Migration.cxx:20
python.copyTCTOutput.sDir
sDir
Definition: copyTCTOutput.py:60
Tau::t1xr10
@ t1xr10
Definition: Migration.h:25
Tau::DecayMode
DecayMode
Definition: Migration.h:15
Tau::Migration::m_migration_panTau
TH1 * m_migration_panTau
Definition: Migration.h:59
Tau::Migration::m_lable
const char * m_lable[DECAYSIZE]
Definition: Migration.h:41
Tau::Migration
Definition: Migration.h:33
Tau::Migration::initializePlots
void initializePlots()
Definition: Migration.cxx:24
Tau::t3xr3x
@ t3xr3x
Definition: Migration.h:20
Tau
Definition: EfficiencyPtPlots.cxx:9
Tau::t30r30
@ t30r30
Definition: Migration.h:19
Tau::t11r11
@ t11r11
Definition: Migration.h:17
dqt_zlumi_pandas.weight
int weight
Definition: dqt_zlumi_pandas.py:189
xAOD::TauJetParameters::DecayMode
DecayMode
Definition: TauDefs.h:385
Tau::t10r11
@ t10r11
Definition: Migration.h:21
PFO.h
Tau::Migration::m_migration_cellBased
TH1 * m_migration_cellBased
Definition: Migration.h:61
Tau::t3r1
@ t3r1
Definition: Migration.h:30
Tau::DECAYSIZE
@ DECAYSIZE
Definition: Migration.h:31
Tau::t30r3x
@ t30r3x
Definition: Migration.h:27
xAOD::TauJet_v3
Class describing a tau jet.
Definition: TauJet_v3.h:41
Tau::Migration::fill
void fill(const xAOD::TauJet &tau, xAOD::TauJetParameters::DecayMode trueMode, float weight)
Definition: Migration.cxx:40
Tau::Migration::m_sTauJetContainerName
std::string m_sTauJetContainerName
Definition: Migration.h:64
Tau::t10r1x
@ t10r1x
Definition: Migration.h:22
Tau::Migration::m_migration_panTauProto
TH1 * m_migration_panTauProto
Definition: Migration.h:60
Tau::t1xr11
@ t1xr11
Definition: Migration.h:26
Tau::Migration::Migration
Migration(PlotBase *pParent, const std::string &sDir, std::string sTauJetContainerName)
Definition: Migration.cxx:11
Tau::t1xr1x
@ t1xr1x
Definition: Migration.h:18
Tau::t1r3
@ t1r3
Definition: Migration.h:29
Tau::t3xr30
@ t3xr30
Definition: Migration.h:28
TauJet.h
Tau::Migration::decayModeFill
void decayModeFill(int trueMode, int recMode, TH1 *histo, float weight)
Definition: Migration.cxx:73
Tau::t11r10
@ t11r10
Definition: Migration.h:23
PlotBase.h
plotBeamSpotCompare.histo
histo
Definition: plotBeamSpotCompare.py:415
ParamPlots.h