ATLAS Offline Software
JetMomentMapCnv_p1.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 
9 
11 
12 #include "JetEvent/JetCollection.h"
13 
14 void
17  MsgStream &reporter ) const
18 {
19  reporter << MSG::WARNING << "JetMomentMapConverterBase toPers() Template _p1: deprecated ! This should not be used." << endmsg;
20 
21 }
22 
23 void
25  JetMomentMap* ,
26  MsgStream &reporter ) const
27 {
28  reporter << MSG::WARNING << "JetMomentMapConverterBase toTrans() Template _p1 : unusable yet" << endmsg;
29 
30  // ElementLinkVectorCnv_p1<ElementLinkVector<JetCollection> > m_ELVCnv;
31  // m_ELVCnv.persToTrans(&persObj->m_jetsV, &transObj->m_jets, reporter);
32  // // clear and reserve space
33  // transObj->m_moms.clear();
34  // transObj->m_moms.reserve( transObj->m_jets.size() );
35 
36  // for( unsigned int loop = 0; loop < transObj->m_jets.size(); ++loop )
37  // {
38  // JetMomentStore store;
39  // for ( unsigned int iloop = 0; iloop < persObj->m_mtypV.at(loop).size(); ++iloop )
40  // {
41  // JetMoment mom( (JetMoment::MomentType)persObj->m_mtypV.at(loop).at(iloop),
42  // persObj->m_mvalV.at(loop).at(iloop) );
43  // store.insert( (JetMoment::MomentType)persObj->m_mtypV.at(loop).at(iloop), mom );
44  // reporter << MSG::WARNING << "Jet " << loop << " "
45  // << persObj->m_mtypV.at(loop).at(iloop) << " "
46  // << persObj->m_mvalV.at(loop).at(iloop) << endmsg;
47  // }
48  // transObj->m_moms.push_back(store);
49  // }
50 }
JetMomentMap
Definition: JetMomentMap.h:21
ElementLinkCnv_p1.h
This file contains the class definition for the ElementLinkCnv_p1 class.
DataLinkCnv_p1.h
This file contains the class definition for the DataLinkCnv_p1 class and DataLinkVectorCnv_p1 class.
JetMomentMap_p1
Definition: JetMomentMap_p1.h:14
ElementLinkVectorCnv_p1.h
This file contains the class definition for the ElementLinkVectorCnv_p1 class. NOTE: it should be inc...
JetCollection.h
endmsg
#define endmsg
Definition: AnalysisConfig_Ntuple.cxx:63
JetMomentMapConverterBase< JetMomentMap_p1 >::transToPers
void transToPers(const JetMomentMap *transObj, JetMomentMap_p1 *persObj, MsgStream &reporter) const override
Method creating the persistent representation JetMomentMap_p1 from its transient representation JetMo...
Definition: JetMomentMapCnv_p1.cxx:15
JetMomentMapConverterBase< JetMomentMap_p1 >::persToTrans
void persToTrans(const JetMomentMap_p1 *persObj, JetMomentMap *transObj, MsgStream &reporter) const override
Definition: JetMomentMapCnv_p1.cxx:24
JetMomentMapCnv_p1.h