- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
bool EvtDecay::isCharm(EvtId xid){
EvtId d0 = EvtPDL::getId(std::string("D0"));
EvtId d0bar = EvtPDL::getId(std::string("anti-D0"));
EvtId dp = EvtPDL::getId(std::string("D+"));
EvtId dm = EvtPDL::getId(std::string("D-"));
EvtId d0h = EvtPDL::getId(std::string("D0H"));
EvtId d0l = EvtPDL::getId(std::string("D0L"));
EvtId dstp = EvtPDL::getId(std::string("D*+"));
EvtId dstm = EvtPDL::getId(std::string("D*-"));
EvtId ds0 = EvtPDL::getId(std::string("D*0"));
EvtId ds0bar = EvtPDL::getId(std::string("anti-D*0"));
EvtId dsp = EvtPDL::getId(std::string("D_s+"));
EvtId dsm = EvtPDL::getId(std::string("D_s-"));
EvtId dsstp = EvtPDL::getId(std::string("D_s*+"));
EvtId dsstm = EvtPDL::getId(std::string("D_s*-"));
EvtId ds0stp = EvtPDL::getId(std::string("D_s0*+"));
EvtId ds0stm = EvtPDL::getId(std::string("D_s0*-"));
std::vector<EvtId> Vid; Vid.clear();
Vid.push_back(d0);
Vid.push_back(d0bar);
Vid.push_back(dp);
Vid.push_back(dm);
Vid.push_back(d0h);
Vid.push_back(d0l);
Vid.push_back(dstp);
Vid.push_back(dstm);
Vid.push_back(ds0);
Vid.push_back(ds0bar );
Vid.push_back(dsp );
Vid.push_back(dsm );
Vid.push_back(dsstp );
Vid.push_back(dsstm );
Vid.push_back(ds0stp );
Vid.push_back(ds0stm );
bool flag=true;
for(int i=0;i<Vid.size();i++){ if(xid == Vid[i]) return flag;}
return false;
}
Lure Of Chaos 04.06.2012 22:30 # 0