forked from AliceO2Group/AliceO2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIT: Base TOF for sim hits on hit pos instead of fixed detector pos
- Estimate time-of-flight for MC hits based on location of the hits, instead of hard coded detector locations. This way the TOF is compensated for, when detector geometries are misaligned. - Add additional config parameters for hit time offset (should it be needed).
- Loading branch information
1 parent
f2fdcac
commit 22b0e9a
Showing
10 changed files
with
94 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
32 changes: 32 additions & 0 deletions
32
Detectors/FIT/FDD/simulation/include/FDDSimulation/FDDDigParam.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
// Copyright 2019-2020 CERN and copyright holders of ALICE O2. | ||
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders. | ||
// All rights not expressly granted are reserved. | ||
// | ||
// This software is distributed under the terms of the GNU General Public | ||
// License v3 (GPL Version 3), copied verbatim in the file "COPYING". | ||
// | ||
// In applying this license CERN does not waive the privileges and immunities | ||
// granted to it by virtue of its status as an Intergovernmental Organization | ||
// or submit itself to any jurisdiction. | ||
|
||
/// \file FDDDigParam.h | ||
/// \brief Configurable digitization parameters | ||
/// | ||
/// \author Andreas Molander <andreas.molander@cern.ch> | ||
|
||
#ifndef ALICEO2_FDD_DIG_PARAM | ||
#define ALICEO2_FDD_DIG_PARAM | ||
|
||
#include "CommonUtils/ConfigurableParamHelper.h" | ||
|
||
namespace o2::fdd | ||
{ | ||
struct FDDDigParam : o2::conf::ConfigurableParamHelper<FDDDigParam> { | ||
float hitTimeOffsetA = 0; ///< Hit time offset on the A side [ns] | ||
float hitTimeOffsetC = 0; ///< Hit time offset on the C side [ns] | ||
|
||
O2ParamDef(FDDDigParam, "FDDDigParam"); | ||
}; | ||
} // namespace o2::fdd | ||
|
||
#endif // ALICEO2_FDD_DIG_PARAM |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters