Skip to content

Commit 147f860

Browse files
authored
Merge pull request #71 from JETSCAPE/Qnvector_debug
fix Qnvector issue
2 parents c498cde + f245889 commit 147f860

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/framework/JetScapeWriterQnCalculator.cc

+3
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,9 @@ template <class T> void JetScapeWriterQnVectorStream<T>::WriteEvent() {
6565
std::shared_ptr<Qvector> Qvec_tem_ptr = std::make_shared<Qvector>(pTmin_,pTmax_,npT_,rapmin_,rapmax_,nrap_,norder_,select_pid,rapidity_kind);
6666
int num_pid = 0;
6767
for (const auto particle : particles) {
68+
69+
if( particle->pstat()!= 11 && particle->pstat()!=27) continue;
70+
// only includes hadrons from iSS and SMASH
6871
PdgCode pdgcode_tem(std::to_string(particle->pid()));
6972

7073
if (select_pid == 9999) {

0 commit comments

Comments
 (0)