FairRoot
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
FairTestDetectorHit.h
Go to the documentation of this file.
1 /********************************************************************************
2  * Copyright (C) 2014 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 #ifndef FAIRTESTDETECTORHIT_H_
9 #define FAIRTESTDETECTORHIT_H_
10 
11 #include "FairHit.h" // for FairHit
12 
13 #include <Rtypes.h> // for FairTestDetectorHit::Class, etc
14 #include <boost/serialization/base_object.hpp>
15 namespace boost {
16 namespace serialization {
17 class access;
18 }
19 } // namespace boost
20 
21 class TVector3;
22 
24 {
25  public:
28 
30  FairTestDetectorHit(Int_t detID, Int_t mcindex, const TVector3& pos, const TVector3& dpos);
31 
33  virtual ~FairTestDetectorHit();
34 
35  template<class Archive>
36  void serialize(Archive& ar, const unsigned int /*version*/)
37  {
38  ar& boost::serialization::base_object<FairHit>(*this);
39  }
40 
41  private:
43 
44  ClassDef(FairTestDetectorHit, 1);
45 };
46 
47 #endif /* FAIRTESTDETECTORHIT_H_ */
friend class boost::serialization::access
void serialize(Archive &ar, const unsigned int)