BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcxHits.h
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2// File and Version Information:
3// $Id: MdcxHits.h,v 1.6 2009/12/16 08:59:13 zhangy Exp $
4//
5// Description:
6// Class Header for |MdcxHits| - container for |MdcxHit|s
7//
8// Environment:
9// Software developed for the BaBar Detector at the SLAC B-Factory.
10//
11// Author List:
12// A. Snyder
13// S. Wagner
14//
15// Copyright Information:
16// Copyright (C) 1994 BEPCII
17//
18// History:
19// Migration for BESIII MDC
20//
21//------------------------------------------------------------------------
22#ifndef MDCXHITS_H
23#define MDCXHITS_H
24
25#include <iostream>
26#include <fstream>
27#include "MdcxReco/MdcxHit.h"
28#include "CLHEP/Alist/AList.h"
29#include "MdcRawEvent/MdcDigi.h"
32
33class MdcxHits {
34public:
35 MdcxHits();
36 //MdcxHits(MdcDigiCol* digiCol, float c0=0.0, float cresol=0.0180);
37 virtual ~MdcxHits();
38 void reset();
39 void create(MdcDigiVec digiVec, float c0=0.0, float cresol=0.0180);
40 inline const HepAList<MdcxHit> &GetMdcxHitList() { return mdcxHitList; }
41 void print(std::ostream &o,int pmax=10)const;
42private:
43 HepAList<MdcxHit> mdcxHitList;
44 void KillList() { HepAListDeleteAll(mdcxHitList); }
45 static double timecut;
46 int m_debug;
47 bool m_hitInUse[43][288];
48};
49#endif
50
std::vector< MdcDigi * > MdcDigiVec
void print(std::ostream &o, int pmax=10) const
Definition: MdcxHits.cxx:72
const HepAList< MdcxHit > & GetMdcxHitList()
Definition: MdcxHits.h:40
void reset()
Definition: MdcxHits.cxx:55
MdcxHits()
Definition: MdcxHits.cxx:35
virtual ~MdcxHits()
Definition: MdcxHits.cxx:53
void create(MdcDigiVec digiVec, float c0=0.0, float cresol=0.0180)
Definition: MdcxHits.cxx:59