BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/MdcxReco/MdcxReco-00-01-60/MdcxReco/MdcxAddHits.h
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2// File and Version Information:
3// $Id: MdcxAddHits.h,v 1.5 2009/12/16 08:59:13 zhangy Exp $
4//
5// Description: Given list of hits and list of tracks, try to add unused
6// hits to tracks
7// Class Header
8//
9// Environment:
10// Software developed for the BaBar Detector at the SLAC B-Factory.
11//
12// Author List:
13// S. Wagner
14//
15// Copyright Information:
16// Copyright (C) 1994 BEPCII
17//
18// History:
19// Migration for BESIII MDC
20//
21//------------------------------------------------------------------------
22#ifndef _MDCXADDHITS_
23#define _MDCXADDHITS_
24
25#include <iostream>
26#include <fstream>
27#include "CLHEP/Alist/AList.h"
28
29class MdcxHel;
30class MdcxFittedHel;
31class MdcxHit;
32
33class MdcxAddHits{//:public Algorithm {
34public:
35 MdcxAddHits(/*const std::string& name, ISvcLocator* pSvcLocator,*/
36 HepAList<MdcxFittedHel> &f, const HepAList<MdcxHit> &h, float addit=1.5);
37 MdcxAddHits(/*const std::string& name, ISvcLocator* pSvcLocator,*/
38 HepAList<MdcxHel> &f, const HepAList<MdcxHit> &h, float addit=1.5);
39 virtual ~MdcxAddHits( );
40/*
41 StatusCode initialize();
42 StatusCode execute();
43 StatusCode finalize();
44*/
45 //functions
47
48protected:
49 //functions
50 //data
51 float addcut;
52 int ncalc,nadded;
53 double sumpull;
54 int kkk,kkl,thot,tuot;
55 int ntracks,nhits;
59};//end of MdcxAddHits
60
61#endif
virtual ~MdcxAddHits()
const HepAList< MdcxHit > & GetAssociates(int i=0)
MdcxAddHits(HepAList< MdcxFittedHel > &f, const HepAList< MdcxHit > &h, float addit=1.5)
MdcxAddHits(HepAList< MdcxHel > &f, const HepAList< MdcxHit > &h, float addit=1.5)
TFile f("ana_bhabha660a_dqa_mcPat_zy_old.root")