BOSS
7.1.1
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtFSPick.hh
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
//
3
// Environment:
4
// This software is part of models developed at BES collaboration
5
// based on the EvtGen framework. If you use all or part
6
// of it, please give an appropriate acknowledgement.
7
//
8
// Copyright Information: See EvtGen/BesCopyright
9
// Copyright (A) 2006 Ping Rong-Gang @IHEP
10
//
11
// Module: EvtDecayTag.hh
12
//
13
// Description: Class to pick out the final state
14
//
15
// Modification history:
16
//
17
// Ping R.-G. December, 2011-Mar. Module created
18
//
19
//------------------------------------------------------------------------
20
//
21
22
#ifndef EVTFSPICK_HH
23
#define EVTFSPICK_HH
24
25
26
#include <iostream>
27
#include <math.h>
28
#include <fstream>
29
#include <stdio.h>
30
#include <stdlib.h>
31
#include <vector>
32
#include "
EvtGenBase/EvtParticle.hh
"
33
#include "
EvtGenBase/EvtId.hh
"
34
#include "
EvtGenBase/EvtPDL.hh
"
35
using
std::endl;
36
using
std::fstream;
37
38
class
EvtFSPick
39
{
40
41
public
:
42
43
// constructor
44
EvtFSPick
(
EvtParticle
*par){
45
root_par = par;
46
_EvtFS.clear();
47
_vnames.clear();
48
_vId.clear();
49
_fsid.clear();
50
FSPick
(root_par);
51
}
52
53
//destructor
54
virtual
~EvtFSPick
(){}
55
56
void
FSPick
(
EvtParticle
* par);
57
std::vector<EvtParticle*>
getFS
(){
return
_EvtFS;}
58
void
setFinalStatePar
(std::vector <std::string> vnames);
59
std::vector <EvtVector4R>
getP4
();
60
std::vector <EvtVector4R>
getP4Lab
();
61
int
getIndex
(
EvtId
eid);
62
63
private
:
64
65
std::vector <EvtParticle*> _EvtFS;
66
EvtParticle
*root_par;
67
std::vector <std::string> _vnames;
68
std::vector <EvtId> _vId,_fsid;
69
};
70
71
#endif
72
EvtId.hh
EvtPDL.hh
EvtParticle.hh
EvtFSPick
Definition
EvtFSPick.hh:39
EvtFSPick::~EvtFSPick
virtual ~EvtFSPick()
Definition
EvtFSPick.hh:54
EvtFSPick::getP4Lab
std::vector< EvtVector4R > getP4Lab()
Definition
EvtFSPick.cc:73
EvtFSPick::getIndex
int getIndex(EvtId eid)
Definition
EvtFSPick.cc:85
EvtFSPick::getFS
std::vector< EvtParticle * > getFS()
Definition
EvtFSPick.hh:57
EvtFSPick::setFinalStatePar
void setFinalStatePar(std::vector< std::string > vnames)
Definition
EvtFSPick.cc:45
EvtFSPick::EvtFSPick
EvtFSPick(EvtParticle *par)
Definition
EvtFSPick.hh:44
EvtFSPick::getP4
std::vector< EvtVector4R > getP4()
Definition
EvtFSPick.cc:61
EvtFSPick::FSPick
void FSPick(EvtParticle *par)
Definition
EvtFSPick.cc:25
EvtId
Definition
EvtId.hh:27
EvtParticle
Definition
EvtParticle.hh:42
7.1.1
Generator
BesEvtGen
BesEvtGen-00-04-28
src
EvtGen
EvtGenBase
EvtFSPick.hh
Generated by
1.12.0