/* This file is part of MAUS: http://micewww.pp.rl.ac.uk:8080/projects/maus * * MAUS is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * MAUS is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with MAUS. If not, see . * */ #ifndef _EVEvent_hh #define _EVEvent_hh #include #include "DataStructure/ThreeVector.hh" namespace EventViewer { /** @class EVEvent * @author M. Savic * @brief Container class to hold all information of interest from one particular event */ class EVEvent { public: /** @brief The default constructor */ EVEvent(); /** @brief The destructor */ virtual ~EVEvent(); /** @brief Reset all member variables back to a set of default values */ void Reset(); // all these structures could be set to private with addition of appropriate getters and setters int runNumber; int spillNumber; int eventNumber; // all these structures could be set to private with addition of appropriate getters and setters // also they could be changed to vector< vector > to acommodate more than one track(?) std::vector tofPoints = std::vector(3); std::vector scifiUSTrackerPoints = std::vector(5); std::vector scifiUSTrackerPointsMomenta = std::vector(5); std::vector scifiUSTrackerSpacePoints; std::vector scifiUSTrackerStraightTrackPoints = std::vector(2); std::vector > > scifiUSTrackerClusters = std::vector > >(3, std::vector >(2)); std::vector scifiUSTrackerHelicalTrackParameters = std::vector(8); // ToDo: check if Reset() works std::vector scifiDSTrackerPoints = std::vector(5); std::vector scifiDSTrackerPointsMomenta = std::vector(5); std::vector scifiDSTrackerSpacePoints; std::vector scifiDSTrackerStraightTrackPoints = std::vector(2); std::vector > > scifiDSTrackerClusters = std::vector > >(3, std::vector >(2)); std::vector scifiDSTrackerHelicalTrackParameters = std::vector(8); // ToDo: check if Reset() works }; } // ~namespace EventViewer #endif