ATLAS Offline Software
MuonInsideOutAnalysis.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 #ifndef MUON_MUONINSIDEOUTANALYSIS_H
6 #define MUON_MUONINSIDEOUTANALYSIS_H
7 
11 #include <set>
12 
13 class TTree;
14 class TDirectory;
15 
16 namespace Muon {
17 
19  public:
21  SameTrack = 0,
23  All = 2
24  };
25 
27  MuonInsideOutAnalysis( TDirectory* dir );
28 
30  void analyse( TTree& tree );
31 
32  private:
33  bool testStrategy( MuonInsideOutAnalysis::MatchingStrategy matchingStrategy, bool sameTrack ) const;
34 
35  unsigned int handleHits( MuonInsideOutValidationNtuple& ntuple, unsigned int trkIndex,
36  const std::vector<int>& indexVec, MuonInsideOutAnalysis::MatchingStrategy matchingStrategy,
37  HitPlots& plots );
38  unsigned int handleHough( MuonInsideOutValidationNtuple& ntuple, unsigned int trkIndex,
39  const std::vector<int>& indexVec, MuonInsideOutAnalysis::MatchingStrategy matchingStrategy,
40  HoughPlots& plots );
41  unsigned int handleSegments( MuonInsideOutValidationNtuple& ntuple, unsigned int trkIndex,
42  const std::vector<int>& indexVec, int stage, MuonInsideOutAnalysis::MatchingStrategy matchingStrategy,
43  SegmentPlots& segmentPlots );
44 
45  std::pair<unsigned int,unsigned int> handleCandidates( MuonInsideOutValidationNtuple& ntuple, unsigned int trkIndex,
46  const std::vector<int>& indexVec,
48 
49  void handleTimes( MuonInsideOutValidationNtuple& ntuple, unsigned int trkIndex,
50  const std::vector<int>& indexVec, MuonInsideOutAnalysis::MatchingStrategy matchingStrategy,
51  TrackPlots& trackPlots );
52 
53  TimePointBetaFitter::FitResult fitBeta( MuonInsideOutValidationNtuple& ntuple, const std::vector<int>& indexVec, const std::set<int>& type );
54 
56  };
57 }
58 
59 #endif
Muon::HitPlots
hit plots
Definition: MuonInsideOutAnalysisPlots.h:49
Muon::MuonInsideOutAnalysis::testStrategy
bool testStrategy(MuonInsideOutAnalysis::MatchingStrategy matchingStrategy, bool sameTrack) const
Definition: MuonInsideOutAnalysis.cxx:353
python.FPGATrackSimAnalysisConfig.stage
stage
Definition: FPGATrackSimAnalysisConfig.py:604
Muon::MuonInsideOutAnalysis::handleHough
unsigned int handleHough(MuonInsideOutValidationNtuple &ntuple, unsigned int trkIndex, const std::vector< int > &indexVec, MuonInsideOutAnalysis::MatchingStrategy matchingStrategy, HoughPlots &plots)
Definition: MuonInsideOutAnalysis.cxx:305
Muon::HoughPlots
hough plots
Definition: MuonInsideOutAnalysisPlots.h:100
Muon::SegmentPlots
segment plots
Definition: MuonInsideOutAnalysisPlots.h:114
Muon::MuonInsideOutAnalysis
Definition: MuonInsideOutAnalysis.h:18
tree
TChain * tree
Definition: tile_monitor.h:30
Muon::MuonInsideOutAnalysis::NotSameTrack
@ NotSameTrack
Definition: MuonInsideOutAnalysis.h:22
Muon::MuonInsideOutAnalysis::analyse
void analyse(TTree &tree)
analyse tree
Definition: MuonInsideOutAnalysis.cxx:23
Muon::MuonInsideOutAnalysis::MatchingStrategy
MatchingStrategy
Definition: MuonInsideOutAnalysis.h:20
MuonInsideOutAnalysisPlots.h
Muon::MuonInsideOutAnalysis::All
@ All
Definition: MuonInsideOutAnalysis.h:23
Muon
This class provides conversion from CSC RDO data to CSC Digits.
Definition: TrackSystemController.h:49
Muon::MuonInsideOutAnalysis::fitBeta
TimePointBetaFitter::FitResult fitBeta(MuonInsideOutValidationNtuple &ntuple, const std::vector< int > &indexVec, const std::set< int > &type)
Definition: MuonInsideOutAnalysis.cxx:389
Muon::MuonInsideOutAnalysisPlots
Definition: MuonInsideOutAnalysisPlots.h:247
Muon::TimePointBetaFitter::FitResult
simple struct holding the fit result
Definition: TimePointBetaFitter.h:33
Muon::MuonInsideOutAnalysis::handleCandidates
std::pair< unsigned int, unsigned int > handleCandidates(MuonInsideOutValidationNtuple &ntuple, unsigned int trkIndex, const std::vector< int > &indexVec, StageSummaryPlots &plots, int stage)
Definition: MuonInsideOutAnalysis.cxx:214
Muon::TrackPlots
track based plots
Definition: MuonInsideOutAnalysisPlots.h:205
Muon::StageSummaryPlots
Definition: MuonInsideOutAnalysisPlots.h:190
Muon::MuonInsideOutAnalysis::handleSegments
unsigned int handleSegments(MuonInsideOutValidationNtuple &ntuple, unsigned int trkIndex, const std::vector< int > &indexVec, int stage, MuonInsideOutAnalysis::MatchingStrategy matchingStrategy, SegmentPlots &segmentPlots)
Definition: MuonInsideOutAnalysis.cxx:282
beamspotman.dir
string dir
Definition: beamspotman.py:623
Muon::MuonInsideOutAnalysis::handleTimes
void handleTimes(MuonInsideOutValidationNtuple &ntuple, unsigned int trkIndex, const std::vector< int > &indexVec, MuonInsideOutAnalysis::MatchingStrategy matchingStrategy, TrackPlots &trackPlots)
Definition: MuonInsideOutAnalysis.cxx:360
MuonInsideOutValidationNtuple.h
Muon::MuonInsideOutAnalysis::m_plots
MuonInsideOutAnalysisPlots m_plots
Definition: MuonInsideOutAnalysis.h:55
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
Muon::MuonInsideOutAnalysis::handleHits
unsigned int handleHits(MuonInsideOutValidationNtuple &ntuple, unsigned int trkIndex, const std::vector< int > &indexVec, MuonInsideOutAnalysis::MatchingStrategy matchingStrategy, HitPlots &plots)
Definition: MuonInsideOutAnalysis.cxx:326
Muon::MuonInsideOutAnalysis::MuonInsideOutAnalysis
MuonInsideOutAnalysis(TDirectory *dir)
create analsyis for a given tree
Definition: MuonInsideOutAnalysis.cxx:19
Muon::MuonInsideOutValidationNtuple
Definition: MuonInsideOutValidationNtuple.h:282
covarianceTool.plots
plots
Definition: covarianceTool.py:698
TimePointBetaFitter.h
Muon::MuonInsideOutAnalysis::SameTrack
@ SameTrack
Definition: MuonInsideOutAnalysis.h:21