Changeset 56562d0 in git
- Timestamp:
- Sep 23, 2016, 1:37:48 PM (8 years ago)
- Branches:
- ImprovedOutputFile, Timing, dual_readout, llp, master
- Children:
- 96abea4
- Parents:
- 6934875
- Location:
- modules
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
modules/PdgCodeFilter.cc
r6934875 r56562d0 79 79 fStatus = GetInt("Status", 1); 80 80 81 fRequireCharge = GetBool("RequireCharge", false); 82 fCharge = GetInt("Charge", 1); 83 81 84 // import input array 82 85 fInputArray = ImportArray(GetString("InputArray", "Delphes/allParticles")); … … 123 126 if(pt < fPTMin) continue; 124 127 if(fRequireStatus && (candidate->Status != fStatus)) continue; 128 if(fRequireCharge && (candidate->Charge != fCharge)) continue; 125 129 126 130 pass = kTRUE; -
modules/PdgCodeFilter.h
r6934875 r56562d0 53 53 Bool_t fRequireStatus; //! 54 54 Int_t fStatus; //! 55 Bool_t fRequireCharge; //! 56 Int_t fCharge; //! 57 55 58 56 59 std::vector<Int_t> fPdgCodes;
Note:
See TracChangeset
for help on using the changeset viewer.