QwAnalysis
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
QwBeamDetectorID.h
Go to the documentation of this file.
1
/**********************************************************\
2
* File: QwBeamDetectorID.h *
3
* *
4
* Author: *
5
* Time-stamp: *
6
\**********************************************************/
7
8
#ifndef __QWBEAMDETECTORID__
9
#define __QWBEAMDETECTORID__
10
11
// ROOT headers
12
#include "Rtypes.h"
13
#include "TString.h"
14
15
// Qweak headers
16
#include "
QwTypes.h
"
17
18
// Qweak database headers
19
#include "
QwDBInterface.h
"
20
21
// Forward declarations
22
class
QwParameterFile
;
23
24
/*****************************************************************
25
* Class:
26
******************************************************************/
27
class
QwBeamDetectorID
{
28
public
:
29
QwBeamDetectorID
(Int_t subbankid, Int_t offset,TString name, TString dettype,
30
TString modtype);
31
QwBeamDetectorID
(Int_t subbankid,
QwParameterFile
¶mfile);
32
QwBeamDetectorID
(
const
QwBeamDetectorID
& input);
33
~QwBeamDetectorID
(){};
34
35
Bool_t
ReportInitErrors
()
const
;
36
void
Print
()
const
;
37
38
public
:
39
Int_t
fSubbankIndex
;
40
Int_t
fWordInSubbank
;
41
//first word reported for this channel in the subbank
42
//(eg VQWK channel report 6 words for each event, scalers oly report one word per event)
43
44
// The first word of the subbank gets fWordInSubbank=0
45
46
TString
fmoduletype
;
// eg: VQWK, SCALER
47
TString
fdetectorname
;
48
TString
fdetectortype
;
// stripline, bcm, ... this string is encoded by fTypeID
49
50
EQwBeamInstrumentType
fTypeID
;
// type of detector eg: bcm or stripline, etc..
51
Int_t
fIndex
;
// index of this detector in the vector containing all the detector of same type
52
UInt_t
fSubelement
;
// some detectors have many subelements (eg stripline have 4 antenas) some have only one sub element(eg lumis have one channel)
53
TString
fChannelName
;
54
TString
fSubelementName
;
55
56
private
:
57
QwBeamDetectorID
();
58
59
};
60
61
#endif
QwBeamDetectorID::~QwBeamDetectorID
~QwBeamDetectorID()
Definition:
QwBeamDetectorID.h:33
QwBeamDetectorID::Print
void Print() const
Definition:
QwBeamDetectorID.cc:127
QwBeamDetectorID::fdetectorname
TString fdetectorname
Definition:
QwBeamDetectorID.h:47
QwBeamDetectorID::fmoduletype
TString fmoduletype
Definition:
QwBeamDetectorID.h:46
QwBeamDetectorID::fIndex
Int_t fIndex
Definition:
QwBeamDetectorID.h:51
QwBeamDetectorID::fdetectortype
TString fdetectortype
Definition:
QwBeamDetectorID.h:48
QwBeamDetectorID::ReportInitErrors
Bool_t ReportInitErrors() const
Definition:
QwBeamDetectorID.cc:98
QwBeamDetectorID::fSubbankIndex
Int_t fSubbankIndex
Definition:
QwBeamDetectorID.h:39
QwBeamDetectorID::fTypeID
EQwBeamInstrumentType fTypeID
Definition:
QwBeamDetectorID.h:50
QwTypes.h
QwBeamDetectorID::QwBeamDetectorID
QwBeamDetectorID()
QwBeamDetectorID
Definition:
QwBeamDetectorID.h:27
QwBeamDetectorID::fSubelement
UInt_t fSubelement
Definition:
QwBeamDetectorID.h:52
QwBeamDetectorID::fSubelementName
TString fSubelementName
Definition:
QwBeamDetectorID.h:54
QwDBInterface.h
EQwBeamInstrumentType
EQwBeamInstrumentType
Definition:
QwTypes.h:132
QwBeamDetectorID::fChannelName
TString fChannelName
Definition:
QwBeamDetectorID.h:53
QwParameterFile
Definition:
QwParameterFile.h:43
QwBeamDetectorID::fWordInSubbank
Int_t fWordInSubbank
Definition:
QwBeamDetectorID.h:40
Parity
include
QwBeamDetectorID.h
Generated on Sun Sep 24 2017 04:33:18 for QwAnalysis by
1.8.5