Message: Unsupported column type std::vector Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Unsupported column type std::vector 

Forum: Analysis
Date: 20 Jan, 2015
From: Michal Dragowski <Michal Dragowski>

I have recently migrated my simulation from geant4 9.6 to geant4 10.1 (multi threaded).

Everything worked fine except the part of code responsible for creating root files (which was not suited for use in multithreaded mode). I had never used G4AnalysisManager before, however I decided to try it out when I heard that it is now possible to add std::vector<G4double> to ntuple.

I used the new function:

G4int CreateNtupleDColumn(const G4String& name, std::vector<G4double>& vector);

Unfortunately each time I add vector to ntuple I get the following exception:

-------- WWWW ------- G4Exception-START -------- WWWW -------
*** G4Exception : Analysis_W002
      issued by : G4RootNtupleManager::CreateNtupleFromBooking()
      Unsupported column type track_xP1
*** This is just a warning message. ***
-------- WWWW -------- G4Exception-END --------- WWWW -------

Interestingly, it seems that everything works fine - even though it shows these warnings - ntuple is filled with correct values.

I will appreciate any suggestions, since I have completely no idea what may cause this issue. An example of how to correctly add vectors to ntuple might also be very helpful.

Kind regards

Michal

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 None: Re: Unsupported column type std::vector   (Ivana Hrivnacova - 21 Jan, 2015)
 Add Message Add Message
to: "Unsupported column type std::vector"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]