Commit 70207396 authored by Pawel Jurgielewicz's avatar Pawel Jurgielewicz Committed by Graeme Stewart
Browse files

fixed purity calculations (TrigMinBiasMonitoring-00-01-09)

		* fixed purity calculations
        * TrigMinBiasMonitoring-00-01-09

2014-12-09 Pawel Jurgielewicz <Pawel.Jurgielewicz@cern.ch>
		* histograms for tracking activated
		* new class of purity monitoring histograms
        * TrigMinBiasMonitoring-00-01-08

2014-11-21 Pawel Jurgielewicz <Pawel.Jurgielewicz@cern.ch>
        * bugfix
		* histograms for spacepoints activated
        * TrigMinBiasMonitoring-00-01-07

2014-11-17 Pawel Jurgielewicz <Pawel.Jurgielewicz@cern.ch>
        * support for HMT triggers
		* new histograms for HMT
        * TrigMinBiasMonitoring-00-01-06

2014-08-28 Pawel Jurgielewicz <Pawel.Jurgielewicz@cern.ch>
        * totally removed old functionality histograms
...
(Long ChangeLog diff - truncated)
parent 37af8d63
......@@ -22,7 +22,7 @@
#include "GaudiKernel/MsgStream.h"
#include "AthenaMonitoring/ManagedMonitorToolBase.h"
#include "CaloIdentifier/TileID.h"
#include "CaloIdentifier/TileTBID.h"
#include "TrigDecisionTool/TrigDecisionTool.h"
#include "TrigDecisionTool/ChainGroup.h"
......@@ -30,6 +30,12 @@
#include "ZdcIdentifier/ZdcID.h"
#include "xAODEventInfo/EventInfo.h"
//selection tool
#include "InDetTrackSelectionTool/IInDetTrackSelectionTool.h"
//#include "InDetTrackSelectionTool/InDetTrackCut.h"
#include <string>
#include <vector>
#include <map>
......@@ -45,6 +51,9 @@
#define IDMINBIAS 4
#define ZDC 8
#define BCM 16
#define HMT 32
class TileTBID;
///Concrete monitoring tool derived from IHLTMonTool
class HLTMinBiasMonTool: public IHLTMonTool
......@@ -54,21 +63,24 @@ public:
HLTMinBiasMonTool(const std::string & type, const std::string & name, const IInterface* parent);
virtual ~HLTMinBiasMonTool();
StatusCode initialize();
StatusCode bookHistogramsRecurrent();
StatusCode fillHistograms();
StatusCode init(); // called by initialize
StatusCode book(); // called by bookHistograms
StatusCode fill(); // called by fillHistograms
StatusCode proc(); // called by procHistograms
#ifdef ManagedMonitorToolBase_Uses_API_201401
StatusCode proc();
#else
StatusCode proc(bool endOfEventsBlock, bool endOfLumiBlock, bool endOfRun);
#endif
//StatusCode procHistograms(bool isEndOfEventsBlock, bool isEndOfLumiBlock, bool isEndOfRun); // called by procHistograms
/* -----------Left for future efficiency implementation----------- */
// efficiency, finalizing over all runs
// StatusCode procHistograms(bool isEndOfEventsBlock, bool isEndOfLumiBlock, bool isEndOfRun);
// StatusCode proc( bool /*isEndOfEventsBlock*/, bool /*isEndOfLumiBlock*/,
// bool /*isEndOfRun*/ ){ return StatusCode::SUCCESS; }
//StatusCode proc( bool /*isEndOfEventsBlock*/, bool /*isEndOfLumiBlock*/,
// bool /*isEndOfRun*/ );{ return StatusCode::SUCCESS; }
private:
......@@ -87,58 +99,9 @@ private:
//Trigger Decision
ToolHandle<Trig::TrigDecisionTool> m_tdthandle;
//------------------------ERASE THIS...
//The Chain Groups are initialized here.
std::string m_EF_mbSpTrkName;// = m_tdthandle->getChainGroup("HLT_mb_perf_L1MBTS_1"/*"EF_mbSpTrk"*/);
std::string m_EF_mbSpName;// = m_tdthandle->getChainGroup("EF_mbSp");
//m_EF_mbMbts_1_eff = m_tdthandle->getChainGroup("EF_mbMbts_1_eff");
std::string m_EF_mbMbts_2_effName;// = m_tdthandle->getChainGroup("EF_mbMbts_2_eff");
//m_EF_mbZdc_eff = m_tdthandle->getChainGroup("EF_mbZdc_eff");
std::string m_EF_mbRd1_effName;// = m_tdthandle->getChainGroup("EF_mbRd1_eff");
// 8 TeV Low-mu
std::string m_EF_mbLucid_effName;// = m_tdthandle->getChainGroup("EF_mbLucid_eff");
std::string m_EF_rd0_filled_NoAlgName;// = m_tdthandle->getChainGroup("EF_rd0_filled_NoAlg");
//m_EF_mbMbts_2_NoAlg = m_tdthandle->getChainGroup("EF_mbMbts_2_NoAlg");
// pA
// Rd1 used instead of rd0 above (8 TeV pp low mu)
// defined above m_EF_mbRd1_eff
// used instead of mbMbts_2_NoAlg (8 TeV pp low mu)
std::string m_EF_L1ItemStreamer_L1_MBTS_2Name;// = m_tdthandle->getChainGroup("EF_L1ItemStreamer_L1_MBTS_2");
std::string m_EF_mbZdc_effName;// = m_tdthandle->getChainGroup("EF_mbZdc_a_c_eff");
//std::string m_EF_mbLucid_effName;// = m_tdthandle->getChainGroup("EF_mbLucid_eff");
//Heavy-Ion triggers
std::string m_EF_mbMbts_1_1_effName;// = m_tdthandle->getChainGroup("EF_mbMbts_1_1_eff");
std::string m_EF_mbMbts_2_2_effName;// = m_tdthandle->getChainGroup("EF_mbMbts_2_2_eff");
std::string m_EF_mbMbts_4_4_effName;// = m_tdthandle->getChainGroup("EF_mbMbts_4_4_eff");
//High Multiplicity
std::string m_EF_mbSpTrkVtxMhName;// = m_tdthandle->getChainGroup("EF_mbSpTrkVtxMh");
std::string m_EF_mbSpTrkVtxMh_effName;// = m_tdthandle->getChainGroup("EF_mbSpTrkVtxMh_eff");
// Heavy-Ion proton-lead hip_trk (pA 2013)
std::string m_EF_mbSpTrkVtxMh_hip_trk150_L1TE50Name;// = m_tdthandle->getChainGroup("EF_mbSpTrkVtxMh_hip_trk150_L1TE50");
std::string m_EF_mbSpTrkVtxMh_hip_trk190_L1TE50Name;// = m_tdthandle->getChainGroup("EF_mbSpTrkVtxMh_hip_trk190_L1TE50");
std::string m_EF_mbSpTrkVtxMh_hip_trk120_L1TE35Name;// = m_tdthandle->getChainGroup("EF_mbSpTrkVtxMh_hip_trk120_L1TE35");
std::string m_EF_mbSpTrkVtxMh_hip_trk190_L1TE35Name;// = m_tdthandle->getChainGroup("EF_mbSpTrkVtxMh_hip_trk190_L1TE35");
std::string m_EF_mbSpTrkVtxMh_hip_trk240_L1TE35Name;// = m_tdthandle->getChainGroup("EF_mbSpTrkVtxMh_hip_trk240_L1TE35");
std::string m_EF_mbSpTrkVtxMh_hip_trk180_L1TE65Name;// = m_tdthandle->getChainGroup("EF_mbSpTrkVtxMh_hip_trk180_L1TE65");
std::string m_EF_mbSpTrkVtxMh_hip_trk200_L1TE65Name;// = m_tdthandle->getChainGroup("EF_mbSpTrkVtxMh_hip_trk200_L1TE65");
std::string m_EF_mbSpTrkVtxMh_hip_trk240_L1TE65Name;// = m_tdthandle->getChainGroup("EF_mbSpTrkVtxMh_hip_trk240_L1TE65");
std::string m_EF_mbSpTrkVtxMh_hip_trk175_L1MBTSName;// = m_tdthandle->getChainGroup("EF_mbSpTrkVtxMh_hip_trk175_L1MBTS");
std::string m_EF_L1ZDC_A_NoAlgName;// = m_tdthandle->getChainGroup("EF_L1ZDC_A_NoAlg");
std::string m_EF_L1ZDC_C_NoAlgName;// = m_tdthandle->getChainGroup("EF_L1ZDC_C_NoAlg");
std::string m_EF_L1LHCF_NoAlgName;// = m_tdthandle->getChainGroup("EF_L1LHCF_NoAlg");
std::string m_name;
void bookHistogramsForItem(const std::string &item, unsigned histGroup);
void fillHistogramsForItem(const std::string &item, unsigned histGroup);
void fillPurityForItem(const std::string &item);
StatusCode fillHLTMbtsInfo();
StatusCode fillMbtsInfo(const std::string &item);
......@@ -148,9 +111,12 @@ private:
StatusCode fillLUCIDInfo();
StatusCode fillZDCInfo();
unsigned m_mbtsCountsSideA, m_mbtsCountsSideC, m_mbtsCountsBothSides;
//HMT INFO
StatusCode fillHMTSpacePointsInfo();
StatusCode fillHMTVertexCountsInfo();
StatusCode fillHMTTrigVertexCollectionInfo();
//std::map<std::string, std::vector<void*>>;
unsigned m_mbtsCountsSideA, m_mbtsCountsSideC, m_mbtsCountsBothSides;
//Chain group names
std::vector<std::string> m_trigItems;
......@@ -168,7 +134,7 @@ private:
std::map< unsigned, std::string > m_pathForGroup;
const TileID* m_tileID;
const TileTBID* m_tileTBID;
const ZdcID *m_ZdcID;
//BCM
......@@ -190,27 +156,7 @@ private:
//-------------------------
//Trigger ChainGroups
// regular, long-term, chains
const Trig::ChainGroup* m_EF_mbSpTrk;
//const Trig::ChainGroup* m_EF_mbMbts_1_eff;
const Trig::ChainGroup* m_EF_mbMbts_2_eff;
const Trig::ChainGroup* m_EF_mbMbts_1_1_eff;
const Trig::ChainGroup* m_EF_mbMbts_2_2_eff;
const Trig::ChainGroup* m_EF_mbMbts_4_4_eff;
const Trig::ChainGroup* m_EF_mbZdc_eff;
const Trig::ChainGroup* m_EF_mbRd1_eff;
// 8 TeV Low-mu
const Trig::ChainGroup* m_EF_mbLucid_eff;
// rd0 back in pA Jan 2013
const Trig::ChainGroup* m_EF_rd0_filled_NoAlg;
//const Trig::ChainGroup* m_EF_mbMbts_2_NoAlg;
// pA
const Trig::ChainGroup* m_EF_L1ItemStreamer_L1_MBTS_2;
const Trig::ChainGroup* m_EF_mbSp;
std::string m_spContainerName;
std::string m_spContainerName;
std::string m_trtContainerName;
std::string m_tcContainerName;
......@@ -218,31 +164,18 @@ private:
std::string m_t2mbtsContainerName;
std::string m_mbtsContainerName;
std::vector<std::string> m_moduleLabel; // array of module names
//HMT
std::string m_vcContainerName;
std::string m_vcolContainerName;
//std::string m_trigSpacePointCountsName;
const xAOD::EventInfo* m_evinfo{nullptr};
double m_timeOverThreshold_cut;
//
float m_energyCut; // Controls the simulated trigger decision
float m_timeCut; // Controls the simulated trigger decision
// High Mult
const Trig::ChainGroup* m_EF_mbSpTrkVtxMh;
const Trig::ChainGroup* m_EF_mbSpTrkVtxMh_eff;
// hip_trk trigs. pA Jan 2013
const Trig::ChainGroup* m_EF_mbSpTrkVtxMh_hip_trk150_L1TE50;
const Trig::ChainGroup* m_EF_mbSpTrkVtxMh_hip_trk190_L1TE50;
const Trig::ChainGroup* m_EF_mbSpTrkVtxMh_hip_trk120_L1TE35;
const Trig::ChainGroup* m_EF_mbSpTrkVtxMh_hip_trk190_L1TE35;
const Trig::ChainGroup* m_EF_mbSpTrkVtxMh_hip_trk240_L1TE35;
const Trig::ChainGroup* m_EF_mbSpTrkVtxMh_hip_trk240_L1TE65;
const Trig::ChainGroup* m_EF_mbSpTrkVtxMh_hip_trk200_L1TE65;
const Trig::ChainGroup* m_EF_mbSpTrkVtxMh_hip_trk180_L1TE65;
const Trig::ChainGroup* m_EF_mbSpTrkVtxMh_hip_trk175_L1MBTS;
const Trig::ChainGroup* m_EF_L1ZDC_A_NoAlg;
const Trig::ChainGroup* m_EF_L1ZDC_C_NoAlg;
const Trig::ChainGroup* m_EF_L1LHCF_NoAlg;
// ID L2
int pixSpBarr;
int pixSpECA;
......@@ -263,282 +196,23 @@ private:
/** Total number of pixel clusters required */
float m_totalPixelClus_cut;
/** Pixel cluster ratio A required */
float m_pixelClusRatioA_cut;
/** Pixel cluster ratio B required */
float m_pixelClusRatioB_cut;
/** Total number of pixel clusters required in endcap C */
float m_pixelClusEndcapC_cut;
/** Total number of pixel clusters required in the barrel */
float m_pixelClusBarrel_cut;
/** Total number of pixel clusters required in endcap A */
float m_pixelClusEndcapA_cut;
/** Maximum number of pixel clusters allowed in endcap C */
float m_pixelClusEndcapC_max;
/** Maximum number of pixel clusters allowed in the barrel */
float m_pixelClusBarrel_max;
/** Maximum number of pixel clusters allowed in endcap A */
float m_pixelClusEndcapA_max;
/** Minimum number of pixel clusters required in one of the endcaps */
float m_pixelClusEndcaps_cut;
/** Total number of sct space points required */
float m_totalSctSp_cut;
/** Total number of sct space points required in endcap C */
float m_sctSpEndcapC_cut;
/** Total number of sct space points required in the barrel */
float m_sctSpBarrel_cut;
/** Total number of sct space points required in endcap A */
float m_sctSpEndcapA_cut;
/** Maximum number of sct space points allowed in endcap C */
float m_sctSpEndcapC_max;
/** Maximum number of sct space points allowed in the barrel */
float m_sctSpBarrel_max;
/** Maximum number of sct space points allowed in endcap A */
float m_sctSpEndcapA_max;
/** Minimum number of sct space points required in one of the endcaps */
float m_sctSpEndcaps_cut;
/** detector mask flags */
bool m_sct_barrel_a_side;
bool m_sct_barrel_c_side;
bool m_sct_endcap_a_side;
bool m_sct_endcap_c_side;
bool m_pixel_barrel, m_pixel_b_layer, m_pixel_disk;
float m_maxTrtHitsEC;
float m_totalTrtHits_cut;
// ID EF
/** Hypo selection criteria */
float m_max_z0;
float m_min_pt;
int m_required_ntrks;
int mbTracks;
int totpix_spEF;
int totsct_spEF;
/** Threshold of sct space points required for hip_trk, pA 2013*/
float m_sctSp_thresh;
TH1I* m_pixBarr_sp;
TH1I* m_pixECA_sp;
TH1I* m_pixECC_sp;
TH1I* m_sctBarr_sp;
TH1I* m_sctECA_sp;
TH1I* m_sctECC_sp;
TH1I* m_minbiasTracks;
//L2 trigger decisions
//TH1D* h_mbSpTrk_pixTot_P;
//TH1D* h_mbSpTrk_pixTot_F;
//TH1D* h_mbSpTrk_sctTot_P;
//TH1D* h_mbSpTrk_sctTot_F;
// pA
TH1D* h_mbSp_pixTot_P;
TH1D* h_mbSp_pixTot_F;
TH1D* h_mbSp_sctTot_P;
TH1D* h_mbSp_sctTot_F;
// Efficiencies
// TH1D* h_mbSpTrk_pixTot_Eff;
// TH1D* h_mbSpTrk_sctTot_Eff;
/*
// 8 TeV Low-mu
TH1D* h_mbSpTrk_pixTot_mb2Alg_P;
TH1D* h_mbSpTrk_pixTot_mb2Alg_F;
TH1D* h_mbSpTrk_sctTot_mb2Alg_P;
TH1D* h_mbSpTrk_sctTot_mb2Alg_F;
*/
TH1D* h_mbSpTrk_pixTot_rd0_P;
TH1D* h_mbSpTrk_pixTot_rd0_F;
TH1D* h_mbSpTrk_sctTot_rd0_P;
TH1D* h_mbSpTrk_sctTot_rd0_F;
/*
TH1D* h_mbSpTrk_trkTot_mb2Alg_P;
TH1D* h_mbSpTrk_trkTot_mb2Alg_F;
*/
TH1D* h_mbSpTrk_trkTot_rd0_P;
TH1D* h_mbSpTrk_trkTot_rd0_F;
// pA
TH1D* h_mbSp_pixTot_mb2_P;
TH1D* h_mbSp_pixTot_mb2_F;
TH1D* h_mbSp_sctTot_mb2_P;
TH1D* h_mbSp_sctTot_mb2_F;
TH1D* h_mbSp_pixTot_Rd1_P;
TH1D* h_mbSp_pixTot_Rd1_F;
TH1D* h_mbSp_sctTot_Rd1_P;
TH1D* h_mbSp_sctTot_Rd1_F;
TH1D* h_mbSp_trkTot_mb2_P;
TH1D* h_mbSp_trkTot_mb2_F;
TH1D* h_mbSp_trkTot_Rd1_P;
TH1D* h_mbSp_trkTot_Rd1_F;
//
/*
// L2_mbMbts_1_eff
TH1I* h_mbMbts_1_eff_pixTot_P;
// TH1I* h_mbMbts_1_eff_pixTot_F;
TH1I* h_mbMbts_1_eff_sctTot_P;
// TH1I* h_mbMbts_1_eff_sctTot_F;
*/
// L2_mbMbts_2_eff
TH1I* h_mbMbts_2_eff_pixTot_P;
// TH1I* h_mbMbts_2_eff_pixTot_F;
TH1I* h_mbMbts_2_eff_sctTot_P;
// TH1I* h_mbMbts_2_eff_sctTot_F;
//8 TeV Low mu Lucid
// L2_mbLucid_eff
TH1I* h_mbLucid_eff_pixTot_P;
// TH1I* h_mbLucid_eff_pixTot_F;
TH1I* h_mbLucid_eff_sctTot_P;
// TH1I* h_mbLucid_eff_sctTot_F;
// L2_mbZdc_eff
TH1I* h_mbZdc_eff_pixTot_P;
// TH1I* h_mbZdc_eff_pixTot_F;
TH1I* h_mbZdc_eff_sctTot_P;
// TH1I* h_mbZdc_eff_sctTot_F;
// L2_mbRd1_eff
TH1I* h_mbRd1_eff_pixTot_P;
// TH1I* h_mbRd1_eff_pixTot_F;
TH1I* h_mbRd1_eff_sctTot_P;
// TH1I* h_mbRd1_eff_sctTot_F;
// L2 High Mult
TH1I* h_pix_mbSpTrkVtxMh_P;
TH1I* h_pix_mbSpTrkVtxMh_F;
TH1I* h_sct_mbSpTrkVtxMh_P;
TH1I* h_sct_mbSpTrkVtxMh_F;
TH1I* h_pix_mbSpTrkVtxMh_eff_P;
TH1I* h_pix_mbSpTrkVtxMh_eff_F;
TH1I* h_sct_mbSpTrkVtxMh_eff_P;
TH1I* h_sct_mbSpTrkVtxMh_eff_F;
//EF decisions
//TH1D* h_mbSpTrk_trkTot_P;
//TH1D* h_mbSpTrk_trkTot_F;
// pA
TH1D* h_mbSp_trkTot_P;
TH1D* h_mbSp_trkTot_F;
// Efficiencies
// TH1D* h_mbSpTrk_trkTot_Eff;
/*
//EF_mbMbts_1_eff
TH1I* h_mbMbts_1_eff_trkTot_P;
//TH1I* h_mbMbts_1_eff_trkTot_F;
*/
//EF_mbMbts_2_eff
TH1I* h_mbMbts_2_eff_trkTot_P;
TH1I* h_mbMbts_2_eff_trkTot_F;
//8 TeV Low-mu Lucid
//EF_mbLucid_eff
TH1I* h_mbLucid_eff_trkTot_P;
//TH1I* h_mbLucid_eff_trkTot_F;
//EF_mbZdc_eff
TH1I* h_mbZdc_eff_trkTot_P;
TH1I* h_mbZdc_eff_trkTot_F;
//EF_mbRd1_eff
TH1I* h_mbRd1_eff_trkTot_P;
//TH1I* h_mbRd1_eff_trkTot_F;
// EF High Mult
TH1I* h_EF_mbSpTrkVtxMh_P;
TH1I* h_EF_mbSpTrkVtxMh_F;
TH1I* h_EF_mbSpTrkVtxMh_eff_P;
TH1I* h_EF_mbSpTrkVtxMh_eff_F;
// pA Jan 2013
//EF_L1ZDC_A/C_NoAlg, LHCF
TH1I* h_L1ZDC_A_NoAlg_trkToT_P;
TH1I* h_L1ZDC_A_NoAlg_trkToT_F;
TH1I* h_L1ZDC_C_NoAlg_trkToT_P;
TH1I* h_L1ZDC_C_NoAlg_trkToT_F;
TH1I* h_L1LHCF_NoAlg_trkToT_P;
TH1I* h_L1LHCF_NoAlg_trkToT_F;
TProfile* m_h_TriggerErrors;
// Energy-Time
// cell occupancy
TH1I* m_h_occupancy_onl_A; // The simulated trigger rate on the cell-by-cell basis (does not include the time cut-off)
TH1I* m_h_occupancy_onl_C; // The simulated trigger rate on the cell-by-cell basis (does not include the time cut-off)
//online, and L2 & EF passed / failed
TH1D* m_h_energy_1d; //1dim Distribution of Energy in a cell (does not include the time cut-off)
TH1D* m_h_time_1d; //1dim Distribution of Time in a cell (includes the 40/222 cut-off on energy)
TH1D* m_h_time_L2_P;
TH1F* m_h_time_L2_F;
TH1F* m_h_time_EF_P;
TH1F* m_h_time_EF_F;
TH1D* m_h_energy_L2_P;
TH1F* m_h_energy_L2_F;
TH1F* m_h_energy_EF_P;
TH1F* m_h_energy_EF_F;
// L2 timing efficiency
// TH1D* m_h_time_L2_Eff;
// L2 energy eff
TH1D* m_h_energy_L2_Eff;
// A side
TH1F* m_h_energyMean_A_P; //Distribution of averaged Energy in a cell (does not include the time cut-off)
TH1F* m_h_energyMax_A_P; // Distribution of maximum energy passed the trigger ...
TH1F* m_h_timeMean_A_P; //Distribution of averaged Time in a cell (includes the 40/222 cut-off on energy)
TH1F* m_h_timeMin_A_P; // Distribution of minimum time passed the trigger ...
TH1F* m_h_energyMean_A_F; //Distribution of averaged Energy in a cell (does not include the time cut-off)
TH1F* m_h_energyMax_A_F; // Distribution of maximum energy failed ...
TH1F* m_h_timeMean_A_F; //Distribution of averaged Time in a cell (includes the 40/222 cut-off on energy)
TH1F* m_h_timeMin_A_F; // Distribution of minimum time failed ...
// C side
TH1F* m_h_energyMean_C_P; //Distribution of averaged Energy in a cell (does not include the time cut-off)
TH1F* m_h_energyMax_C_P; // Distribution of maximum energy passed the trigger ...
TH1F* m_h_timeMean_C_P; //Distribution of averaged Time in a cell (includes the 40/222 cut-off on energy)
TH1F* m_h_timeMin_C_P; // Distribution of minimum time passed the trigger ...
TH1F* m_h_energyMean_C_F; //Distribution of averaged Energy in a cell (does not include the time cut-off)
TH1F* m_h_energyMax_C_F; // Distribution of maximum energy failed ...
TH1F* m_h_timeMean_C_F; //Distribution of averaged Time in a cell (includes the 40/222 cut-off on energy)
TH1F* m_h_timeMin_C_F; // Distribution of minimum time failed ...
// hip_trk with Sp thresh ; pA 2013
TH1F* m_h_Trig_hip_trk_P;
TH1F* m_h_Trig_hip_trk_F;
//purity & efficiency
//InDet::InDetTrackSelectionTool m_selTool;
ToolHandle< InDet::IInDetTrackSelectionTool > m_selTool;
std::string m_inDetTrackParticleContainerName;
unsigned m_cutLevel;
};
#endif
......@@ -13,7 +13,14 @@ use GaudiInterface GaudiInterface-* External
use TrigDecisionTool TrigDecisionTool-* Trigger/TrigAnalysis
use TrigHLTMonitoring TrigHLTMonitoring-* Trigger/TrigMonitoring
use TrigInDetEvent TrigInDetEvent-* Trigger/TrigEvent
use ZdcIdentifier ZdcIdentifier-* ForwardDetectors/ZDC
use xAODEventInfo xAODEventInfo-* Event/xAOD
use InDetTrackSelectionTool InDetTrackSelectionTool-* InnerDetector/InDetRecTools
private
use InDetBCM_RawData InDetBCM_RawData-* InnerDetector/InDetRawEvent
use LUCID_RawEvent LUCID_RawEvent-* ForwardDetectors/LUCID
......@@ -24,7 +31,8 @@ use CaloEvent CaloEvent-* Calorimeter
use CaloGeoHelpers CaloGeoHelpers-* Calorimeter
use ZdcEvent ZdcEvent-* ForwardDetectors/ZDC
use xAODTrigMinBias xAODTrigMinBias-* Event/xAOD
use xAODTrigMinBias xAODTrigMinBias-* Event/xAOD
use xAODTracking xAODTracking-* Event/xAOD
end_private
......
......@@ -6,7 +6,8 @@ def TrigMinBiasMonitoringTool():
from AthenaCommon.AppMgr import ToolSvc
#PLEASE DO NOT MODIFY EXISTING VARIABLES
NOALG, MBTS, LUCID, IDMINBIAS, ZDC, BCM, ALL = 0, 1, 2, 4, 8, 16, 31
NOALG, MBTS, LUCID, IDMINBIAS, ZDC, BCM, HMT, ALL = 0, 1, 2, 4, 8, 16, 32, 63
NOCUT, LOOSE, LOOSEPRIMARY, TIGHTPRIMARY = 0, 1, 2, 3
from TrigMinBiasMonitoring.TrigMinBiasMonitoringConf import HLTMinBiasMonTool
HLTMinBiasMon = HLTMinBiasMonTool(name = 'HLTMinBiasMon',
......@@ -14,45 +15,36 @@ def TrigMinBiasMonitoringTool():
SPContainerName = "HLT_xAOD__TrigSpacePointCountsContainer_spacepoints",
TCContainerName = "HLT_xAOD__TrigTrackCountsContainer_trackcounts",
T2MBTSContainerName = "HLT_xAOD__TrigT2MbtsBitsContainer_T2Mbts",
VCContainerName = "HLT_xAOD__TrigVertexCountsContainer_vertexcounts",
VColContainerName = "HLT_TrigVertexCollection_TrigL2SiTrackFinder_FullScan_ZF_Only",
MBTSContainerName = "MBTSContainer",
BCMContainerName = "BCM_RDOs",
LUCID_RawDataContainerName = "Lucid_RawData",
ZDC_ContainerName = "ZdcRawChannelCollection",
Calo_ContainerName = "AllCalo",
EF_mbSpTrk = "HLT_mb_perf_L1MBTS_1",#"EF_mbSpTrk"
EF_mbSp = "EF_mbSp",
EF_mbMbts_2_eff = "EF_mbMbts_2_eff",
EF_mbRd1_eff = "EF_mbRd1_eff",
EF_mbLucid_eff = "EF_mbLucid_eff",
EF_rd0_filled_NoAlg = "EF_rd0_filled_NoAlg",
EF_L1ItemStreamer_L1_MBTS_2 = "EF_L1ItemStreamer_L1_MBTS_2",
EF_mbZdc_eff = "EF_mbZdc_a_c_eff",
#EF_mbLucid_eff = "EF_mbLucid_eff",
EF_mbMbts_1_1_eff = "EF_mbMbts_1_1_eff",
EF_mbMbts_2_2_eff = "EF_mbMbts_2_2_eff",
EF_mbMbts_4_4_eff = "EF_mbMbts_4_4_eff",
EF_mbSpTrkVtxMh = "EF_mbSpTrkVtxMh",
EF_mbSpTrkVtxMh_eff = "EF_mbSpTrkVtxMh_eff",
EF_mbSpTrkVtxMh_hip_trk150_L1TE50 = "EF_mbSpTrkVtxMh_hip_trk150_L1TE50",
EF_mbSpTrkVtxMh_hip_trk190_L1TE50 = "EF_mbSpTrkVtxMh_hip_trk190_L1TE50",
EF_mbSpTrkVtxMh_hip_trk120_L1TE35 = "EF_mbSpTrkVtxMh_hip_trk120_L1TE35",
EF_mbSpTrkVtxMh_hip_trk190_L1TE35 = "EF_mbSpTrkVtxMh_hip_trk190_L1TE35",
EF_mbSpTrkVtxMh_hip_trk240_L1TE35 = "EF_mbSpTrkVtxMh_hip_trk240_L1TE35",
EF_mbSpTrkVtxMh_hip_trk180_L1TE65 = "EF_mbSpTrkVtxMh_hip_trk180_L1TE65",
EF_mbSpTrkVtxMh_hip_trk200_L1TE65 = "EF_mbSpTrkVtxMh_hip_trk200_L1TE65",
EF_mbSpTrkVtxMh_hip_trk240_L1TE65 = "EF_mbSpTrkVtxMh_hip_trk240_L1TE65",
EF_mbSpTrkVtxMh_hip_trk175_L1MBTS = "EF_mbSpTrkVtxMh_hip_trk175_L1MBTS",
EF_L1ZDC_A_NoAlg = "EF_L1ZDC_A_NoAlg",
EF_L1ZDC_C_NoAlg = "EF_L1ZDC_C_NoAlg",
EF_L1LHCF_NoAlg = "EF_L1LHCF_NoAlg",
MinBiasTrigItem = ["mb_perf_L1MBTS_1", "mb_perf_L1MBTS_2", "mb_mbts_L1MBTS_2"],
InDetTrackParticleContainerName = "InDetTrackParticles",
MinBiasTrigItem = ["mb_sptrk",
"mb_sp2000_trk70_hmt",
"mb_sp2000_pusup600_trk70_hmt",
"mb_sp2000_pusup600_trk70_hmt_L1TE30",
"mb_sp2000_pusup700_trk70_hmt_L1TE30",
"mb_sp2000_pusup600_trk70_hmt_L1TE40",