Skip to content

Commit f461526

Browse files
dstoccosawenzel
authored andcommitted
Add MC digits for MID
1 parent a7c8015 commit f461526

3 files changed

Lines changed: 38 additions & 0 deletions

File tree

Detectors/MUON/MID/Simulation/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ set(HEADERS
1919
include/${MODULE_NAME}/ChamberHV.h
2020
include/${MODULE_NAME}/ChamberResponse.h
2121
include/${MODULE_NAME}/ChamberResponseParams.h
22+
include/${MODULE_NAME}/ColumnDataMC.h
2223
include/${MODULE_NAME}/Detector.h
2324
include/${MODULE_NAME}/Hit.h
2425
include/${MODULE_NAME}/Stepper.h
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
// Copyright CERN and copyright holders of ALICE O2. This software is
2+
// distributed under the terms of the GNU General Public License v3 (GPL
3+
// Version 3), copied verbatim in the file "COPYING".
4+
//
5+
// See http://alice-o2.web.cern.ch/license for full licensing information.
6+
//
7+
// In applying this license CERN does not waive the privileges and immunities
8+
// granted to it by virtue of its status as an Intergovernmental Organization
9+
// or submit itself to any jurisdiction.
10+
11+
/// \file MIDSimulation/ColumnDataMC.h
12+
/// \brief Strip pattern (aka digits) for simulations
13+
/// \author Diego Stocco <Diego.Stocco at cern.ch>
14+
/// \date 05 March 2019
15+
16+
#ifndef O2_MID_COLUMNDATAMC_H
17+
#define O2_MID_COLUMNDATAMC_H
18+
19+
#include "CommonDataFormat/TimeStamp.h"
20+
#include "DataFormatsMID/ColumnData.h"
21+
22+
namespace o2
23+
{
24+
namespace mid
25+
{
26+
/// Column data structure for MID simulations
27+
class ColumnDataMC : public ColumnData, public o2::dataformats::TimeStamp<int>
28+
{
29+
ClassDefNV(ColumnDataMC, 1);
30+
};
31+
32+
} // namespace mid
33+
} // namespace o2
34+
35+
#endif /* O2_MID_COLUMNDATAMC_H */

Detectors/MUON/MID/Simulation/src/MIDSimulationLinkDef.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,7 @@
2121
#pragma link C++ class o2::Base::DetImpl < o2::mid::Detector > +;
2222
#pragma link C++ class o2::mid::Hit + ;
2323
#pragma link C++ class std::vector < o2::mid::Hit > +;
24+
#pragma link C++ class o2::mid::ColumnDataMC + ;
25+
#pragma link C++ class std::vector < o2::mid::ColumnDataMC > +;
2426

2527
#endif

0 commit comments

Comments
 (0)