CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
11 #include "TH1D.h"
12 #include "TTree.h"
13 #include "TFile.h"
14 #include "TMatrixD.h"
15 
16 class AlignableNavigator;
17 class TFile;
18 class TTree;
19 
21 {
22 
23  public:
24 
27 
30 
32  void initialize( const edm::EventSetup& setup,
34  AlignableExtras* extras,
36 
38  void terminate(void);
39 
40 
41 
43  void run(const edm::EventSetup& setup, const EventInfo &eventInfo);
44 
46 
47  void toTMat(AlgebraicMatrix *, TMatrixD *);
48 
49  void collect();
50 
51  private:
52 
53  // private data members
54 
55  void printM(AlgebraicMatrix );
56 
58  std::vector<Alignable*> theAlignables;
60 
61  // verbosity flag
62  bool verbose;
63 
64  //Store residuals
65  std::map<std::string, TH1D *> histoMap;
66 
67  std::map<std::string, AlgebraicMatrix *> map_invCov;
68  std::map<std::string, AlgebraicMatrix *> map_weightRes;
69  std::map<std::string, AlgebraicMatrix *> map_N;
70 
71  double ptCut, chi2nCut;
72 
73 
74  //Service for histograms
76 
77 
78  std::string collec_f;
79  std::string outputCollName;
81  std::string collec_path;
83 
84 
85 
86 };
87 
88 #endif
std::map< std::string, AlgebraicMatrix * > map_weightRes
AlignableNavigator * theAlignableDetAccessor
void run(const edm::EventSetup &setup, const EventInfo &eventInfo)
Run the algorithm.
edm::Service< TFileService > fs
void toTMat(AlgebraicMatrix *, TMatrixD *)
CLHEP::HepMatrix AlgebraicMatrix
MuonMillepedeAlgorithm(const edm::ParameterSet &cfg)
Constructor.
void terminate(void)
Call at end of job.
void updateInfo(AlgebraicMatrix, AlgebraicMatrix, AlgebraicMatrix, std::string)
AlignmentParameterStore * theAlignmentParameterStore
void initialize(const edm::EventSetup &setup, AlignableTracker *tracker, AlignableMuon *muon, AlignableExtras *extras, AlignmentParameterStore *store)
Call at beginning of job.
std::map< std::string, AlgebraicMatrix * > map_N
std::map< std::string, TH1D * > histoMap
std::vector< Alignable * > theAlignables
Constructor of the full muon geometry.
Definition: AlignableMuon.h:36
void printM(AlgebraicMatrix)
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
std::map< std::string, AlgebraicMatrix * > map_invCov