BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
MucPadChain.h
Go to the documentation of this file.
1//------------------------------------------------------------------------------|
2// [File ]: MucPadChain.h |
3// [Brief ]: Head file of class MucPadChain for MUC calibration |
4// [Author]: Xie Yuguang, <[email protected]> |
5// [Date ]: May 25, 2006 |
6// [Log ]: See ChangLog |
7//------------------------------------------------------------------------------|
8
9#ifndef MUC_PAD_CHAIN_H
10#define MUC_PAD_CHAIN_H
11
12#include<iostream>
13
15
16 public:
17 MucPadChain( int padNumber );
18 MucPadChain( int padNumber, double padWidth );
19 MucPadChain( int padNumber, double padWidth, double aveEff );
20 MucPadChain( int part, int segment, int layer, int strip, int padNumber );
21
23
24 double GetEff( int padID );
25 double GetAvaEff();
26 int GetSize();
27 int GetHit();
28 int GetHit( int padID );
29 int GetTrack();
30 int GetTrack( int padID );
31 bool IsEmpty();
32
33
34 void AddHit( int padID );
35 void AddTrack( int padID );
36 void SetEff();
37 void SetEff( int padID, double eff );
38 void SetSize( int size );
39 void SetPadWidth( double width );
40 void SetDeathFlag( int padID );
41 void SetFiredFlag( int padID );
42
43 private:
44
45 static const int m_MaxSize = 500;
46 static const int m_MaxWidth = 100;
47 static const int m_DeathFlag = -1;
48 int m_Size;
49 int m_PadWidth;
50
51 vector< int > m_Hit;
52 vector< int > m_Track;
53 vector< double> m_Eff;
54}
55
56#endif
57
double GetEff(int padID)
void SetEff()
int GetHit(int padID)
int GetTrack()
void SetEff(int padID, double eff)
bool IsEmpty()
int GetTrack(int padID)
MucPadChain & operator=(const MucPadChain &)
MucPadChain(int part, int segment, int layer, int strip, int padNumber)
MucPadChain(int padNumber)
void SetSize(int size)
MucPadChain(int padNumber, double padWidth, double aveEff)
MucPadChain(int padNumber, double padWidth)
void SetDeathFlag(int padID)
void SetPadWidth(double width)
void SetFiredFlag(int padID)
void AddTrack(int padID)
double GetAvaEff()
void AddHit(int padID)