[193c267c] | 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 | #ifndef TimeOfFlight_h
|
---|
| 20 | #define TimeOfFlight_h
|
---|
| 21 |
|
---|
| 22 | /** \class TimeOfFlight
|
---|
| 23 | *
|
---|
| 24 | * Calculates Time-Of-Flight
|
---|
| 25 | *
|
---|
| 26 | * \author Michele Selvaggi - CERN
|
---|
| 27 | *
|
---|
| 28 | */
|
---|
| 29 |
|
---|
| 30 | #include "classes/DelphesModule.h"
|
---|
| 31 |
|
---|
| 32 | class TIterator;
|
---|
| 33 | class TObjArray;
|
---|
| 34 |
|
---|
| 35 | class TimeOfFlight: public DelphesModule
|
---|
| 36 | {
|
---|
| 37 | public:
|
---|
| 38 | TimeOfFlight();
|
---|
| 39 | ~TimeOfFlight();
|
---|
| 40 |
|
---|
| 41 | void Init();
|
---|
| 42 | void Process();
|
---|
| 43 | void Finish();
|
---|
| 44 | void ComputeVertexMomenta();
|
---|
| 45 |
|
---|
| 46 | private:
|
---|
| 47 |
|
---|
| 48 | Int_t fVertexTimeMode;
|
---|
| 49 |
|
---|
| 50 | TIterator *fItTrackInputArray; //!
|
---|
| 51 | TIterator *fItVertexInputArray; //!
|
---|
| 52 |
|
---|
| 53 | const TObjArray *fTrackInputArray; //!
|
---|
| 54 | const TObjArray *fVertexInputArray; //!
|
---|
| 55 |
|
---|
| 56 | TObjArray *fOutputArray; //!
|
---|
| 57 |
|
---|
| 58 | ClassDef(TimeOfFlight, 1)
|
---|
| 59 | };
|
---|
| 60 |
|
---|
| 61 | #endif
|
---|