BOSS
8.0.0
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
#include "
EvtId.hh
"
26
#include "
EvtPDL.hh
"
27
#include "
EvtParticle.hh
"
28
#include <fstream>
29
#include <iostream>
30
#include <math.h>
31
#include <stdio.h>
32
#include <stdlib.h>
33
#include <vector>
34
using
std::endl;
35
using
std::fstream;
36
37
class
EvtFSPick
{
38
39
public
:
40
// constructor
41
EvtFSPick
(
EvtParticle
* par ) {
42
root_par = par;
43
_EvtFS.clear();
44
_vnames.clear();
45
_vId.clear();
46
_fsid.clear();
47
FSPick
( root_par );
48
}
49
50
// destructor
51
virtual
~EvtFSPick
() {}
52
53
void
FSPick
(
EvtParticle
* par );
54
std::vector<EvtParticle*>
getFS
() {
return
_EvtFS; }
55
void
setFinalStatePar
( std::vector<std::string> vnames );
56
std::vector<EvtVector4R>
getP4
();
57
std::vector<EvtVector4R>
getP4Lab
();
58
int
getIndex
(
EvtId
eid );
59
60
private
:
61
std::vector<EvtParticle*> _EvtFS;
62
EvtParticle
* root_par;
63
std::vector<std::string> _vnames;
64
std::vector<EvtId> _vId, _fsid;
65
};
66
67
#endif
EvtId.hh
EvtPDL.hh
EvtParticle.hh
EvtFSPick::~EvtFSPick
virtual ~EvtFSPick()
Definition
EvtFSPick.hh:51
EvtFSPick::getP4Lab
std::vector< EvtVector4R > getP4Lab()
Definition
EvtFSPick.cc:77
EvtFSPick::getIndex
int getIndex(EvtId eid)
Definition
EvtFSPick.cc:90
EvtFSPick::getFS
std::vector< EvtParticle * > getFS()
Definition
EvtFSPick.hh:54
EvtFSPick::setFinalStatePar
void setFinalStatePar(std::vector< std::string > vnames)
Definition
EvtFSPick.cc:47
EvtFSPick::EvtFSPick
EvtFSPick(EvtParticle *par)
Definition
EvtFSPick.hh:41
EvtFSPick::getP4
std::vector< EvtVector4R > getP4()
Definition
EvtFSPick.cc:64
EvtFSPick::FSPick
void FSPick(EvtParticle *par)
Definition
EvtFSPick.cc:24
EvtId
Definition
EvtId.hh:27
EvtParticle
Definition
EvtParticle.hh:42
8.0.0
BOSS_Gen
BesEvtGen
src
EvtGen
EvtGenBase
EvtFSPick.hh
Generated by
1.16.1