Skip to content
Snippets Groups Projects
Commit 5c8c4046 authored by Andrii Verbytskyi's avatar Andrii Verbytskyi Committed by Stefan Richter
Browse files

Remove some commended code that has barcodes

Remove some commended code that has barcodes
parent 3999506d
No related merge requests found
......@@ -41,9 +41,7 @@ public:
typedef std::pair<int,HepMcParticleLink::index_type> ExtBarCode;
ExtBarCode extBarCode() const { return ExtBarCode(barCode(),evtIndex()); }
// //Comparison operators do not consider pdgCodes if one of them is unknown!
// inline bool operator==(const SimBarCode&) const;
// inline bool operator!=(const SimBarCode&) const;
private:
int m_barCode;
......
......@@ -52,27 +52,6 @@ inline bool SimBarCode::isNonUniqueSecondary() const {
return m_barCode<=0;
}
// //____________________________________________________________________
// inline bool SimBarCode::pdgCodesCompatible(const SimBarCode& o) const
// {
// return m_pdgCode == o.m_pdgCode;//fixme
// // return m_pdgCode == o.m_pdgCode || m_pdgCode == unknownPDG || o.m_pdgCode == unknownPDG;
// }
// //____________________________________________________________________
// inline bool SimBarCode::operator==(const SimBarCode& o) const
// {
// if (m_barCode != o.m_barCode || m_evtIndex != o.m_evtIndex)
// return false;
// return pdgCodesCompatible(o);
// }
// //____________________________________________________________________
// inline bool SimBarCode::operator!=(const SimBarCode& o) const
// {
// return !(*this==o);
// }
//____________________________________________________________________
inline bool SimBarCode::operator<(const SimBarCode& o) const
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment