CalibTracker
SiStripAPVAnalysis
interface
TkCommonMode.h
Go to the documentation of this file.
1
#ifndef TkCommonMode_H
2
#define TkCommonMode_H
3
4
#include "
CalibTracker/SiStripAPVAnalysis/interface/ApvAnalysis.h
"
5
#include "
CalibTracker/SiStripAPVAnalysis/interface/TkCommonModeTopology.h
"
6
7
#include <vector>
13
class
TkCommonMode
{
14
public
:
15
virtual
~TkCommonMode
() {}
16
17
virtual
TkCommonModeTopology
&
topology
() {
return
*
myTkCommonModeTopology
; }
18
virtual
void
setTopology
(
TkCommonModeTopology
*
in
) {
myTkCommonModeTopology
=
in
; }
19
21
void
setCommonMode
(
const
std::vector<float>&
in
) {
theCommonMode
=
in
; }
23
std::vector<float>
returnAsVector
()
const
{
return
theCommonMode
; }
25
std::vector<float>
toVector
()
const
;
// This return a full vector, with duplicates...
26
private
:
27
TkCommonModeTopology
*
myTkCommonModeTopology
;
28
std::vector<float>
theCommonMode
;
29
};
30
31
#endif
ApvAnalysis.h
TkCommonMode
Definition:
TkCommonMode.h:13
TkCommonModeTopology
Definition:
TkCommonModeTopology.h:8
TkCommonMode::~TkCommonMode
virtual ~TkCommonMode()
Definition:
TkCommonMode.h:15
TkCommonMode::setCommonMode
void setCommonMode(const std::vector< float > &in)
Definition:
TkCommonMode.h:21
TkCommonMode::setTopology
virtual void setTopology(TkCommonModeTopology *in)
Definition:
TkCommonMode.h:18
recoMuon::in
Definition:
RecoMuonEnumerators.h:6
TkCommonMode::theCommonMode
std::vector< float > theCommonMode
Definition:
TkCommonMode.h:28
TkCommonMode::myTkCommonModeTopology
TkCommonModeTopology * myTkCommonModeTopology
Definition:
TkCommonMode.h:27
TkCommonMode::returnAsVector
std::vector< float > returnAsVector() const
Definition:
TkCommonMode.h:23
TkCommonMode::toVector
std::vector< float > toVector() const
Definition:
TkCommonMode.cc:3
TkCommonModeTopology.h
TkCommonMode::topology
virtual TkCommonModeTopology & topology()
Definition:
TkCommonMode.h:17
Generated for CMSSW Reference Manual by
1.8.16