1 | /*
|
---|
2 | * Delphes: a framework for fast simulation of a generic collider experiment
|
---|
3 | * Copyright (C) 2012-2014 Universite catholique de Louvain (UCL), Belgium
|
---|
4 | *
|
---|
5 | * This program is free software: you can redistribute it and/or modify
|
---|
6 | * it under the terms of the GNU General Public License as published by
|
---|
7 | * the Free Software Foundation, either version 3 of the License, or
|
---|
8 | * (at your option) any later version.
|
---|
9 | *
|
---|
10 | * This program is distributed in the hope that it will be useful,
|
---|
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
13 | * GNU General Public License for more details.
|
---|
14 | *
|
---|
15 | * You should have received a copy of the GNU General Public License
|
---|
16 | * along with this program. If not, see <http://www.gnu.org/licenses/>.
|
---|
17 | */
|
---|
18 |
|
---|
19 | //------------------------------------------------------------------------------
|
---|
20 |
|
---|
21 | #ifndef LLPFilter_h
|
---|
22 | #define LLPFilter_h
|
---|
23 |
|
---|
24 |
|
---|
25 | /** \class LLPFilter
|
---|
26 | *
|
---|
27 | * Filter LLPs with particular PDG ID/status and calculate the EM and hadronic energy of LLP based on decay particles
|
---|
28 | * The classification of EM and hadronic energy of LLP is based on instructions from the HEPData entry for the CMS paper searching
|
---|
29 | * for neutral LLPs in the CMS endcap muon detectors: https://www.hepdata.net/record/104408
|
---|
30 | *
|
---|
31 | * \author Christina Wang
|
---|
32 | *
|
---|
33 | */
|
---|
34 |
|
---|
35 | #include "classes/DelphesModule.h"
|
---|
36 | #include <vector>
|
---|
37 |
|
---|
38 | class TIterator;
|
---|
39 | class TObjArray;
|
---|
40 |
|
---|
41 | class LLPFilter: public DelphesModule
|
---|
42 | {
|
---|
43 | public:
|
---|
44 | LLPFilter();
|
---|
45 | ~LLPFilter();
|
---|
46 |
|
---|
47 | void Init();
|
---|
48 | void Process();
|
---|
49 | void Finish();
|
---|
50 |
|
---|
51 | private:
|
---|
52 | Double_t fPTMin; //!
|
---|
53 | Int_t fDecayRegion;
|
---|
54 | Int_t fDaughterNumber;
|
---|
55 | Bool_t fInvert; //!
|
---|
56 | Bool_t fRequireStatus; //!
|
---|
57 | Int_t fStatus; //!
|
---|
58 | Bool_t fRequireCharge; //!
|
---|
59 | Int_t fCharge; //!
|
---|
60 | Bool_t fRequireNotPileup; //!
|
---|
61 |
|
---|
62 | std::vector<Int_t> fPdgCodes;
|
---|
63 |
|
---|
64 | TIterator *fItInputArray; //!
|
---|
65 |
|
---|
66 | const TObjArray *fInputArray; //!
|
---|
67 |
|
---|
68 | TIterator *fItParticleInputArray;
|
---|
69 | const TObjArray *fParticleInputArray;
|
---|
70 |
|
---|
71 | TObjArray *fOutputArray; //!
|
---|
72 |
|
---|
73 | ClassDef(LLPFilter, 1)
|
---|
74 | };
|
---|
75 |
|
---|
76 | #endif
|
---|