Commit in projects/lcdd/branches/v05-00-00-dev on MAIN | |||
include/lcdd/hits/CalorimeterHit.hh | -15 | 3292 -> 3293 | |
src/lcdd/hits/CalorimeterHit.cc | +2 | -11 | 3292 -> 3293 |
+2 | -26 |
Remove unused endcap flag from CalorimeterHit API.
--- projects/lcdd/branches/v05-00-00-dev/include/lcdd/hits/CalorimeterHit.hh 2014-09-02 18:19:30 UTC (rev 3292) +++ projects/lcdd/branches/v05-00-00-dev/include/lcdd/hits/CalorimeterHit.hh 2014-09-02 20:24:59 UTC (rev 3293) @@ -142,18 +142,6 @@
*/ const Id64bit& getId64bit() const;
- /** - * Set the endcap flag. - * @param[in] ec The endcap flag. - */ - void setEndcapFlag(bool ec = true); - - /** - * Get the endcap flag. - * @return The endcap flag. - */ - bool getEndcapFlag(); -
private: // 64-bit id.
@@ -165,9 +153,6 @@
// Position. G4ThreeVector _pos;
- // Endcap flag. - bool _endcap; -
// List of contributions by MCParticle. HitContributionList _particleList; };
--- projects/lcdd/branches/v05-00-00-dev/src/lcdd/hits/CalorimeterHit.cc 2014-09-02 18:19:30 UTC (rev 3292) +++ projects/lcdd/branches/v05-00-00-dev/src/lcdd/hits/CalorimeterHit.cc 2014-09-02 20:24:59 UTC (rev 3293) @@ -12,11 +12,11 @@
G4Allocator<CalorimeterHit> CalorimeterHitAllocator; CalorimeterHit::CalorimeterHit() :
- G4VHit(), _edep(0), _endcap(false) {
+ G4VHit(), _edep(0) {
} CalorimeterHit::CalorimeterHit(Id64bit id, G4double edep, G4ThreeVector globalCellPos) :
- G4VHit(), _edep(edep), _pos(globalCellPos), _endcap(false), _id(id) {
+ G4VHit(), _edep(edep), _pos(globalCellPos), _id(id) {
} CalorimeterHit::~CalorimeterHit() {
@@ -27,7 +27,6 @@
_edep = right._edep; _pos = right._pos; _id = right._id;
- _endcap = right._endcap;
} const CalorimeterHit& CalorimeterHit::operator=(const CalorimeterHit &right) {
@@ -114,11 +113,3 @@
const Id64bit& CalorimeterHit::getId64bit() const { return _id; }
- -void CalorimeterHit::setEndcapFlag(bool ec) { - _endcap = ec; -} - -bool CalorimeterHit::getEndcapFlag() { - return _endcap; -}
Use REPLY-ALL to reply to list
To unsubscribe from the LCDET-SVN list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=LCDET-SVN&A=1