Struct , vector problem

Hi all,

i am using following in my header file

struct HitInfo{
Float_t Mom;
Float_t Pmag;
Float_t Pt;
…};

typedef vector< HitInfo, allocator > TrackInfo;

it shows following error …
Limitation: Can’t instantiate precompiled template vector<HitInfo,allocator > urqmd_AuAu7.h:38:
*** Interpreter error recovered ***
*** Interpreter error recovered ***

Could anyone help me, how to do it ?

Thank you

Hi,

you might be missing the line#include <vector>

Cheers,
Philippe.

Yes, i have missed this line…

Thank you,…