Alignment
CommonAlignmentMonitor
plugins
AlignmentMonitorGeneric.h
Go to the documentation of this file.
1
#ifndef Alignment_CommonAlignmentMonitor_AlignmentMonitorGeneric_H
2
#define Alignment_CommonAlignmentMonitor_AlignmentMonitorGeneric_H
3
4
// Package: CommonAlignmentMonitor
5
// Class : AlignmentMonitorGeneric
6
//
7
// Produce histograms generic to all alignment algorithms.
8
//
9
// Histograms defined:
10
// pull of x hit residuals for positively charged tracks on each alignable
11
// pull of x hit residuals for negatively charged tracks on each alignable
12
// pull of y hit residuals for positively charged tracks on each alignable
13
// pull of y hit residuals for negatively charged tracks on each alignable
14
// pt for all tracks
15
// eta for all tracks
16
// phi for all tracks
17
// d0 for all tracks
18
// dz for all tracks
19
// chi2/dof for all tracks
20
//
21
// Original Author: Jim Pivarski
22
// Created: Thu Mar 29 13:59:56 CDT 2007
23
// $Id: AlignmentMonitorGeneric.h,v 1.3 2007/12/04 23:29:26 ratnik Exp $
24
25
#include "
Alignment/CommonAlignmentMonitor/interface/AlignmentMonitorBase.h
"
26
#include "TH1.h"
27
28
class
AlignmentMonitorGeneric
:
public
AlignmentMonitorBase
{
29
typedef
std::vector<TH1F*>
Hist1Ds
;
30
31
public
:
32
AlignmentMonitorGeneric
(
const
edm::ParameterSet
&);
33
34
void
book
()
override
;
35
36
void
event
(
const
edm::Event
&,
const
edm::EventSetup
&,
const
ConstTrajTrackPairCollection
&)
override
;
37
38
private
:
39
static
const
unsigned
int
nBin_
= 50;
40
41
Hist1Ds
m_trkHists
;
// track parameters histograms
42
43
std::map<const Alignable*, Hist1Ds>
m_resHists
;
// hit residuals histograms
44
};
45
46
#endif
AlignmentMonitorGeneric::nBin_
static const unsigned int nBin_
Definition:
AlignmentMonitorGeneric.h:39
AlignmentMonitorGeneric::event
void event(const edm::Event &, const edm::EventSetup &, const ConstTrajTrackPairCollection &) override
Called for each event (by "run()"): may be reimplemented.
Definition:
AlignmentMonitorGeneric.cc:68
AlignmentMonitorGeneric::book
void book() override
Book or retrieve histograms; MUST be reimplemented.
Definition:
AlignmentMonitorGeneric.cc:14
AlignmentMonitorGeneric::m_trkHists
Hist1Ds m_trkHists
Definition:
AlignmentMonitorGeneric.h:41
AlignmentMonitorGeneric::Hist1Ds
std::vector< TH1F * > Hist1Ds
Definition:
AlignmentMonitorGeneric.h:29
edm::ParameterSet
Definition:
ParameterSet.h:47
AlignmentMonitorBase.h
AlignmentMonitorGeneric::AlignmentMonitorGeneric
AlignmentMonitorGeneric(const edm::ParameterSet &)
Definition:
AlignmentMonitorGeneric.cc:11
AlignmentMonitorBase
Definition:
AlignmentMonitorBase.h:42
edm::EventSetup
Definition:
EventSetup.h:57
AlignmentMonitorGeneric
Definition:
AlignmentMonitorGeneric.h:28
AlignmentMonitorBase::ConstTrajTrackPairCollection
std::vector< ConstTrajTrackPair > ConstTrajTrackPairCollection
Definition:
AlignmentMonitorBase.h:45
edm::Event
Definition:
Event.h:73
AlignmentMonitorGeneric::m_resHists
std::map< const Alignable *, Hist1Ds > m_resHists
Definition:
AlignmentMonitorGeneric.h:43
Generated for CMSSW Reference Manual by
1.8.16