StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StDAQMaker
StPMDReader.h
1
/***************************************************************************
2
*$Id: StPMDReader.h,v 1.2 2003/12/10 10:43:24 subhasis Exp $
3
*
4
* StPMDReader.h
5
* Author: Susanta and Subhasis
6
***************************************************************************
7
*
8
* Description: Offline Wrapper for DAQ PMD reader functions
9
*
10
***************************************************************************
11
*$Log: StPMDReader.h,v $
12
*Revision 1.2 2003/12/10 10:43:24 subhasis
13
*loop for No of channels read is changed to PMD_CRAMS_CH_MAX
14
*
15
**************************************************************************/
16
#include "StDaqLib/PMD/PMD_Reader.hh"
17
18
#ifndef _StPMDReader_
19
#define _StPMDReader_
20
21
22
class
PMD_Reader
;
23
class
StDAQReader
;
24
25
class
StPMDReader
26
{
27
public
:
28
StPMDReader
(
StDAQReader
*
rd
);
29
virtual
~
StPMDReader
();
30
virtual
int
close();
31
virtual
int
Update();
32
void
getPMD_ADC();
33
int
NPMDHits();
34
int
getNoOfChannelsInCramBlock(
int
,
int
,
int
);
// sec/Crate_No, Cram, Blk , Return No. Of channels in that Cram Block
35
int
getAllPmdCpvData(
int
*);
// get ADC values, Return total No. of Channel
36
int
getAllPmdCpvPed(
int
*);
// get ADC values, Return total No. of Channel
37
int
getAllPmdCpvRms(
int
*);
// get ADC values, Return total No. of Channel
38
int
getAllPmdCpvDataChannelByChannel(
int
,
int
,
int
,
int
);
// Sector/Crate No.,Crams,Block,Channel, Return ADC Value
39
int
getNoOfChannelsInPmdChain(
int
);
// Chain No. , Return No. Of channels in that chain
40
int
getPmdChainData(
int
,
int
*);
// Chain No., ADC Value, Return No. Of channels in that chain
41
int
getNoOfChannelsInCpvChain(
int
);
// Chain No. , Return No. Of channels in that chain
42
int
getCpvChainData(
int
,
int
*);
// Chain No., ADC Value, Return No. Of channels in that chain
43
44
protected
:
45
Bank_DATA
mPmd;
46
Bank_DATA
*mPmdp;
47
StDAQReader
* fDAQReader;
48
PMD_Reader
*fPMDImpReader;
49
};
50
51
#endif
StPMDReader
Definition:
StPMDReader.h:25
PMD_Reader
Definition:
PMD_Reader.hh:79
rd
void rd(int hits=0, bool clear=false)
This function redraws all hits and/or tracks from the current event.
Definition:
Ed.C:69
Bank_DATA
Definition:
PMD_Reader.hh:76
StDAQReader
Definition:
StDAQReader.h:192
Generated by
1.8.5