Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
src
DataFormats
HcalRecHit
interface
HcalSourcePositionData.h
Go to the documentation of this file.
1
#ifndef DATAFORMATS_HCALRECHIT_HCALSOURCEPOSITIONDATA_H
2
#define DATAFORMATS_HCALRECHIT_HCALSOURCEPOSITIONDATA_H 1
3
4
#include "
DataFormats/CaloRecHit/interface/CaloRecHit.h
"
5
6
class
HcalSourcePositionData
{
7
public
:
8
9
HcalSourcePositionData
();
10
~HcalSourcePositionData
(){}
11
12
inline
int
messageCounter
()
const
{
return
messageCounter_
; }
13
inline
int
status
()
const
{
return
status_
; }
14
inline
int
indexCounter
()
const
{
return
indexCounter_
; }
15
inline
int
reelCounter
()
const
{
return
reelCounter_
; }
16
inline
int
motorCurrent
()
const
{
return
motorCurrent_
; }
17
inline
int
speed
()
const
{
return
speed_
; }
18
inline
int
tubeId
()
const
{
return
tubeId_
; }
19
inline
int
driverId
()
const
{
return
driverId_
; }
20
inline
int
sourceId
()
const
{
return
sourceId_
; }
21
22
void
getDriverTimestamp
(
int
&
seconds
,
int
& useconds)
const
;
23
void
getDAQTimestamp
(
int
&
seconds
,
int
& useconds)
const
;
24
25
void
set
(
int
message_counter,
26
int
timestamp1_sec,
27
int
timestamp1_usec,
28
int
timestamp2_sec,
29
int
timestamp2_usec,
30
int
status
,
31
int
index_counter,
32
int
reel_counter,
33
int
motor_current,
34
int
speed
,
35
int
tube_id,
36
int
driver_id,
37
int
source_id);
38
private
:
39
int
messageCounter_
;
40
int
indexCounter_
;
41
int
reelCounter_
;
42
int
timestamp1_sec_
;
43
int
timestamp1_usec_
;
44
int
timestamp2_sec_
;
45
int
timestamp2_usec_
;
46
int
status_
;
47
int
motorCurrent_
;
48
int
speed_
;
49
int
tubeId_
;
50
int
driverId_
;
51
int
sourceId_
;
52
};
53
54
std::ostream&
operator<<
(std::ostream&
s
,
const
HcalSourcePositionData
& hspd);
55
56
#endif
HcalSourcePositionData::speed
int speed() const
Definition:
HcalSourcePositionData.h:17
HcalSourcePositionData::sourceId
int sourceId() const
Definition:
HcalSourcePositionData.h:20
HcalSourcePositionData::reelCounter
int reelCounter() const
Definition:
HcalSourcePositionData.h:15
seconds
double seconds()
HcalSourcePositionData::speed_
int speed_
Definition:
HcalSourcePositionData.h:48
HcalSourcePositionData::driverId_
int driverId_
Definition:
HcalSourcePositionData.h:50
HcalSourcePositionData::tubeId_
int tubeId_
Definition:
HcalSourcePositionData.h:49
HcalSourcePositionData::indexCounter
int indexCounter() const
Definition:
HcalSourcePositionData.h:14
HcalSourcePositionData::reelCounter_
int reelCounter_
Definition:
HcalSourcePositionData.h:41
HcalSourcePositionData::HcalSourcePositionData
HcalSourcePositionData()
Definition:
HcalSourcePositionData.cc:6
HcalSourcePositionData::timestamp2_sec_
int timestamp2_sec_
Definition:
HcalSourcePositionData.h:44
HcalSourcePositionData::motorCurrent_
int motorCurrent_
Definition:
HcalSourcePositionData.h:47
HcalSourcePositionData
Definition:
HcalSourcePositionData.h:6
operator<<
std::ostream & operator<<(std::ostream &out, const ALILine &li)
Definition:
ALILine.cc:187
HcalSourcePositionData::driverId
int driverId() const
Definition:
HcalSourcePositionData.h:19
HcalSourcePositionData::timestamp2_usec_
int timestamp2_usec_
Definition:
HcalSourcePositionData.h:45
HcalSourcePositionData::status
int status() const
Definition:
HcalSourcePositionData.h:13
HcalSourcePositionData::indexCounter_
int indexCounter_
Definition:
HcalSourcePositionData.h:40
HcalSourcePositionData::timestamp1_sec_
int timestamp1_sec_
Definition:
HcalSourcePositionData.h:42
HcalSourcePositionData::messageCounter
int messageCounter() const
Definition:
HcalSourcePositionData.h:12
HcalSourcePositionData::set
void set(int message_counter, int timestamp1_sec, int timestamp1_usec, int timestamp2_sec, int timestamp2_usec, int status, int index_counter, int reel_counter, int motor_current, int speed, int tube_id, int driver_id, int source_id)
Definition:
HcalSourcePositionData.cc:22
HcalSourcePositionData::motorCurrent
int motorCurrent() const
Definition:
HcalSourcePositionData.h:16
HcalSourcePositionData::getDriverTimestamp
void getDriverTimestamp(int &seconds, int &useconds) const
Definition:
HcalSourcePositionData.cc:51
HcalSourcePositionData::tubeId
int tubeId() const
Definition:
HcalSourcePositionData.h:18
HcalSourcePositionData::getDAQTimestamp
void getDAQTimestamp(int &seconds, int &useconds) const
Definition:
HcalSourcePositionData.cc:56
HcalSourcePositionData::~HcalSourcePositionData
~HcalSourcePositionData()
Definition:
HcalSourcePositionData.h:10
HcalSourcePositionData::status_
int status_
Definition:
HcalSourcePositionData.h:46
alignCSCRings.s
list s
Definition:
alignCSCRings.py:91
HcalSourcePositionData::messageCounter_
int messageCounter_
Definition:
HcalSourcePositionData.h:39
CaloRecHit.h
HcalSourcePositionData::timestamp1_usec_
int timestamp1_usec_
Definition:
HcalSourcePositionData.h:43
HcalSourcePositionData::sourceId_
int sourceId_
Definition:
HcalSourcePositionData.h:51
Generated for CMSSW Reference Manual by
1.8.5