CMS 3D CMS Logo

MuonMillepedeAlgorithm.h
Go to the documentation of this file.
1 #ifndef Alignment_MuonStandaloneAlgorithm_MuonMillepedeAlgorithm_h
2 #define Alignment_MuonStandaloneAlgorithm_MuonMillepedeAlgorithm_h
3 
6 
9 
10 #include "TH1D.h"
11 #include "TTree.h"
12 #include "TFile.h"
13 #include "TMatrixD.h"
14 
15 class AlignableNavigator;
16 class TFile;
17 class TTree;
18 
20 public:
23 
26 
28  void initialize(const edm::EventSetup& setup,
31  AlignableExtras* extras,
32  AlignmentParameterStore* store) override;
33 
35  void terminate(const edm::EventSetup& setup) override;
36 
38  void run(const edm::EventSetup& setup, const EventInfo& eventInfo) override;
39 
41 
42  void toTMat(AlgebraicMatrix*, TMatrixD*);
43 
44  void collect();
45 
46 private:
47  // private data members
48 
49  void printM(const AlgebraicMatrix&);
50 
54 
55  // verbosity flag
56  bool verbose;
57 
58  //Store residuals
59  std::map<std::string, TH1D*> histoMap;
60 
61  std::map<std::string, AlgebraicMatrix*> map_invCov;
62  std::map<std::string, AlgebraicMatrix*> map_weightRes;
63  std::map<std::string, AlgebraicMatrix*> map_N;
64 
65  double ptCut, chi2nCut;
66 
67  //Service for histograms
69 
75 };
76 
77 #endif
MuonMillepedeAlgorithm::MuonMillepedeAlgorithm
MuonMillepedeAlgorithm(const edm::ParameterSet &cfg)
Constructor.
Definition: MuonMillepedeAlgorithm.cc:34
MuonMillepedeAlgorithm::collec_path
std::string collec_path
Definition: MuonMillepedeAlgorithm.h:73
MuonMillepedeAlgorithm::updateInfo
void updateInfo(const AlgebraicMatrix &, const AlgebraicMatrix &, const AlgebraicMatrix &, std::string)
Definition: MuonMillepedeAlgorithm.cc:438
muon
Definition: MuonCocktails.h:17
MuonMillepedeAlgorithm::printM
void printM(const AlgebraicMatrix &)
Definition: MuonMillepedeAlgorithm.cc:427
MuonMillepedeAlgorithm::isCollectionJob
bool isCollectionJob
Definition: MuonMillepedeAlgorithm.h:72
MuonMillepedeAlgorithm::verbose
bool verbose
Definition: MuonMillepedeAlgorithm.h:56
MuonMillepedeAlgorithm::theAlignmentParameterStore
AlignmentParameterStore * theAlignmentParameterStore
Definition: MuonMillepedeAlgorithm.h:51
MuonMillepedeAlgorithm::outputCollName
std::string outputCollName
Definition: MuonMillepedeAlgorithm.h:71
AlignmentAlgorithmBase
Definition: AlignmentAlgorithmBase.h:59
singleTopDQM_cfi.setup
setup
Definition: singleTopDQM_cfi.py:37
MuonMillepedeAlgorithm::histoMap
std::map< std::string, TH1D * > histoMap
Definition: MuonMillepedeAlgorithm.h:59
MuonMillepedeAlgorithm::map_N
std::map< std::string, AlgebraicMatrix * > map_N
Definition: MuonMillepedeAlgorithm.h:63
MuonMillepedeAlgorithm::~MuonMillepedeAlgorithm
~MuonMillepedeAlgorithm() override
Destructor.
Definition: MuonMillepedeAlgorithm.h:25
MuonMillepedeAlgorithm::theAlignables
align::Alignables theAlignables
Definition: MuonMillepedeAlgorithm.h:52
Service.h
MuonMillepedeAlgorithm::run
void run(const edm::EventSetup &setup, const EventInfo &eventInfo) override
Run the algorithm.
Definition: MuonMillepedeAlgorithm.cc:198
AlignableTracker
Definition: AlignableTracker.h:17
AlignableExtras
Definition: AlignableExtras.h:19
MuonMillepedeAlgorithm::collec_f
std::string collec_f
Definition: MuonMillepedeAlgorithm.h:70
AlignableNavigator
Definition: AlignableNavigator.h:25
MuonMillepedeAlgorithm::collect
void collect()
Definition: MuonMillepedeAlgorithm.cc:73
MuonMillepedeAlgorithm
Definition: MuonMillepedeAlgorithm.h:19
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TFileService.h
PbPb_ZMuSkimMuonDPG_cff.tracker
tracker
Definition: PbPb_ZMuSkimMuonDPG_cff.py:60
AlignmentAlgorithmBase::terminate
virtual void terminate()
Called at end of job (must be implemented in derived class)
Definition: AlignmentAlgorithmBase.h:157
edm::ParameterSet
Definition: ParameterSet.h:47
MuonMillepedeAlgorithm::map_invCov
std::map< std::string, AlgebraicMatrix * > map_invCov
Definition: MuonMillepedeAlgorithm.h:61
MuonMillepedeAlgorithm::map_weightRes
std::map< std::string, AlgebraicMatrix * > map_weightRes
Definition: MuonMillepedeAlgorithm.h:62
MuonMillepedeAlgorithm::theAlignableDetAccessor
AlignableNavigator * theAlignableDetAccessor
Definition: MuonMillepedeAlgorithm.h:53
AlignableMuon
Constructor of the full muon geometry.
Definition: AlignableMuon.h:38
edm::Service< TFileService >
MuonMillepedeAlgorithm::chi2nCut
double chi2nCut
Definition: MuonMillepedeAlgorithm.h:65
MuonMillepedeAlgorithm::initialize
void initialize(const edm::EventSetup &setup, AlignableTracker *tracker, AlignableMuon *muon, AlignableExtras *extras, AlignmentParameterStore *store) override
Call at beginning of job.
Definition: MuonMillepedeAlgorithm.cc:56
edm::EventSetup
Definition: EventSetup.h:58
looper.cfg
cfg
Definition: looper.py:297
dumpTauVariables_cfi.eventInfo
eventInfo
add run, event number and lumi section
Definition: dumpTauVariables_cfi.py:12
MuonMillepedeAlgorithm::collec_number
int collec_number
Definition: MuonMillepedeAlgorithm.h:74
align::Alignables
std::vector< Alignable * > Alignables
Definition: Utilities.h:31
AlgebraicMatrix
CLHEP::HepMatrix AlgebraicMatrix
Definition: AlgebraicObjects.h:14
AlignmentParameterStore
Definition: AlignmentParameterStore.h:23
MuonMillepedeAlgorithm::fs
edm::Service< TFileService > fs
Definition: MuonMillepedeAlgorithm.h:68
AlignmentAlgorithmBase.h
Interface/Base class for alignment algorithms, each alignment algorithm has to be derived from this c...
MuonMillepedeAlgorithm::toTMat
void toTMat(AlgebraicMatrix *, TMatrixD *)
Definition: MuonMillepedeAlgorithm.cc:187
ParameterSet.h
MuonMillepedeAlgorithm::ptCut
double ptCut
Definition: MuonMillepedeAlgorithm.h:65
AlignmentAlgorithmBase::EventInfo
define event information passed to algorithms
Definition: AlignmentAlgorithmBase.h:72