-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Restored header files for individual algorithms
Realised that the header files for individual algorithms are needed. Putting them back. If required we can move them to interface(.h) and src(.cc) areas.
- Loading branch information
1 parent
878fd45
commit 91abd9c
Showing
8 changed files
with
102 additions
and
82 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
23 changes: 23 additions & 0 deletions
23
SimTracker/SiPhase2Digitizer/plugins/PSPDigitizerAlgorithm.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,23 @@ | ||
#ifndef _SimTracker_SiPhase2Digitizer_PSPDigitizerAlgorithm_h | ||
#define _SimTracker_SiPhase2Digitizer_PSPDigitizerAlgorithm_h | ||
|
||
#include "SimTracker/SiPhase2Digitizer/plugins/Phase2TrackerDigitizerAlgorithm.h" | ||
|
||
class PSPDigitizerAlgorithm : public Phase2TrackerDigitizerAlgorithm { | ||
public: | ||
PSPDigitizerAlgorithm(const edm::ParameterSet& conf); | ||
~PSPDigitizerAlgorithm() override; | ||
|
||
// initialization that cannot be done in the constructor | ||
void init(const edm::EventSetup& es) override; | ||
|
||
// void initializeEvent(); | ||
// run the algorithm to digitize a single det | ||
void accumulateSimHits(const std::vector<PSimHit>::const_iterator inputBegin, | ||
const std::vector<PSimHit>::const_iterator inputEnd, | ||
const size_t inputBeginGlobalIndex, | ||
const uint32_t tofBin, | ||
const Phase2TrackerGeomDetUnit* pixdet, | ||
const GlobalVector& bfield) override; | ||
}; | ||
#endif |
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
23 changes: 23 additions & 0 deletions
23
SimTracker/SiPhase2Digitizer/plugins/PSSDigitizerAlgorithm.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,23 @@ | ||
#ifndef _SimTracker_SiPhase2Digitizer_PSSDigitizerAlgorithm_h | ||
#define _SimTracker_SiPhase2Digitizer_PSSDigitizerAlgorithm_h | ||
|
||
#include "SimTracker/SiPhase2Digitizer/plugins/Phase2TrackerDigitizerAlgorithm.h" | ||
|
||
class PSSDigitizerAlgorithm : public Phase2TrackerDigitizerAlgorithm { | ||
public: | ||
PSSDigitizerAlgorithm(const edm::ParameterSet& conf); | ||
~PSSDigitizerAlgorithm() override; | ||
|
||
// initialization that cannot be done in the constructor | ||
void init(const edm::EventSetup& es) override; | ||
|
||
// void initializeEvent(); | ||
// run the algorithm to digitize a single det | ||
void accumulateSimHits(const std::vector<PSimHit>::const_iterator inputBegin, | ||
const std::vector<PSimHit>::const_iterator inputEnd, | ||
const size_t inputBeginGlobalIndex, | ||
const uint32_t tofBin, | ||
const Phase2TrackerGeomDetUnit* pixdet, | ||
const GlobalVector& bfield) override; | ||
}; | ||
#endif |
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
30 changes: 30 additions & 0 deletions
30
SimTracker/SiPhase2Digitizer/plugins/PixelDigitizerAlgorithm.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,30 @@ | ||
#ifndef _SimTracker_SiPhase2Digitizer_PixelDigitizerAlgorithm_h | ||
#define _SimTracker_SiPhase2Digitizer_PixelDigitizerAlgorithm_h | ||
|
||
#include "SimTracker/SiPhase2Digitizer/plugins/Phase2TrackerDigitizerAlgorithm.h" | ||
|
||
class PixelDigitizerAlgorithm : public Phase2TrackerDigitizerAlgorithm { | ||
public: | ||
PixelDigitizerAlgorithm(const edm::ParameterSet& conf); | ||
~PixelDigitizerAlgorithm() override; | ||
|
||
// initialization that cannot be done in the constructor | ||
void init(const edm::EventSetup& es) override; | ||
|
||
// void initializeEvent(); | ||
// run the algorithm to digitize a single det | ||
void accumulateSimHits(const std::vector<PSimHit>::const_iterator inputBegin, | ||
const std::vector<PSimHit>::const_iterator inputEnd, | ||
const size_t inputBeginGlobalIndex, | ||
const uint32_t tofBin, | ||
const Phase2TrackerGeomDetUnit* pixdet, | ||
const GlobalVector& bfield) override; | ||
void add_cross_talk(const Phase2TrackerGeomDetUnit* pixdet) override; | ||
|
||
// Addition four xtalk-related parameters to PixelDigitizerAlgorithm specific parameters initialized in Phase2TrackerDigitizerAlgorithm | ||
const double odd_row_interchannelCoupling_next_row_; | ||
const double even_row_interchannelCoupling_next_row_; | ||
const double odd_column_interchannelCoupling_next_column_; | ||
const double even_column_interchannelCoupling_next_column_; | ||
}; | ||
#endif |
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
22 changes: 22 additions & 0 deletions
22
SimTracker/SiPhase2Digitizer/plugins/SSDigitizerAlgorithm.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,22 @@ | ||
#ifndef _SimTracker_SiPhase2Digitizer_SSDigitizerAlgorithm_h | ||
#define _SimTracker_SiPhase2Digitizer_SSDigitizerAlgorithm_h | ||
|
||
#include "SimTracker/SiPhase2Digitizer/plugins/Phase2TrackerDigitizerAlgorithm.h" | ||
|
||
class SSDigitizerAlgorithm : public Phase2TrackerDigitizerAlgorithm { | ||
public: | ||
SSDigitizerAlgorithm(const edm::ParameterSet& conf); | ||
~SSDigitizerAlgorithm() override; | ||
|
||
// initialization that cannot be done in the constructor | ||
void init(const edm::EventSetup& es) override; | ||
|
||
// run the algorithm to digitize a single det | ||
void accumulateSimHits(const std::vector<PSimHit>::const_iterator inputBegin, | ||
const std::vector<PSimHit>::const_iterator inputEnd, | ||
const size_t inputBeginGlobalIndex, | ||
const uint32_t tofBin, | ||
const Phase2TrackerGeomDetUnit* pixdet, | ||
const GlobalVector& bfield) override; | ||
}; | ||
#endif |